Re: [gtk-osx-users] "Python installation not usable" error in Big Sur
- From: Lee Marrett <lee marrett serato com>
- To: John Ralls <jralls ceridwen us>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] "Python installation not usable" error in Big Sur
- Date: Fri, 15 Jan 2021 10:02:27 +1300
Hey John,
My apologies!
Yes - my reason for building gtk-osx is to be able to build another application which requires gtk:
https://github.com/anko/hudkit which as far as I’m aware doesn’t exist in homebrew etc
Thank you for your help!
Lee
On 15/01/2021, at 9:24 AM, John Ralls <jralls ceridwen us> wrote:
Lee,
Please remember to copy the list on all replies.
As for how to add to your list of modules, it's what you pass to `jhbuild build` or include in the modules
variable in jhbuild-custom.
Please read https://developer.gnome.org/jhbuild/stable/ and http://wiki.gnome.org/Projects/GTK/OSX. Keep in
mind that Gtk-OSX is not intended as a general-purpose package manager like Homebrew or MacPorts: It is
intended for developers/maintainers of Gtk-based applications to package their projects as Mac App bundles.
Regards,
John Ralls
On Jan 14, 2021, at 12:14 PM, Lee Marrett <lee marrett serato com> wrote:
Thanks John,
No worries - I shall try that.
At the risk of sounding ridiculous, I’m not 100% sure on how to add things to my list of modules, any tips
on doing that?
On 14/01/2021, at 5:06 PM, John Ralls <jralls ceridwen us> wrote:
On Jan 12, 2021, at 6:54 PM, Lee Marrett via gtk-osx-users-list <gtk-osx-users-list gnome org> wrote:
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?
I haven't tried building with the Apple-installed Python3 and I'm not able to blow up my build
environment to test it just now. The simplest work-around is to add python3 to your list of modules.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]