Cherry Kearton on Thu, 13 Oct 2005 10:21:45 +0200


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

Re: Installing PARI


I followed your advice and got Yast to instal libncurses-devel, and I installed readline from the web: PARI then installed without a hitch. Thank you for all your help.

Cherry

Bill Allombert wrote:

On Wed, Oct 12, 2005 at 10:17:24AM +0100, Cherry Kearton wrote:
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.

This one is easier: you need to install the ncurses.so symlink
probably in the RPM libncurses-devel, else you cannot
compile with readline support.

Alternatively, you can desactivate readline support by running
./Configure -a
and answering "no" to Do you want to use GNU readline library within GP ?
but readline support is reallyy nice to have

Cheers,
Bill
...Found libreadline in /usr/local/lib
...Found libncurses in /lib
...Found GNU readline header in /usr/local/include/readline
...Library ncurses needed by readline
/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>