PARI/GP Bug report logs - #173
INSTALLATION fedora 3

Package: pari-stable; Maintainer for pari-stable is Aurel Page <aurel.page@normalesup.org>; Source for pari-stable is src:pari-stable.

Reported by: Jacqueline Keller <keller@ihes.fr>

Date: Sun, 13 Feb 2005 22:48:09 UTC

Severity: normal

Done: Bill Allombert <allomber@math.u-bordeaux.fr>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list@pari.math.u-bordeaux.fr, Karim.Belabas@math.u-psud.fr:
Bug#173; Package pari. (full text, mbox, link).


Acknowledgement sent to Jacqueline Keller <keller@ihes.fr>:
New Bug report received and forwarded. Copy sent to Karim.Belabas@math.u-psud.fr. (full text, mbox, link).


Message #5 received at submit@pari.math.u-bordeaux.fr (full text, mbox, reply):

From: Jacqueline Keller <keller@ihes.fr>
To: submit@pari.math.u-bordeaux.fr
Subject: INSTALLATION fedora 3
Date: Mon, 07 Feb 2005 15:04:35 +0100
Package: pari
Version 2.1.6


Transcript:


[root@maxim ~]# gp
  ***   bug in GP (Segmentation Fault), please report
  ***   Error in the PARI system. End of program.


root@maxim progs]# rpm -aq | grep gcc
libgcc-3.4.2-6.fc3
gcc-c++-3.4.2-6.fc3
gcc-3.4.2-6.fc3
gcc-java-3.4.2-6.fc3



Linux maxim.IHES.fr 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 
i686 i686 i386 GNU/Linux


Configure :[root@maxim pari-2.1.6]# ./Configure
Configuring pari-2.1.6 (STABLE)
Checking echo to see how to suppress newlines...
...using -n.
Looking for some tools first ...
...ld is /usr/bin/ld
...zcat is /bin/zcat
...gzip is /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/lib
...Found libncurses in /usr/lib
...Found GNU readline header in /usr/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.4.2 20041017 (Red Hat 3.4.2-6.fc3)
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...
...Found 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.6 (released) now (y/n)? [n]
Ok. Type "make install" when you are ready
Bye !

