[gtk-osx-users] "Python installation not usable" error in Big Sur



Hello,

Trying to run jhbuild build meta-gtk-osx-bootstrap meta-gtk-osx-gtk3 but getting an error during build:

../../../../gtk/source/gobject-introspection-1.64.1/giscanner/meson.build:111:2: ERROR: Problem encountered: Python installation not useable

Logs say:

Compiler for C supports arguments -Wno-unused-parameter: YES (cached) "python-3.8" could not be found in LIBPC (/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/pkgconfig), this is likely due to a relocated python installation Pkg-config binary for MachineChoice.HOST is cached. Determining dependency 'python-3.8' with pkg-config executable '/Users/username/gtk/inst/bin/pkg-config' PKG_CONFIG_PATH: /Users/username/gtk/inst/lib/pkgconfig:/Users/username/gtk/inst/share/pkgconfig:/usr/lib/pkgconfig Called /Users/username/gtk/inst/bin/pkg-config --modversion python-3.8` -> 1

Found "python-3.8" via fallback pkgconfig lookup in PKG_CONFIG_LIBDIR/PKG_CONFIG_PATH Dependency python found: NO

../../../../gtk/source/gobject-introspection-1.64.1/giscanner/meson.build:111:2: ERROR: Problem encountered: Python installation not useable `


Any ideas how I might get it to look at the right place for python, which is definitely installed?

Thanks




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]