Re: [gtk-osx-users] Installation root path.



Thanks John for the tip, it’s ok with bootstrap first then python.

As I built all from scratch, I’ve pick 2 errors:

*** Building readline *** [2/3]
…
rm -f libreadline.6.2.dylib
rm -f libhistory.6.2.dylib
/Applications/Xcode.app/Contents/Developer/usr/bin/gcc -dynamic -L/usr/local/xnadalib-2014/lib 
-L/usr/local/xnadalib-2014/lib -arch x86_64 
-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib 
-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk 
-mmacosx-version-min=10.7 -Wl,-no_pie -Wl,-headerpad_max_install_names -arch_only `/usr/bin/arch` 
-install_name /usr/local/xnadalib-2014/lib/libreadline.6.2.dylib -current_version 6.2 -compatibility_version 
6 -v -o libreadline.6.2.dylib readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so 
complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so 
terminal.so text.so nls.so misc.so xmalloc.so xfree.so history.so histexpand.so histfile.so histsearch.so 
shell.so mbutil.so tilde.so compat.so -lncurses
/Applications/Xcode.app/Contents/Developer/usr/bin/gcc -dynamic -L/usr/local/xnadalib-2014/lib 
-L/usr/local/xnadalib-2014/lib -arch x86_64 
-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib 
-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk 
-mmacosx-version-min=10.7 -Wl,-no_pie -Wl,-headerpad_max_install_names -arch_only `/usr/bin/arch` 
-install_name /usr/local/xnadalib-2014/lib/libhistory.6.2.dylib -current_version 6.2 -compatibility_version 6 
-v -o libhistory.6.2.dylib history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so 
xfree.so -lncurses
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
clangclang: : errorerror: : invalid argument '-compatibility_version 6' only allowed with 
'-dynamiclib'invalid argument '-compatibility_version 6' only allowed with '-dynamiclib'

make[1]: *** [libhistory.6.2.dylib] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [libreadline.6.2.dylib] Error 1
make: [shared] Error 2 (ignored)

Thus only static lib is present.

Also many I’ve got "sed: RE error: illegal byte sequence”, on StackOverflow it is related to LANG=C and 
LC_CTYPE=C, I had to do LC_ALL=C.
http://stackoverflow.com/questions/19242275/re-error-illegal-byte-sequence-on-mac-os-x

HTH, Pascal.
http://blady.pagesperso-orange.fr


Le 19 août 2014 à 05:48, John Ralls <jralls ceridwen us> a écrit :


On Aug 18, 2014, at 1:10 PM, Pascal <p p14 orange fr> wrote:


Le 17 août 2014 à 22:11, Pascal <p p14 orange fr> a écrit :

Thanks John, I did the following changes with success:

$ diff -u .jhbuildrc-custom.0 .jhbuildrc-custom
--- .jhbuildrc-custom.0     2014-08-17 09:56:39.000000000 +0200
+++ .jhbuildrc-custom       2014-08-17 10:27:00.000000000 +0200
...
@@ -54,7 +58,7 @@
# and using python as part of jhbuild. If not set, the script will use
# the system python when building on 10.5 or newer only.
#
-# _gtk_osx_use_jhbuild_python = True
+_gtk_osx_use_jhbuild_python = True


# In addition, you can override _exec_prefix (used to set $M4 and
...
BTW, the "_gtk_osx_use_jhbuild_python = True” won’t have built Python automatically, I had to do ”jhbuild 
build python”.

Regards, Pascal.
http://blady.pagesperso-orange.fr

In fact Python was not built because of these error:
jhbuild build: failed to unpack /usr/local/src-gtk-osx/pkgs/Python-2.7.6.tar.xz

The dependance with xz is not resolved.
How to force xz to be built before Python?

Xz is part of bootstrap, along with a bunch of other things that are needed to build stuff, like autotools 
and gettext-tools. You must run `jhbuild bootstrap` on a prefix before you can build anything in it. 

Regards,
John Ralls



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