You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since some packages are MSYS-only which can only get in MSYS environment and UCRT64 environment cannot get the binary package of it (for example, GNU Guile).
The problem appears when using pkg-config:
# in UCRT64
$ pacman -S guile libguile-devel
$ pkg-config guile-3.0 --cflags
Package guile-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `guile-3.0.pc'to the PKG_CONFIG_PATH environment variablePackage 'guile-3.0' not found# in MSYS$ pkg-config guile-3.0 --cflags-I/usr/include/guile/3.0 -I/usr
This is because PKG_CONFIG_PATH are different in MSYS and UCRT64:
# in UCRT64
$ echo$PKG_CONFIG_PATH
/ucrt64/lib/pkgconfig:/ucrt64/share/pkgconfig
# in MSYS
$ echo$PKG_CONFIG_PATH
/usr/lib/pkgconfig:/usr/share/pkgconfig:/lib/pkgconfig
I don't want to give up using UCRT64 (since it means I need to re-install a lot of things under a new environment), so can I just modify UCRT64's PKG_CONFIG_PATH?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since some packages are MSYS-only which can only get in MSYS environment and UCRT64 environment cannot get the binary package of it (for example, GNU Guile).
The problem appears when using
pkg-config
:This is because
PKG_CONFIG_PATH
are different in MSYS and UCRT64:I don't want to give up using UCRT64 (since it means I need to re-install a lot of things under a new environment), so can I just modify UCRT64's
PKG_CONFIG_PATH
?Like this:
Beta Was this translation helpful? Give feedback.
All reactions