I have a macbook pro with osx 10.11.4 El-Capitan
. I use zsh
, which I wonder could be causing problems? I've been tinkering with python for the last year on a wide variety of small projects with no problems, so my environment is pretty stable. I needed gtk
, so...
I started with this
git clone git://git.gnome.org/gtk+
I am following the instructions here to build the gtk+
distribution:
Things seemed to be progressing until I ran this step :
jhbuild build meta-gtk-osx-bootstrap
and get the following error :
checking for python module libxml2... not found configure: error: Python module libxml2 is needed to run this package * Error during phase configure of itstool: ########## Error running ./configure --prefix /Users/Dad/gtk/inst * [7/12]
So I tried :
brew install libxml2
gives me :
OS X already provides this software and installing another version in parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your own software and it requires this formula, you'll need to add to your build variables:
LDFLAGS: -L/usr/local/opt/libxml2/lib
CPPFLAGS: -I/usr/local/opt/libxml2/include
Any ideas on how to proceed ? The problem seems like libxml2 is installed but can't be found by jhbuild - so I expect this to be a relatively common problem, easy to fix, but I'm stuck? I'm not sure where to set these environment variables. I set them from the command line and reran but same result.
Thanks in advance