christine noot-huyghe on Wed, 14 Nov 2001 15:08:10 +0100 (CET)


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

Errors in compilation of pari-2.1.1 on Linux mandrake 8.1


I want to install pari-2.1.1 on Linux mandrake 8.1 (gcc version:
gcc-2.96-0.62mdk).
I tried the RPM but got this error message:
error: failed dependencies:
libreadline.so.4 is needed by pari-2.1.1-1
This is strange because libreadline.so.4 is installed on my system, under
/lib.
I also get some errors with readline, during the compilation:

make[1]: Entre dans le répertoire
`/usr/src/RPM/SOURCES/pari-2.1.1/Olinux-i686'
/usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit       -malign-loops=2
-malign-jumps=2 -malign-functions=2 -fomit-frame-pointer   -I.
-I../src/headers -I../src/language -I/usr/include -o gp_rl.o
../src/gp/gp_rl.c
../src/gp/gp_rl.c: In function `get_matches':
../src/gp/gp_rl.c:297: `completion_matches' undeclared (first use in this
function)
../src/gp/gp_rl.c:297: (Each undeclared identifier is reported only once
../src/gp/gp_rl.c:297: for each function it appears in.)
../src/gp/gp_rl.c:291: warning: `matches' might be used uninitialized in
this function
../src/gp/gp_rl.c: In function `pari_completion':
../src/gp/gp_rl.c:465: `filename_completion_function' undeclared (first
use in this function)
../src/gp/gp_rl.c:466: `username_completion_function' undeclared (first
use in this function)
../src/gp/gp_rl.c: In function `init_readline':
../src/gp/gp_rl.c:593: warning: assignment from incompatible pointer type
make[1]: *** [gp_rl.o] Erreur 1
make[1]: Quitte le répertoire
`/usr/src/RPM/SOURCES/pari-2.1.1/Olinux-i686'
make: *** [gp] Erreur 2

Thanks for help.
-- 
*****************************************************************
* Christine Noot-Huyghe                                         *
* UFR de mathématiques                                          *
* Université de Rennes1    mél: huyghe@univ-rennes1.fr          *
* 35042 RENNES Cedex       http://maths.univ-rennes1.fr/~huyghe *
* FRANCE                                                        *
*****************************************************************