Title: When running configure on windows (MYSYS2) cairo is not found · Issue #723 · pcb2gcode/pcb2gcode · GitHub
Open Graph Title: When running configure on windows (MYSYS2) cairo is not found · Issue #723 · pcb2gcode/pcb2gcode
X Title: When running configure on windows (MYSYS2) cairo is not found · Issue #723 · pcb2gcode/pcb2gcode
Description: When running configure on MYSYS2 (running on windows 11) cairo is not found. The Cairo package is installed but not found by configure. $./configure --disable-update-desktop-database ...... configure: error: *** Cairo > 1.2.0 required bu...
Open Graph Description: When running configure on MYSYS2 (running on windows 11) cairo is not found. The Cairo package is installed but not found by configure. $./configure --disable-update-desktop-database ...... configu...
X Description: When running configure on MYSYS2 (running on windows 11) cairo is not found. The Cairo package is installed but not found by configure. $./configure --disable-update-desktop-database ...... configu...
Opengraph URL: https://github.com/pcb2gcode/pcb2gcode/issues/723
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"When running configure on windows (MYSYS2) cairo is not found","articleBody":"When running configure on MYSYS2 (running on windows 11) cairo is not found.\n\nThe Cairo package is installed but not found by configure.\n$./configure --disable-update-desktop-database\n......\nconfigure: error:\n*** Cairo \u003e 1.2.0 required but not found. ***\nPlease review the following errors:\nPackage 'cairo', required by 'virtual:world', not found\n\n$ pacman -Ss cairo\n\nclangarm64/mingw-w64-clang-aarch64-cairo 1.18.4-2\n Cairo vector graphics library (mingw-w64)\nclangarm64/mingw-w64-clang-aarch64-cairomm 1.14.5-2\n C++ bindings to Cairo vector graphics library (mingw-w64)\nclangarm64/mingw-w64-clang-aarch64-cairomm-1.16 1.18.0-2\n C++ bindings to Cairo vector graphics library (V1.16) (mingw-w64)\nclangarm64/mingw-w64-clang-aarch64-goocanvas 3.0.0-4\n Canvas widget for GTK+ that uses the Cairo 2D library (mingw-w64)\nclangarm64/mingw-w64-clang-aarch64-harfbuzz-cairo 11.2.1-1\n OpenType text shaping engine - Cairo integration (mingw-w64)\nclangarm64/mingw-w64-clang-aarch64-live-chart 1.10.0-1\n Live Chart is a real-time charting library for GTK4 and Vala, based on Cairo (mingw-w64)\nclangarm64/mingw-w64-clang-aarch64-live-chart-gtk3 1.9.1-1\n Live Chart is a real-time charting library for GTK3 and Vala, based on Cairo.\nclangarm64/mingw-w64-clang-aarch64-pixman 0.46.2-1\n The pixel-manipulation library for X and cairo (mingw-w64)\nclangarm64/mingw-w64-clang-aarch64-python-cairo 1.28.0-1\n Python bindings for the cairo graphics library (mingw-w64)\nclangarm64/mingw-w64-clang-aarch64-python-rlpycairo 0.2.0-3\n Plugin backend renderer for reportlab.graphics.renderPM (mingw-w64)\nmingw32/mingw-w64-i686-cairo 1.18.4-2\n Cairo vector graphics library (mingw-w64)\nmingw32/mingw-w64-i686-cairomm 1.14.5-2\n C++ bindings to Cairo vector graphics library (mingw-w64)\nmingw32/mingw-w64-i686-cairomm-1.16 1.18.0-2\n C++ bindings to Cairo vector graphics library (V1.16) (mingw-w64)\nmingw32/mingw-w64-i686-pixman 0.46.2-1\n The pixel-manipulation library for X and cairo (mingw-w64)\nmingw32/mingw-w64-i686-python-cairo 1.28.0-1\n Python bindings for the cairo graphics library (mingw-w64)\nmingw64/mingw-w64-x86_64-cairo 1.18.4-2 [installed]\n Cairo vector graphics library (mingw-w64)\nmingw64/mingw-w64-x86_64-cairomm 1.14.5-2 [installed]\n C++ bindings to Cairo vector graphics library (mingw-w64)\nmingw64/mingw-w64-x86_64-cairomm-1.16 1.18.0-2\n C++ bindings to Cairo vector graphics library (V1.16) (mingw-w64)\nmingw64/mingw-w64-x86_64-goocanvas 3.0.0-4\n Canvas widget for GTK+ that uses the Cairo 2D library (mingw-w64)\nmingw64/mingw-w64-x86_64-harfbuzz-cairo 11.2.1-1\n OpenType text shaping engine - Cairo integration (mingw-w64)\nmingw64/mingw-w64-x86_64-live-chart 1.10.0-1\n Live Chart is a real-time charting library for GTK4 and Vala, based on Cairo (mingw-w64)\nmingw64/mingw-w64-x86_64-live-chart-gtk3 1.9.1-1\n Live Chart is a real-time charting library for GTK3 and Vala, based on Cairo.\nmingw64/mingw-w64-x86_64-pixman 0.46.2-1 [installed]\n The pixel-manipulation library for X and cairo (mingw-w64)\nmingw64/mingw-w64-x86_64-python-cairo 1.28.0-1\n Python bindings for the cairo graphics library (mingw-w64)\nmingw64/mingw-w64-x86_64-python-rlpycairo 0.2.0-3\n Plugin backend renderer for reportlab.graphics.renderPM (mingw-w64)\nucrt64/mingw-w64-ucrt-x86_64-cairo 1.18.4-2\n Cairo vector graphics library (mingw-w64)\nucrt64/mingw-w64-ucrt-x86_64-cairomm 1.14.5-2\n C++ bindings to Cairo vector graphics library (mingw-w64)\nucrt64/mingw-w64-ucrt-x86_64-cairomm-1.16 1.18.0-2\n C++ bindings to Cairo vector graphics library (V1.16) (mingw-w64)\nucrt64/mingw-w64-ucrt-x86_64-goocanvas 3.0.0-4\n Canvas widget for GTK+ that uses the Cairo 2D library (mingw-w64)\nucrt64/mingw-w64-ucrt-x86_64-harfbuzz-cairo 11.2.1-1\n OpenType text shaping engine - Cairo integration (mingw-w64)\nucrt64/mingw-w64-ucrt-x86_64-live-chart 1.10.0-1\n Live Chart is a real-time charting library for GTK4 and Vala, based on Cairo (mingw-w64)\nucrt64/mingw-w64-ucrt-x86_64-live-chart-gtk3 1.9.1-1\n Live Chart is a real-time charting library for GTK3 and Vala, based on Cairo.\nucrt64/mingw-w64-ucrt-x86_64-pixman 0.46.2-1\n The pixel-manipulation library for X and cairo (mingw-w64)\nucrt64/mingw-w64-ucrt-x86_64-python-cairo 1.28.0-1\n Python bindings for the cairo graphics library (mingw-w64)\nucrt64/mingw-w64-ucrt-x86_64-python-rlpycairo 0.2.0-3\n Plugin backend renderer for reportlab.graphics.renderPM (mingw-w64)\nclang64/mingw-w64-clang-x86_64-cairo 1.18.4-2\n Cairo vector graphics library (mingw-w64)\nclang64/mingw-w64-clang-x86_64-cairomm 1.14.5-2\n C++ bindings to Cairo vector graphics library (mingw-w64)\nclang64/mingw-w64-clang-x86_64-cairomm-1.16 1.18.0-2\n C++ bindings to Cairo vector graphics library (V1.16) (mingw-w64)\nclang64/mingw-w64-clang-x86_64-goocanvas 3.0.0-4\n Canvas widget for GTK+ that uses the Cairo 2D library (mingw-w64)\nclang64/mingw-w64-clang-x86_64-harfbuzz-cairo 11.2.1-1\n OpenType text shaping engine - Cairo integration (mingw-w64)\nclang64/mingw-w64-clang-x86_64-live-chart 1.10.0-1\n Live Chart is a real-time charting library for GTK4 and Vala, based on Cairo (mingw-w64)\nclang64/mingw-w64-clang-x86_64-live-chart-gtk3 1.9.1-1\n Live Chart is a real-time charting library for GTK3 and Vala, based on Cairo.\nclang64/mingw-w64-clang-x86_64-pixman 0.46.2-1\n The pixel-manipulation library for X and cairo (mingw-w64)\nclang64/mingw-w64-clang-x86_64-python-cairo 1.28.0-1\n Python bindings for the cairo graphics library (mingw-w64)\nclang64/mingw-w64-clang-x86_64-python-rlpycairo 0.2.0-3\n Plugin backend renderer for reportlab.graphics.renderPM (mingw-w64)\n$\n\nNot sure if configure has the correct path to package or if there is a package variable that is not set up properly.\n\n\nAfter trying to edit the configure.ac file I got an error message that told me to look at my environment variables to see if the package libraries were included they were not. So I added the following:\n\n$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/mingw64/lib/pkgconfig\n\nAfter adding that and running autogen.sh then configure I was able to complete.\n\nI suggest putting a note in README-win32.txt about the environment variables or adding a bash shell script to check the environment variables to see that the proper package locations are there. Took a bit to just run configure. \n\nRunning make, well that is a different.. And another post\n\n\n","author":{"url":"https://github.com/scnew","@type":"Person","name":"scnew"},"datePublished":"2025-06-18T21:56:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/723/pcb2gcode/issues/723"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b7a0ad10-2472-bc4a-632a-6f456c8e7061 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD06:3D31D:4813CA:5D23AB:698E831C |
| html-safe-nonce | 0561869e674480a6e126022c43faaa8c4616f09b1a288b7ef57b5de91f916a2a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDA2OjNEMzFEOjQ4MTNDQTo1RDIzQUI6Njk4RTgzMUMiLCJ2aXNpdG9yX2lkIjoiMjA5ODgxODgxNDE1NDAxNTUxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | feebf47536c489792ddb16381b87465bc9e91635a986f7b9990c1a7f57f12182 |
| hovercard-subject-tag | issue:3158276716 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pcb2gcode/pcb2gcode/723/issue_layout |
| twitter:image | https://opengraph.githubassets.com/960da3e8a6b7960aad4947a6d85ae2c5b9ad67d0d695d5fe4b078c3bc2100e07/pcb2gcode/pcb2gcode/issues/723 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/960da3e8a6b7960aad4947a6d85ae2c5b9ad67d0d695d5fe4b078c3bc2100e07/pcb2gcode/pcb2gcode/issues/723 |
| og:image:alt | When running configure on MYSYS2 (running on windows 11) cairo is not found. The Cairo package is installed but not found by configure. $./configure --disable-update-desktop-database ...... configu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | scnew |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/pcb2gcode/pcb2gcode git https://github.com/pcb2gcode/pcb2gcode.git |
| octolytics-dimension-user_id | 11042572 |
| octolytics-dimension-user_login | pcb2gcode |
| octolytics-dimension-repository_id | 30911983 |
| octolytics-dimension-repository_nwo | pcb2gcode/pcb2gcode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 30911983 |
| octolytics-dimension-repository_network_root_nwo | pcb2gcode/pcb2gcode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f7a12861f7011eecb14bcc4388a767d829a52dfc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width