Re: [gtk-osx-devel] meta-gtk-osx-bootstrap failed!




On Jun 19, 2014, at 7:03 AM, Easior Lars <easior yeah net> wrote:

hi, all!

I'm newbie in this list.  

You’re not even that, since you didn’t subscribe to the list. You also picked the wrong list, since the 
following is a user question.

Today, I want to bootstrap GTK+ on Mac OS 10.9.  I followed the instructions on the page 
https://wiki.gnome.org/action/show//Projects/GTK+/OSX/Building?action=show&redirect=GTK%2B%2FOSX%2FBuilding.
  That is:

x------------------------x----------------------x-------------------x-----------------------------x
$ curl -O https://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh
$ chmod a+x gtk-osx-build-setup.sh
$ ./gtk-osx-build-setup.sh
$ echo "PATH=~/.local/bin:\$PATH" >> ~/.bashrc
$ source ~/.bashrc
$ jhbuild bootstrap
x------------------------x----------------------x-------------------x-----------------------------x

Those above command lines are successfully excuted. However, 

x------------------------x----------------------x-------------------x-----------------------------x
$ jhbuild build meta-gtk-osx-bootstrap
x------------------------x----------------------x-------------------x-----------------------------x

failed. It reports that

x------------------------x----------------------x-------------------x-----------------------------x
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: 
.libs/libexslt.a(crypto.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: 
.libs/libexslt.a(crypto.o) has no symbols
Making all in xsltproc
  CC     xsltproc.o
  CC     testThreads.o
  CCLD   testThreads
  CCLD   xsltproc
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in python
Making all in .
  CC     libxslt.lo
  CC     libxslt-py.lo
  CCLD   libxsltmod.la
ld: library not found for -lpython2.7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [libxsltmod.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Error during phase build of libxslt: ########## Error running make -j 5 *** [7/10]

  [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"
x------------------------x----------------------x-------------------x-----------------------------x

Anyone knows what happened?


Yes, it told you what happened: It couldn’t find libpython2.7. Since it’s not in the 10.9 SDK your choices 
are to build it first (jhbuild build python) or to switch to the 10.8 SDK.

Regards,
John Ralls



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