Cherry Kearton on Wed, 12 Oct 2005 11:33:00 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Installing PARI |
Bill Allombert wrote:
Thank you for the fix: I tried it, with the output in the attached file. "make gp" certainly got a lot further, but still failed.On Tue, Oct 11, 2005 at 11:31:33AM +0100, Cherry Kearton wrote:Many thanks to Bill and Philippe, but I am not familiar with C or with compiling. What do I need to do to install PARI on my machine? I have downloaded gcc-3.3.6, but I don't want to install it if it isn't necessary or if it is not sufficient.I have made a test release with the fix: Download it here:<http://pari.math.u-bordeaux.fr/~bill/pari-2.1.7.bill.1.tgz> and tell us if it compile now. Cheers, Bill.
All the best, Cherry
cherry@linux:~/pari-2.1.7> ./Configure Configuring pari-2.1.7 (STABLE) Checking echo to see how to suppress newlines... ...using -n. Looking for some tools first ... ...ld is /usr/bin/ld ...zcat is /usr/bin/zcat ...gzip is /usr/bin/gzip ...ranlib is /usr/bin/ranlib ...perl is /usr/bin/perl ...emacs is /usr/bin/emacs Building for architecture: i686 running linux (ix86 kernel) Checking for optional libraries and headers... ...Found libreadline in /usr/local/lib ...Found libncurses in /lib ...Found GNU readline header in /usr/local/include/readline ...Library ncurses needed by readline Looking for the compilers ... ...cc is /usr/bin/cc ...gcc is /usr/bin/gcc GNU compiler version 3.3.5 20050117 (prerelease) (SUSE Linux) C compiler is /usr/bin/gcc -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer Looking for an assembler ... ...as is /usr/bin/as ...Hum, this looks like GNU as Assembler is /usr/bin/as C PreProcessor is /usr/bin/gcc -E -I. Executable linker is /usr/bin/gcc -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -Xlinker -export-dynamic ...Hum, this looks like GNU ld Dynamic Lib linker is /usr/bin/ld -shared -soname $(LIBPARI_SONAME) -lc -lm Given the previous choices, sizeof(long) is 4 chars. The internal word representation of a double is l[1], l[0]. ========================================================================== Checking some common types... ...Found ulong. Looking in C lib for some symbols... ...I did not find exp2. ...Found strftime. ...Found getrusage. ...Found sigrelse. ...I did not find TIOCGWINSZ. ...Found getrlimit. ...Found opendir. ...I did not find vsnprintf. ...I did not find dlopen. Try again, with -ldl this time... ...Found dlopen. Installation prefix ? [/usr/local] ...for architecture-independant files (share-prefix) ? [] ..."gp" executable ? [/usr/local/bin] ..."pari" library ? [/usr/local/lib] ...include files ? [/usr/local/include/pari] ...manual pages ? [/usr/local/man/man1] ...documentation, examples, and emacs macros ? [/usr/local/lib/pari] ...miscellaneous data (galois resolvents) ? [/usr/local/lib/pari/galdata] Default is dynamic executable and shared library, graphic=none ========================================================================== Extracting examples/Makefile.linux-i686 Extracting Olinux-i686/Makefile Extracting Olinux-i686/../Odos/paricfg.h Extracting Olinux-i686/paricfg.h Extracting Makefile Extracting scripts and macros ...in doc ...in emacs ...in misc ========================================================================== Shall we try to build pari 2.1.7 (bill.1) now (y/n)? [n] Ok. Type "make install" when you are ready Bye ! cherry@linux:~/pari-2.1.7> make gp cd Olinux-i686; make gp make[1]: Entering directory `/home/cherry/pari-2.1.7/Olinux-i686' cat ../src/kernel/ix86/level0.h ../src/kernel/none/level1.h > pariinl.h /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -I../src/language -I/usr/local/include -o gp.o ../src/gp/gp.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -I../src/graph -o gp_init.o ../src/gp/gp_init.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -I../src/language -I/usr/local/include -o gp_rl.o ../src/gp/gp_rl.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o highlvl.o ../src/gp/highlvl.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o whatnow.o ../src/gp/whatnow.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o plot.o ../src/graph/plotnull.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -I../src/graph -o plotport.o ../src/graph/plotport.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o mp.o ../src/kernel/none/mp.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o alglin1.o ../src/basemath/alglin1.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o alglin2.o ../src/basemath/alglin2.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o arith1.o ../src/basemath/arith1.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o arith2.o ../src/basemath/arith2.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o base1.o ../src/basemath/base1.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o base2.o ../src/basemath/base2.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o base3.o ../src/basemath/base3.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o base4.o ../src/basemath/base4.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o base5.o ../src/basemath/base5.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o bibli1.o ../src/basemath/bibli1.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o bibli2.o ../src/basemath/bibli2.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o buch1.o ../src/basemath/buch1.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o buch2.o ../src/basemath/buch2.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o buch3.o ../src/basemath/buch3.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o buch4.o ../src/basemath/buch4.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o galconj.o ../src/basemath/galconj.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o gen1.o ../src/basemath/gen1.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o gen2.o ../src/basemath/gen2.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o gen3.o ../src/basemath/gen3.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o ifactor1.o ../src/basemath/ifactor1.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o polarit1.o ../src/basemath/polarit1.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o polarit2.o ../src/basemath/polarit2.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o polarit3.o ../src/basemath/polarit3.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o rootpol.o ../src/basemath/rootpol.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o subgroup.o ../src/basemath/subgroup.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o trans1.o ../src/basemath/trans1.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o trans2.o ../src/basemath/trans2.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o trans3.o ../src/basemath/trans3.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o elliptic.o ../src/modules/elliptic.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o galois.o ../src/modules/galois.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o kummer.o ../src/modules/kummer.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o mpqs.o ../src/modules/mpqs.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o nffactor.o ../src/modules/nffactor.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o stark.o ../src/modules/stark.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o subfield.o ../src/modules/subfield.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o thue.o ../src/modules/thue.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o anal.o ../src/language/anal.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o compat.o ../src/language/compat.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o errmsg.o ../src/language/errmsg.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o es.o ../src/language/es.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o helpmsg.o ../src/language/helpmsg.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o init.o ../src/language/init.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o sumiter.o ../src/language/sumiter.c /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o mpinl.o ../src/kernel/none/level1.c rm -f libpari.so.2.1.7 /usr/bin/ld -o libpari.so.2.1.7 -shared -soname libpari.so.1 -lc -lm 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 polarit1.o polarit2.o polarit3.o rootpol.o subgroup.o trans1.o trans2.o trans3.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 libpari.so.1 rm -f libpari.so ln -s libpari.so.2.1.7 libpari.so.1 ln -s libpari.so.2.1.7 libpari.so rm -f gp-dyn /usr/bin/gcc -o gp-dyn -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -Xlinker -export-dynamic gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plot.o plotport.o -Xlinker -rpath -Xlinker /home/cherry/pari-2.1.7/Olinux-i686:/usr/local/lib: -L/home/cherry/pari-2.1.7/Olinux-i686 -L/usr/local/lib -lreadline -lncurses -L/usr/local/lib -lpari -ldl -lm /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status make[1]: *** [gp-dyn] Error 1 make[1]: Leaving directory `/home/cherry/pari-2.1.7/Olinux-i686' make: *** [gp] Error 2 cherry@linux:~/pari-2.1.7> make bench cd Olinux-i686; make bench make[1]: Entering directory `/home/cherry/pari-2.1.7/Olinux-i686' rm -f gp-sta /usr/bin/gcc -o gp-sta -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -Xlinker -export-dynamic 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 polarit1.o polarit2.o polarit3.o rootpol.o subgroup.o trans1.o trans2.o trans3.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 gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plot.o plotport.o -Xlinker -rpath -Xlinker /home/cherry/pari-2.1.7/Olinux-i686:/usr/local/lib: -L/usr/local/lib -lreadline -lncurses -ldl -lm /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status make[1]: *** [gp-sta] Error 1 make[1]: Leaving directory `/home/cherry/pari-2.1.7/Olinux-i686' make: *** [bench] Error 2 cherry@linux:~/pari-2.1.7>