Re: [gtk-osx-users] install GTK-2 on Mac 10.11 (EL Capitan)



here’s what I did that seemed to make the ‘bootstrap’  work…

I renamed the symlink  ./local/bin/python2 to ‘python’ (since on OX there is no python2 in /usr/bin)

AND 

I changed the top line of ~/.local/jhbuild to:
#!/usr/bin/env python   (removing the ‘2’ from the end of ‘python2’

This seemed to make everything work until I tried:

jhbuild build meta-gtk-osx-bootstrap

This script ends with a fatal choice:

Making all in .
  CC       libxml.lo
  CC       libxml2-py.lo
  CC       types.lo
In file included from types.c:9:
./libxml_wrap.h:1:10: fatal error: 'Python.h' file not found
#include <Python.h>
         ^
libxml.c:14:10: fatal error: 'Python.h' file not found
#include <Python.h>
         ^
libxml2-py.c:3:10: fatal error: 'Python.h' file not found
#include <Python.h>
         ^
1 error generated.
make[4]: *** [types.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
1 error generated.
make[4]: *** [libxml.lo] Error 1
1 error generated.
make[4]: *** [libxml2-py.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Error during phase build of libxml2: ########## Error running make -j 5  *** [6/12]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
choice: 

I choose 9 if you care…

Any advice at all?



On Apr 15, 2016, at 2:22 AM, Steve Cronin <steve d cronin gmail com> wrote:

I follow the instruction and get hammered by:

Steves-iMac:zbar-0.10 steve$  ~/.local/bin/jhbuild bootstrap
python2: realpath couldn't resolve "/usr/bin/python2"


Steves-iMac:zbar-0.10 steve$ which jhbuild
/Users/steve/.local/bin/jhbuild


Steves-iMac:zbar-0.10 steve$ which python
/usr/bin/python
Steves-iMac:zbar-0.10 steve$ python -V
Python 2.7.10


How do I best fix this?



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