Bill Allombert on Tue, 3 Dec 2002 20:25:35 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: --host in Configure |
On Tue, Dec 03, 2002 at 10:28:43AM -0800, Justin C. Walker wrote: > Here are the last lines of the build transcript: > > > /usr/bin/gcc -o libpari-2.2.2.dylib -dynamiclib -install_name > > /usr/local/lib/libpari-2.2.2.dylib -compatibility_version 2.2 > > -current_version 2.2.5 kernel.o mp.o alglin1.o alglin2.o arith1.o > > arith2.o base1.o base2.o base3.o base4.o base5.o bibli1.o bibli2.o > > buch1.o buch2.o buch3.o buch4.o galconj.o gen1.o gen2.o gen3.o > > ifactor1.o perm.o polarit1.o polarit2.o polarit3.o rootpol.o subcyclo.o > > subgroup.o trans1.o trans2.o trans3.o aprcl.o elliptic.o galois.o > > kummer.o mpqs.o nffactor.o stark.o subfield.o thue.o anal.o compat.o > > errmsg.o es.o helpmsg.o init.o sumiter.o mpinl.o > > rm -f gp-dyn > > /usr/bin/gcc -o gp-dyn -O3 -DGCC_INLINE -Wall -Wno-implicit > > -fomit-frame-pointer -no-cpp-precomp -fno-common gp.o gp_init.o > > gp_rl.o highlvl.o whatnow.o plotport.o plotgnuplot.o plotX.o > > -L/SandBox/sb/Pari/pari/Odarwin-ppc -L/usr/local/lib -lreadline > > -L/usr/lib -lncurses -L/usr/local/lib -lpari-2.2 -L/usr/X11R6/lib -lX11 > > ld: archive: /usr/local/lib/libpari-2.2.a has no table of contents, add > > one with ranlib(1) (can't load from it) > > make[1]: *** [gp-dyn] Error 1 It look like PARI lack ranlib support. This is irrelevant for this problem but strange: the following extract of config/Makefile.SH is interesting: if test -n "$ranlib"; then cat >> $file << EOT EOT fi > The library seems to have built successfully (I have libpari-2.2.2.dylib > in the buidl directory, but for some reason, the following line, > building gp_dyn, is trying to use the non-dynamic library that is in > /usr/local/lib. It insists on using it. > > I've copied the dylib by hand to /usr/local/lib, and removed the > -L/usr/local/lib's, and the ersult is as above. Well, this does not surprise me. I do not have full information about the -install_name option, but I expected a similar problem. I am not quite sure what should be done here. At least for testing, could you try cd Odarwin-ppc; make install-lib; make gp-dyn Also if you can find -install_name documentation (probably in gcc manpage or info files) this will help us a lot. Cheers, Bill