bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] build broken on Darwin OS X 10.5.3 intel


From: Glenn
Subject: [Bug-readline] build broken on Darwin OS X 10.5.3 intel
Date: Thu, 3 Jul 2008 02:46:33 -0700 (PDT)

readline-5.2 link phase dies as shown below.  I was able to finish
the build by hand by inserting -dynamclib as an option for
linking both libhistory and libreadline.  I wonder if apple
renamed the -dynamic option to -dynamiclib??

% make
test -d shlib || mkdir shlib
( cd shlib ; make  all )
rm -f libhistory.5.2.dylib
gcc -dynamic -arch_only `/usr/bin/arch` -install_name 
/usr/local/lib/libhistory.5.2.dylib -current_version 5.2 -compatibility_version 
5 -v -o libhistory.5.2.dylib history.so histexpand.so histfile.so histsearch.so 
shell.so mbutil.so xmalloc.so -lncurses
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5484~1/src/configure --disable-checking 
-enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ 
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib 
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic 
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5484)
i686-apple-darwin9-gcc-4.0.1: -compatibility_version only allowed with 
-dynamiclib
make[1]: *** [libhistory.5.2.dylib] Error 1
make: [shared] Error 2 (ignored)



      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]