Cherry Kearton on Mon, 10 Oct 2005 10:17:16 +0200


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

Installing PARI


Dear All,
I am trying to install PARI on my Dell Dimension desktop (Intel Pentium 4), running SuSE Linux 9.3. The output from ./Configure and from "make gp" and "make bench" are shown in the attached file. ./Configure cannot find some things and the two "make" commands produce errors.

              Please can anyone help?

              Sincerely,

              Cherry Kearton
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 (released) 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  -E -I. ../src/kernel/ix86/l0asm.c | sed -e '/^#/d' -e '/^ *#line/d' -e 's/%  */%/g' > level0.s
/usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer   -I. -I../src/headers -o kernel.o level0.s
/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
/tmp/ccD0jpMf.s: Assembler messages:
/tmp/ccD0jpMf.s:17314: Error: suffix or operands invalid for `div'
make[1]: *** [mp.o] 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'
/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
/tmp/ccRE9vHb.s: Assembler messages:
/tmp/ccRE9vHb.s:17314: Error: suffix or operands invalid for `div'
make[1]: *** [mp.o] Error 1
make[1]: Leaving directory `/home/cherry/pari-2.1.7/Olinux-i686'
make: *** [bench] Error 2