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




On Aug 20, 2014, at 11:39 AM, Pascal <p p14 orange fr> wrote:

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

Thanks for pointing that out. I hadn't noticed it. The fix is to update readline to 6.3, which I've just 
pushed.

BTW, trying to set -macos-version-min to anything other than the SDK you're building against is futile. That 
only works with Apple's frameworks; when the linker tries to link any of the regular libraries from /usr/lib 
it will barf because the stub version you built with is newer than the version provided by the older OS.

Regards,
John Ralls



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