Justin C. Walker on Tue, 3 Dec 2002 10:28:43 -0800

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

Re: --host in Configure

On Tuesday, December 3, 2002, at 05:14 AM, Bill Allombert wrote:

On Mon, Dec 02, 2002 at 03:28:14PM -0800, Justin C. Walker wrote:
Thanks! it looks like only overflow and hiremainder causes troubles.

Here a patch (to use with 'patch -p0' in the pari directory).

That helped a lot!

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

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.



/~\ The ASCII           Justin C. Walker, Curmudgeon-at-Large
\ / Ribbon Campaign
 X  Help cure HTML Email
/ \