[root@maxim pari-2.1.6]# make install
cd Olinux-i686; make install
make[1]: Entering directory `/usr/local/progs/pari-2.1.6/Olinux-i686'
mkdir -p /usr/local/lib
rm -f /usr/local/lib/libpari.so.2.1.6
../config/install libpari.so.2.1.6 /usr/local/lib/libpari.so.2.1.6
rm -f /usr/local/lib/libpari.so.1
rm -f /usr/local/lib/libpari.so
ln -s libpari.so.2.1.6 /usr/local/lib/libpari.so.1
ln -s libpari.so.2.1.6 /usr/local/lib/libpari.so
mkdir -p /usr/local/include/pari
../config/install -m 644 paricfg.h                 /usr/local/include/pari
for i in pariinl; do \
   ../config/install -m 644 $i.h 
/usr/local/include/pari; done
for i in pari paritype paricast paricom parierr parigen paristio parisys 
pariport paridecl; do \
   ../config/install -m 644 ../src/headers/$i.h 
/usr/local/include/pari; done
rm -f /usr/local/include/pari/genpari.h
ln -s pari.h /usr/local/include/pari/genpari.h
/usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit 
-fomit-frame-pointer   -I. -I../src/headers -I../src/language 
-I/usr/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/language 
-I/usr/include -o gp_rl.o ../src/gp/gp_rl.c
../src/gp/gp_rl.c: In function `change_state':
../src/gp/gp_rl.c:106: warning: format argument is not a pointer (arg 2)
../src/gp/gp_rl.c:106: warning: format argument is not a pointer (arg 3)
../src/gp/gp_rl.c: In function `get_matches':
../src/gp/gp_rl.c:307: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:307: note: if this code is reached, the program will abort
../src/gp/gp_rl.c: In function `rl_short_help':
../src/gp/gp_rl.c:586: warning: zero-length printf format string
../src/gp/gp_rl.c: In function `init_readline':
../src/gp/gp_rl.c:633: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:633: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:634: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:634: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:635: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:635: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:636: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:636: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:637: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:637: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:638: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:638: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:640: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:640: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:641: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:641: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:642: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:642: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:643: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:643: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:644: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:644: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:645: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:645: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:646: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:646: note: if this code is reached, the program will abort
../src/gp/gp_rl.c:647: warning: function called through a non-compatible 
type
../src/gp/gp_rl.c:647: note: if this code is reached, the program will abort
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 
/usr/local/progs/pari-2.1.6/Olinux-i686:/usr/local/lib: 
-L/usr/local/progs/pari-2.1.6/Olinux-i686 -L/usr/lib -lreadline 
-lncurses -L/usr/local/lib -lpari  -ldl -lm
mkdir -p /usr/local/bin
rm -f /usr/local/bin/gp-2.1 /usr/local/bin/gp
/usr/bin/gcc -o /usr/local/bin/gp-2.1 -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  /usr/local/lib: -L/usr/local/progs/pari-2.1.6/Olinux-i686 
-L/usr/lib -lreadline -lncurses -L/usr/local/lib -lpari  -ldl -lm
strip  /usr/local/bin/gp-2.1
ln -s gp-2.1 /usr/local/bin/gp
mkdir -p /usr/local/man/man1
../config/install -m 644 ../doc/gphelp.1 /usr/local/man/man1
../config/install -m 644 ../doc/gp.1 /usr/local/man/man1
rm -f /usr/local/man/man1/pari.1
ln -s gp.1 /usr/local/man/man1/pari.1
Byte-Compiling pari.el...
cd ../emacs; /usr/bin/emacs -batch -l compile
Loading 
/usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el 
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/python-mode-init.el 
(source)...
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el 
(source)...
While compiling toplevel forms in file 
/usr/local/progs/pari-2.1.6/emacs/pari.el:
  ** Third arg to defvar gp-readline-enabledp is not a string: 
(substring *t if readline is enabled. Emacs will try to set it properly
whenever a gp-session is started. 1)
  ** Third arg to defvar pari-colors is not a string: (substring *Where 
the choice of colors is stored 1)
  ** Third arg to defvar gp-additional-cpl-file is not a string: 
(substring *A name (string) of a completion file used in supplement for 
completion.
This file should have the format of 'gp-menu files. 1)
  ** Third arg to defvar gp-tutorial-requiredp is not a string: 
(substring *T if comments should be given for some functions. 1)
  ** Third arg to defvar gp-no-menu-bar is not a string: (substring *A 
non nil value means that we do not want any menu-bar 1)
  ** Third arg to defvar gp-no-color-item is not a string: (substring 
*T means remove the menu-bar item [GP/Colors] 1)
  ** Third arg to defvar gp-no-hilit is not a string: (substring *If 
this variable is non-nil don't highlight GP scripts and *PARI* buffer.
Note however that any change of value will become effective only during
next session. 1)
  ** Third arg to defvar gp-no-separate-window-for-mistakes is not a 
string: (substring *T means errors under the gp calculator will not be
displayed on a separate window. 1)
  ** Third arg to defvar gp-stack-size is not a string: (substring 
*Default stack size passed to gp. 1)
  ** Third arg to defvar gp-prime-limit is not a string: (substring 
*Default prime limit passed to gp. 1)
  ** Third arg to defvar gp-prompt-for-args is not a string: (substring 
*A non-nil value makes M-x gp act like C-u M-x gp,
ie prompt for the command line arguments. 1)
  ** Third arg to defvar gp-keep-PARI-buffer-when-quitting is not a 
string: (substring *T means what it says... 1)
  ** Third arg to defvar gp-locked-modep is not a string: (substring *t 
means you cannot write above the last prompt.
If you try to modify an earlier input, emacs will automatically copy
it at the bottom of your file. 1)
Loading hilit19...
Loading easymenu...
  ** Third arg to defvar gp-language is not a string: (substring *Any 
of 'francais 'english 'deutsch. 1)
Wrote /usr/local/progs/pari-2.1.6/emacs/pari.elc
mkdir -p /usr/local/lib/pari/emacs
../config/install -m 644   ../emacs/pari.elc 
/usr/local/lib/pari/emacs
../config/install -m 644    ../emacs/pari.el 
/usr/local/lib/pari/emacs
../config/install -m 644    ../emacs/pariemacs.txt 
/usr/local/lib/pari/emacs
../config/install -m 644    ../emacs/with-syntax.el 
/usr/local/lib/pari/emacs
../config/install -m 644    ../emacs/pari-translator.el 
/usr/local/lib/pari/emacs
mkdir -p /usr/local/lib/pari
../config/install -m 644 /usr/local/progs/pari-2.1.6/AUTHORS 
/usr/local/lib/pari
../config/install -m 644 /usr/local/progs/pari-2.1.6/Announce.2.1 
/usr/local/lib/pari
../config/install -m 644 /usr/local/progs/pari-2.1.6/CHANGES 
/usr/local/lib/pari
../config/install -m 644 /usr/local/progs/pari-2.1.6/COMPAT 
/usr/local/lib/pari
../config/install -m 644 /usr/local/progs/pari-2.1.6/COPYING 
/usr/local/lib/pari
../config/install -m 644 /usr/local/progs/pari-2.1.6/CVS.txt 
/usr/local/lib/pari
../config/install -m 644 /usr/local/progs/pari-2.1.6/MACHINES 
/usr/local/lib/pari
../config/install -m 644 /usr/local/progs/pari-2.1.6/NEW 
/usr/local/lib/pari
../config/install -m 644 /usr/local/progs/pari-2.1.6/README 
/usr/local/lib/pari
../config/install -m 644 /usr/local/progs/pari-2.1.6/TODO 
/usr/local/lib/pari
mkdir -p /usr/local/lib/pari/misc /usr/local/bin
../config/install ../misc/tex2mail /usr/local/bin
../config/install -m 644 ../doc/tex2mail.1 /usr/local/man/man1
../config/install -m 644 ../misc/README    /usr/local/lib/pari/misc
../config/install -m 644 ../misc/color.dft /usr/local/lib/pari/misc
../config/install -m 644 ../misc/gpalias   /usr/local/lib/pari/misc
../config/install ../misc/gpflog /usr/local/lib/pari/misc
../config/install -m 644 ../misc/gprc.dft  /usr/local/lib/pari/misc
../config/install -m 644 ../misc/new.dic   /usr/local/lib/pari/misc
../config/install -m 644 ../misc/pari.xpm  /usr/local/lib/pari/misc
../config/install ../misc/xgp    /usr/local/lib/pari/misc
mkdir -p /usr/local/lib/pari/galdata
for f in ../data/*; do ../config/install -m 644  $f 
/usr/local/lib/pari/galdata; done 2>/dev/null
mkdir -p /usr/local/bin /usr/local/lib/pari/doc
cd ../doc; make all
make[2]: Entering directory `/usr/local/progs/pari-2.1.6/doc'
rm -f wantpdfoutput
rm -f users.std; tex users;
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./users.tex (./parimacro.tex (./paricfg.tex)
FIRST PASS
(./users.aux)) [1] [2] [3] (./usersch1.tex [4] [5] [6] [7] [8] [9] [10]
[11]) (./usersch2.tex [12] [13] [14] [15] [16] [17] [18] [19] [20] [21]
[22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36]
[37] [38] [39] [40] [41] [42] [43]) (./usersch3.tex [44] [45] [46] [47]
[48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62]
[63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77]
[78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92]
[93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106]
[107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118]
[119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130]
[131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142]
[143] [144] [145] [146] [147] [148] [149] [150] [151] [152]) (./usersch4.tex
[153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164]
[165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176]
[177] [178] [179] [180] [181] [182] [183] [184] [185]) (./usersch5.tex [186]
[187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198])
(./appa.tex [199] [200] [201] [202] [203] [204]) (./appb.tex
(../examples/matexp.c [205]) [206]) (./appc.tex [207] [208]) [209] )
Output written on users.dvi (209 pages, 782480 bytes).
Transcript written on users.log.
sed -e 's/!\([1-9]\)!/!00\1!/'\
    -e 's/!\([1-9][0-9]\)!/!0\1!/'\
    -e 's/\\EFF {}/f/g'\
  users.idx | env LANG=C sort -f |\
