Re: [gtk-osx-users] GTK+ macOS: fontconfig
- From: John Ralls <jralls ceridwen us>
- To: Jeffrey Sheen <jeffrey sheen00 alumni imperial ac uk>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] GTK+ macOS: fontconfig
- Date: Fri, 5 Oct 2018 10:39:02 -0700
Didn’t follow my own request. Sigh.
Please remember to copy the list on all replies.
No, your first run of pip install six installed it for the system python. Then you built python inside $PREFIX and that’s the python that gtkdoc-rebase used, so it didn’t see first installation of six.
I just updated the pango module (along with a bunch of others) in modulesets-stable/gtk-osx.modules last weekend. Have you pulled that?
Regards, John Ralls
I've executed the following out of `~/': jhbuild shell sudo -H python -m ensurepip sudo -H pip install six exit jhbuild bootstrap
jhbuild build python meta-gtk-osx-bootstrap meta-gtk-osx-freetype pango
I still got the `ImportError: No module named six' error when building harfbuzz.
STDOUT:
make DESTDIR=/Users/gtk-build/gtk/inst/_jhbuild/root-harfbuzz install [1m*** Error during phase install of harfbuzz: ########## Error running make DESTDIR=/Users/gtk-build/gtk/inst/_jhbuild/root-harfbuzz install *** [22/29] (B [m ]0;jhbuild:Error during phase install of harfbuzz: ########## Error running make DESTDIR=/Users/gtk-build/gtk/inst/_jhbuild/root-harfbuzz install [22/29]
STDERR:
Traceback (most recent call last): File "/Users/gtk-build/gtk/inst/bin/gtkdoc-rebase", line 28, in <module> from gtkdoc import common, config, rebase File "/Users/gtk-build/gtk/inst/share/gtk-doc/python/gtkdoc/common.py", line 31, in <module> import six ImportError: No module named six make[2]: *** [install-data-local] Error 1 make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1
However, at this interim stage, I broke out of the execution and reentered the above `jhbuild shell' commands. Subsequently, `jhbuild build python meta-gtk-osx-bootstrap meta-gtk-osx-freetype pango', completed successfully. There must have been some logic in `jhbuild bootstrap' that was rolling back the installation of the `six' python module. I then encountered a build error when configuring `pango':
docs/Makefile.am:50: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') examples/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') examples/Makefile.am: installing './depcomp' pango/Makefile.am:417: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL pango/Makefile.am:493: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL pango/Makefile.am:16: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tools/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') utils/Makefile.am:30: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') win32/Makefile.am:1: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL win32/Makefile-newvs.am:23: warning: MSVC_TOOLSET was already defined in condition TRUE, which includes condition MSVC_NO_TOOLSET_SET ... win32/vs15/Makefile.am:30: 'win32/Makefile-newvs.am' included from here win32/vs15/Makefile.am:28: ... 'MSVC_TOOLSET' previously defined here autoreconf: automake failed with exit status: 1 *** Error during phase configure of pango: ########## Error running autoreconf -fi ***
Neither. Pipenv provides that particular bit of magic.
Pyenv gets us Python3, in which we must run jhbuild in order to use meson. Pip makes it simple to add python-based tooling like six and meson. Pipenv pulls the two together, greatly simplifying the configuration: If your project needs something else from Pypi you can just add it to your Pipfile and Pipenv will take care of installing it for you at startup.
Regards, John Ralls
Great, thanks John.
I'll configure it manually through the shell for now.
I had a look at `new-setup.sh'; very succinct and elegant. Is it an aspect of pip or pyenv that provides the voodoo to automatically install missing python modules?
|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]