sed -e 's/!00*\([0-9]*\)!/!\1!/' > users.std;
tex users; rm -f users.idx
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./users.tex (./parimacro.tex (./paricfg.tex)
SECOND PASS
(./users.aux)) [1] [2] (./users.toc) [3] (./usersch1.tex [4] [5] [6] [7]
[8] [9] [10] [11]) (./usersch2.tex [12] [13] [14] [15] [16] [17] [18] [19]
[20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34]
[35] [36] [37] [38] [39] [40] [41] [42] [43]) (./usersch3.tex [44] [45]
[46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60]
[61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75]
[76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]
[91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104]
[105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116]
[117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128]
[129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140]
[141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152])
(./usersch4.tex [153] [154] [155] [156] [157] [158] [159] [160] [161] [162]
[163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174]
[175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185])
(./usersch5.tex [186] [187] [188] [189] [190] [191] [192] [193] [194] [195]
[196] [197] [198]) (./appa.tex [199] [200] [201] [202] [203] [204]) 
(./appb.tex
(../examples/matexp.c [205]) [206]) (./appc.tex [207] [208]) [209] [210]
[211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222]
[223] [224] [225] [226] )
Output written on users.dvi (226 pages, 1061100 bytes).
Transcript written on users.log.
rm -f wantpdfoutput
tex refcard.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./refcard.tex (./parimacro.tex (./paricfg.tex)
SECOND PASS
(./users.aux)) [3 columns per page] [1] [2] [3] [4] )
Output written on refcard.dvi (4 pages, 49032 bytes).
Transcript written on refcard.log.
dvips -t landscape -t a4 refcard.dvi -o refcard.ps
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2005.02.07:1455' -> refcard.ps
<texc.pro><f7b6d320.enc><09fbbfac.enc><aae443f0.enc><74afc74c.enc>
<bbad153f.enc><0ef0afca.enc><texps.pro>. <cmr5.pfb><cmmi5.pfb><cmex10.pfb>
<cmsy7.pfb><cmmi7.pfb><cmr7.pfb><cmbx8.pfb><cmsy6.pfb><cmr6.pfb><cmsy8.pfb>
<cmti8.pfb><cmmi8.pfb><cmbx10.pfb><cmtt8.pfb><cmr8.pfb>[1] [2] [3] [4]
rm -f wantpdfoutput
tex tutorial.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./tutorial.tex (./parimacro.tex (./paricfg.tex)
SECOND PASS
(./users.aux)) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]
[15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29]
[30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44]
[45] [46] )
Output written on tutorial.dvi (46 pages, 188624 bytes).
Transcript written on tutorial.log.
make[2]: Leaving directory `/usr/local/progs/pari-2.1.6/doc'
../config/install ../doc/gphelp    /usr/local/bin
../config/install -m 644 ../doc/Makefile     /usr/local/lib/pari/doc
../config/install -m 644 ../doc/translations /usr/local/lib/pari/doc
../config/install -m 644 ../doc/appa.tex     /usr/local/lib/pari/doc
../config/install -m 644 ../doc/appb.tex     /usr/local/lib/pari/doc
../config/install -m 644 ../doc/appc.tex     /usr/local/lib/pari/doc
../config/install -m 644 ../doc/paricfg.tex.in /usr/local/lib/pari/doc
../config/install -m 644 ../doc/parimacro.tex /usr/local/lib/pari/doc
../config/install -m 644 ../doc/pdfmacs.tex  /usr/local/lib/pari/doc
../config/install -m 644 ../doc/refcard.tex  /usr/local/lib/pari/doc
../config/install -m 644 ../doc/tutorial.tex /usr/local/lib/pari/doc
../config/install -m 644 ../doc/users.tex    /usr/local/lib/pari/doc
../config/install -m 644 ../doc/usersch1.tex /usr/local/lib/pari/doc
../config/install -m 644 ../doc/usersch2.tex /usr/local/lib/pari/doc
../config/install -m 644 ../doc/usersch3.tex /usr/local/lib/pari/doc
../config/install -m 644 ../doc/usersch4.tex /usr/local/lib/pari/doc
../config/install -m 644 ../doc/usersch5.tex /usr/local/lib/pari/doc
../config/install -m 644 ../doc/paricfg.tex  /usr/local/lib/pari/doc
../config/install -m 644 ../doc/users.dvi    /usr/local/lib/pari/doc
../config/install -m 644 ../doc/tutorial.dvi /usr/local/lib/pari/doc
../config/install -m 644 ../doc/refcard.dvi  /usr/local/lib/pari/doc
../config/install -m 644 ../doc/refcard.ps   /usr/local/lib/pari/doc
mkdir -p /usr/local/lib/pari/examples
../config/install -m 644 ../examples/EXPLAIN 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/Inputrc 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/Makefile 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/bench.gp 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/cl.gp 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/classno.gp 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/contfrac.gp 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/lucas.gp 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/matexp.c 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/rho.gp 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/squfof.gp 
/usr/local/lib/pari/examples
../config/install -m 644 ../examples/taylor.gp 
/usr/local/lib/pari/examples
make[1]: Leaving directory `/usr/local/progs/pari-2.1.6/Olinux-i686'

MERCI

Jacqueline Keller








Information forwarded to bug-submit-list@pari.math.u-bordeaux.fr, Karim.Belabas@math.u-psud.fr:
Bug#173; Package pari. (full text, mbox, link).


Acknowledgement sent to igor@txc.com:
Extra info received and forwarded to list. Copy sent to Karim.Belabas@math.u-psud.fr. (full text, mbox, link).


Message #10 received at 173@pari.math.u-bordeaux.fr (full text, mbox, reply):

From: Igor Schein <igor@txc.com>
To: 173@pari.math.u-bordeaux.fr
Subject: Re: INSTALLATION fedora 3
Date: Wed, 16 Feb 2005 01:55:56 -0500
It's combination of several factors.  If you use gcc-3.3.5 or lower,
the problem goes away.  If you don't use readline ( since there's no
--without-readline flag in stable, if you're lazy like I am - just do
yum -y remove readline-devel and rebuild ), the problem goes away.
CVS doesn't have the problem.  I am thinking, maybe this bug is
related to #130?  You can also try a different version of readline, I
didn't play with that myself. 

Separate note - shouldn't this bug have been filed under pari-stable?

Igor



Bug reassigned from package `pari' to `pari-stable'. Request was from Bill Allombert <allomber@math.u-bordeaux.fr> to control@pari.math.u-bordeaux.fr. (full text, mbox, link).


Information forwarded to bug-submit-list@pari.math.u-bordeaux.fr, Karim.Belabas@math.u-psud.fr:
Bug#173; Package pari-stable. (full text, mbox, link).


Acknowledgement sent to Bill Allombert <allomber@math.u-bordeaux.fr>:
Extra info received and forwarded to list. Copy sent to Karim.Belabas@math.u-psud.fr. (full text, mbox, link).


Message #17 received at 173@pari.math.u-bordeaux.fr (full text, mbox, reply):

From: Bill Allombert <allomber@math.u-bordeaux.fr>
To: Jacqueline Keller <keller@ihes.fr>, 173@pari.math.u-bordeaux.fr
Subject: Re: Bug#173: INSTALLATION fedora 3
Date: Wed, 16 Feb 2005 12:05:09 +0100
On Mon, Feb 07, 2005 at 03:04:35PM +0100, Jacqueline Keller wrote:
> Package: pari
> Version 2.1.6
> 
> Transcript:
> 
> 
> [root@maxim ~]# gp
>   ***   bug in GP (Segmentation Fault), please report
>   ***   Error in the PARI system. End of program.
> 
> 
> root@maxim progs]# rpm -aq | grep gcc
> libgcc-3.4.2-6.fc3
> gcc-c++-3.4.2-6.fc3
> gcc-3.4.2-6.fc3
> gcc-java-3.4.2-6.fc3
> 
> 
> 
> Linux maxim.IHES.fr 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 
> i686 i686 i386 GNU/Linux
> 
> 
> Configure :[root@maxim pari-2.1.6]# ./Configure
> Configuring pari-2.1.6 (STABLE)
> Checking echo to see how to suppress newlines...
> ...using -n.
> Looking for some tools first ...
> ...ld is /usr/bin/ld
> ...zcat is /bin/zcat
> ...gzip is /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/lib
> ...Found libncurses in /usr/lib
> ...Found GNU readline header in /usr/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.4.2 20041017 (Red Hat 3.4.2-6.fc3)
> 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...
> ...Found 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.6 (released) now (y/n)? [n]
> Ok. Type "make install" when you are ready
> Bye !
> 
> [root@maxim pari-2.1.6]# make install
> cd Olinux-i686; make install
> make[1]: Entering directory `/usr/local/progs/pari-2.1.6/Olinux-i686'
> mkdir -p /usr/local/lib
> rm -f /usr/local/lib/libpari.so.2.1.6
> ../config/install libpari.so.2.1.6 /usr/local/lib/libpari.so.2.1.6
> rm -f /usr/local/lib/libpari.so.1
> rm -f /usr/local/lib/libpari.so
> ln -s libpari.so.2.1.6 /usr/local/lib/libpari.so.1
> ln -s libpari.so.2.1.6 /usr/local/lib/libpari.so
> mkdir -p /usr/local/include/pari
> ../config/install -m 644 paricfg.h                 /usr/local/include/pari
> for i in pariinl; do \
>    ../config/install -m 644 $i.h 
> /usr/local/include/pari; done
> for i in pari paritype paricast paricom parierr parigen paristio parisys 
> pariport paridecl; do \
>    ../config/install -m 644 ../src/headers/$i.h 
> /usr/local/include/pari; done
> rm -f /usr/local/include/pari/genpari.h
> ln -s pari.h /usr/local/include/pari/genpari.h
> /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit 
> -fomit-frame-pointer   -I. -I../src/headers -I../src/language 
> -I/usr/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/language 
> -I/usr/include -o gp_rl.o ../src/gp/gp_rl.c
> ../src/gp/gp_rl.c: In function `change_state':
> ../src/gp/gp_rl.c:106: warning: format argument is not a pointer (arg 2)
> ../src/gp/gp_rl.c:106: warning: format argument is not a pointer (arg 3)
> ../src/gp/gp_rl.c: In function `get_matches':
> ../src/gp/gp_rl.c:307: warning: function called through a non-compatible 
> type
> ../src/gp/gp_rl.c:307: note: if this code is reached, the program will abort
> ../src/gp/gp_rl.c: In function `rl_short_help':
> ../src/gp/gp_rl.c:586: warning: zero-length printf format string
> ../src/gp/gp_rl.c: In function `init_readline':
> ../src/gp/gp_rl.c:633: warning: function called through a non-compatible 
> type
> ../src/gp/gp_rl.c:633: note: if this code is reached, the program will abort
> ../src/gp/gp_rl.c:634: warning: function called through a non-compatible 
> type
> ../src/gp/gp_rl.c:634: note: if this code is reached, the program will abort

Thanks for your bug report!

We need to know what versions of libreadline you are using. We fixed a
similar problem in the developement release already (this was bug #130).

Apparenlty, this is due to a bad interaction between gcc and readline.

One way to work around the problem is to build with gcc 3.3 or older, or
disable readline support (using Configure -a).

Cheers,
Bill.



Information forwarded to bug-submit-list@pari.math.u-bordeaux.fr, Karim.Belabas@math.u-psud.fr:
Bug#173; Package pari-stable. (full text, mbox, link).


Acknowledgement sent to Karim Belabas <Karim.Belabas@math.u-psud.fr>:
Extra info received and forwarded to list. Copy sent to Karim.Belabas@math.u-psud.fr. (full text, mbox, link).


Message #22 received at 173@pari.math.u-bordeaux.fr (full text, mbox, reply):

From: Karim Belabas <Karim.Belabas@math.u-psud.fr>
To: Jacqueline Keller <keller@ihes.fr>, 173@pari.math.u-bordeaux.fr
Subject: Re: Bug#173: INSTALLATION fedora 3
Date: Sun, 20 Feb 2005 18:25:00 +0100
[Message part 1 (text/plain, inline)]
* Jacqueline Keller [2005-02-13 23:49]:
> Package: pari
> Version 2.1.6
> 
> [root@maxim ~]# gp
>   ***   bug in GP (Segmentation Fault), please report
>   ***   Error in the PARI system. End of program.
> 
[...]
> /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit 
> -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:307: warning: function called through a non-compatible 
> type
> ../src/gp/gp_rl.c:307: note: if this code is reached, the program will abort

Bonjour,

  pouvez-vous vérifier que le patch attaché règle le problème ?

Les gcc récents sont incompatibles avec nos efforts de supporter les
vieilles versions de readline. 

Le problème est déjà corrigé dans pari-2.2.10, mais les deux versions sont
devenues totalement  incompatibles. J'ai essayé une version simplifiée de
la correction, testée sur les systèmes à ma disposition [ gcc-3.3.5 +
readline-5, gcc-2.95.4 + readline-4.2 ]

Merci !

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dep. de Mathematiques, Bat. 425   Fax: (+33) (0)1 69 15 60 19
Universite Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]
[patch-readline (text/plain, attachment)]

Reply sent to Bill Allombert <allomber@math.u-bordeaux.fr>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Jacqueline Keller <keller@ihes.fr>:
Bug acknowledged by developer. (full text, mbox, link).


Message #27 received at 173-done@pari.math.u-bordeaux.fr (full text, mbox, reply):

From: Bill Allombert <allomber@math.u-bordeaux.fr>
To: Jacqueline Keller <keller@ihes.fr>, 173-done@pari.math.u-bordeaux.fr
Subject: Re: Bug#173: INSTALLATION fedora 3
Date: Mon, 26 Sep 2005 14:29:44 +0200
On Mon, Feb 07, 2005 at 03:04:35PM +0100, Jacqueline Keller wrote:
> Package: pari
> Version 2.1.6
> 
> 
> Transcript:
> 
> 
> [root@maxim ~]# gp
>   ***   bug in GP (Segmentation Fault), please report
>   ***   Error in the PARI system. End of program.

Bonjour,
Karim a sorti une nouvelle version stable (2.1.7) qui corrige ce problème,
donc je ferme ce rapport de bug.

Merci d'avoir utiliser notre système de gestion des bugs!

Bill.



Send a report that this bug log contains spam.


Bill Allombert <allomber@math.u-bordeaux.fr>. Last modified: Sat Mar 15 02:03:03 2025; Machine Name: pari

PARI/GP Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.