Ewan Delanoy on Thu, 17 May 2012 18:23:02 +0200


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

Re : cannot compile readline back in updated version of gp





> Which OS X release are you using ?

 An old one (Mac OS X 10.4.10 on a PowerPC).

>How did you manage to compiler PARI 2.3.2 with readline ?

I had installed readine and gp as explained in the FAQ and did not encounter any particular problems. It worked.

  By the way, my follow-ups always appear as new questions on the archive of this mailing list. How can I fix that ?

> Please send the whole output from Configure and make.

Last login: Thu May 17 08:06:06 on ttyp2
Welcome to Darwin!
Urzhiataer-Ewan:~ ewan$ cd Documents/Math_software/PARI_GP/pari-2.5.1/
Urzhiataer-Ewan:~/Documents/Math_software/PARI_GP/pari-2.5.1 ewan$ ./Configure --with-readline=/usr/local
Configuring pari-2.5.1 (STABLE)
Checking echo to see how to suppress newlines...
...using -n.
Looking for some tools first ...
...ld is /usr/bin/ld
...zcat is /sw/bin/zcat
...gzip is /sw/bin/gzip
...ranlib is /usr/bin/ranlib
...perl is /usr/bin/perl
Looking for the compilers ...
...cc is /usr/bin/cc
...gcc is /usr/bin/gcc
GNU compiler version 4.0.1 (Apple Computer, Inc. build 5247)
Given the previous choices, sizeof(long) is 4 chars.
The internal word representation of a double is l[0], l[1].
==========================================================================
Building for: PowerPC running darwin (PPC/GMP kernel) 32-bit version
==========================================================================
C compiler is          /usr/bin/gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -fPIC -fno-common
Executable linker is   /usr/bin/gcc  -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -Wl,-search_paths_first
Dynamic Lib linker is  /usr/bin/gcc  -dynamiclib  $(CFLAGS) $(DLCFLAGS) -Wl,-flat_namespace,-undefined,suppress,-compatibility_version,2.5.0,-current_version,2.5.1
Looking in C lib for some symbols...
...Found exp2.
...Found log2.
...Found strftime.
...Found getrusage.
...Found sigaction.
...Found TIOCGWINSZ.
...Found getrlimit.
...Found stat.
...Found vsnprintf.
...Found waitpid.
...Found setsid.
...Found getenv.
...Found isatty.
...Found alarm.
...Found dlopen.
Checking for optional libraries and headers...
### Building without GNU MP support
...Found libX11 in /usr/X11R6/lib
...Found X11 header files in /usr/X11R6/include/X11
Hi-Res Graphics: X11
...Found libreadline in /usr/local/lib
...Found readline header in /usr/local/include/readline
...Found history header in /usr/local/include/readline
...Found libncurses in /usr/lib/
...Library ncurses needed by readline
Using GNU readline, version 6.2
Installation prefix ? [/usr/local]
...for architecture-independent files (share-prefix) ? [/usr/local/share]
Installation directories for:
...executables (gp, gphelp) ? [/usr/local/bin]
...libraries (libpari) ? [/usr/local/lib]
...include files ? [/usr/local/include]
...manual pages ? [/usr/local/share/man/man1]
...other system-dependent data ? [/usr/local/lib/pari]
...other system-independent data ? [/usr/local/share/pari]
Default is dynamic executable and shared library
==========================================================================
Extracting examples/Makefile.darwin-ppc
Extracting Odarwin-ppc/Makefile
Extracting Makefile
Extracting Odarwin-ppc/paricfg.h
Extracting Odarwin-ppc/../Odos/paricfg.h
Extracting scripts and macros
...in doc
...in misc
==========================================================================
Shall we try to build pari 2.5.1 (released) now (y/n)? [n]
Ok. Type "make install" when you are ready
Bye !
Urzhiataer-Ewan:~/Documents/Math_software/PARI_GP/pari-2.5.1 ewan$ make && sudo make install
Possible targets are:
        all                      Compilation + Documentation
        gp                       Compilation
        bench                    Compilation + quick test
        dobench                  Test only
        doc                      Documentation
        install                  Installation
        clean, cleantest         Clean up
For pari maintainers...
        dbg                     Compile gp binary suitable for debugging
        prf                     Compile gp binary suitable for profiling
        distrib,alpha,beta,release  Create a new distribution
        snapshot                Create a snapshot
        ctags                   Generate VI/VIM tags file in ./src
        etags                   Generate Emacs  tags file in ./src
        tune                    Generate tuning utility
        test-all                Thorough regression tests (slow)
Password:
Making install in Odarwin-ppc
/usr/bin/gcc  -c -I. -I../src/headers -fPIC -fno-common -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -o paricfg.o ../src/language/paricfg.c
rm -f libpari.dylib
/usr/bin/gcc  -o "/Users/ewan/Documents/Math_software/PARI_GP/pari-2.5.1/Odarwin-ppc"/libpari.dylib -dynamiclib  -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -fPIC -fno-common -Wl,-flat_namespace,-undefined,suppress,-compatibility_version,2.5.0,-current_version,2.5.1  mp.o mpinl.o F2x.o FF.o Flx.o FpE.o FpV.o FpX.o Hensel.o QX_factor.o Qfb.o RgV.o RgX.o ZV.o ZX.o alglin1.o alglin2.o arith1.o arith2.o base1.o base2.o base3.o base4.o base5.o bb_group.o bibli1.o bibli2.o bit.o buch1.o buch2.o buch3.o buch4.o concat.o ellanal.o elliptic.o galconj.o gen1.o gen2.o gen3.o hnf_snf.o ifactor1.o lll.o nffactor.o perm.o polarit1.o polarit2.o polarit3.o prime.o random.o rootpol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o anal.o compat.o compile.o default.o errmsg.o es.o eval.o hash.o init.o intnum.o members.o paricfg.o pariinl.o parse.o sumiter.o DedekZeta.o aprcl.o elldata.o ellsea.o galois.o galpol.o groupid.o krasner.o kummer.o mpqs.o part.o stark.o subfield.o thue.o darwin.o   
if test "libpari.dylib" != "libpari.dylib"; then          rm -f libpari.dylib;    ln -s libpari.dylib libpari.dylib; fi
if test "libpari.dylib" != "libpari.dylib"; then          rm -f libpari.dylib;    ln -s libpari.dylib libpari.dylib; fi
mkdir -p "/usr/local/lib"
rm -f "/usr/local/lib"/libpari.dylib "/usr/local/lib"/libpari.dylib "/usr/local/lib"/libpari.dylib
/usr/bin/gcc  -o "/usr/local/lib"/libpari.dylib -dynamiclib  -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -fPIC -fno-common -Wl,-flat_namespace,-undefined,suppress,-compatibility_version,2.5.0,-current_version,2.5.1  mp.o mpinl.o F2x.o FF.o Flx.o FpE.o FpV.o FpX.o Hensel.o QX_factor.o Qfb.o RgV.o RgX.o ZV.o ZX.o alglin1.o alglin2.o arith1.o arith2.o base1.o base2.o base3.o base4.o base5.o bb_group.o bibli1.o bibli2.o bit.o buch1.o buch2.o buch3.o buch4.o concat.o ellanal.o elliptic.o galconj.o gen1.o gen2.o gen3.o hnf_snf.o ifactor1.o lll.o nffactor.o perm.o polarit1.o polarit2.o polarit3.o prime.o random.o rootpol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o anal.o compat.o compile.o default.o errmsg.o es.o eval.o hash.o init.o intnum.o members.o paricfg.o pariinl.o parse.o sumiter.o DedekZeta.o aprcl.o elldata.o ellsea.o galois.o galpol.o groupid.o krasner.o kummer.o mpqs.o part.o stark.o subfield.o thue.o darwin.o    -Wl,-install_name -Wl,"/usr/local/lib"/libpari.dylib
if test "libpari.dylib" != "libpari.dylib"; then          ln -s libpari.dylib "/usr/local/lib"/libpari.dylib;     ln -s libpari.dylib "/usr/local/lib"/libpari.dylib; fi
mkdir -p "/usr/local/include"/pari
for i in paricfg.h mpinl.h; do \
  ../config/install -m 644 $i "/usr/local/include"/pari; done
for i in paridecl paripriv pari paricast paricom parierr parigen pariinl parinf pariold paristio parisys paritune ; 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
rm -f gp-dyn
/usr/bin/gcc  -o gp-dyn -L"/Users/ewan/Documents/Math_software/PARI_GP/pari-2.5.1/Odarwin-ppc" -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -Wl,-search_paths_first  gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plotX.o plotport.o  -L/usr/local/lib -lreadline -L/usr/lib/ -lncurses -lpari -L/usr/X11R6/lib -lX11   
mkdir -p "/usr/local/bin"
rm -f "/usr/local/bin"/gp-2.5 "/usr/local/bin"/gp
/usr/bin/gcc  -o "/usr/local/bin"/gp-2.5 -L"/usr/local/lib" -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -Wl,-search_paths_first  gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plotX.o plotport.o  -lpari -L/usr/local/lib -lreadline -L/usr/lib/ -lncurses -L/usr/X11R6/lib -lX11   
strip  "/usr/local/bin"/gp-2.5
ln -s gp-2.5 "/usr/local/bin"/gp
mkdir -p "/usr/local/share/man/man1"
rm -f "/usr/local/share/man/man1"/pari.1 "/usr/local/share/man/man1"/gp.1 "/usr/local/share/man/man1"/gp-2.5.1
../config/install -m 644 ../doc/gphelp.1 "/usr/local/share/man/man1"
../config/install -m 644 ../doc/gp.1 "/usr/local/share/man/man1"/gp-2.5.1
ln -s gp.1 "/usr/local/share/man/man1"/pari.1
ln -s gp-2.5.1 "/usr/local/share/man/man1"/gp.1
mkdir -p "/usr/local/share/pari"/misc "/usr/local/bin"
../config/install ../misc/tex2mail "/usr/local/bin"
../config/install -m 644 ../doc/tex2mail.1 "/usr/local/share/man/man1"
../config/install -m 644 ../misc/README    "/usr/local/share/pari"/misc
../config/install -m 644 ../misc/color.dft "/usr/local/share/pari"/misc
../config/install -m 644 ../misc/gpalias   "/usr/local/share/pari"/misc
../config/install ../misc/gpflog "/usr/local/share/pari"/misc
../config/install -m 644 ../misc/gprc.dft  "/usr/local/share/pari"/misc
../config/install -m 644 ../misc/pari.xpm  "/usr/local/share/pari"/misc
../config/install ../misc/xgp    "/usr/local/share/pari"/misc
mkdir -p "/usr/local/bin" "/usr/local/share/pari"/doc
cd ../doc; make all
rm -f develop.std
tex develop
This is TeX, Version 3.1415926 (Web2C 7.5.7)
(./develop.tex (./parimacro.tex (./paricfg.tex)
FIRST PASS
(./develop.aux)) [1] [2] (./develop.toc) [3] (./develop.aux) [4] [5] [6]
[7] [8] [9] [10] (./index.tex [11] ) )
Output written on develop.dvi (11 pages, 24052 bytes).
Transcript written on develop.log.
tex develop
This is TeX, Version 3.1415926 (Web2C 7.5.7)
(./develop.tex (./parimacro.tex (./paricfg.tex)
FIRST PASS
(./develop.aux)) [1] [2] (./develop.toc) [3] (./develop.aux) [4] [5] [6]
[7] [8] [9] [10] (./index.tex [11] ) )
Output written on develop.dvi (11 pages, 29388 bytes).
Transcript written on develop.log.
make develop.std; tex develop; rm -f develop.std
sed -e 's/!\([1-9]\)!/!00\1!/'\
    -e 's/!\([1-9][0-9]\)!/!0\1!/'\
    -e 's/\\EFF {}/f/g'\
  develop.idx | env LANG=C sort -f |\
sed -e 's/!00*\([0-9]*\)!/!\1!/' > develop.std;
This is TeX, Version 3.1415926 (Web2C 7.5.7)
(./develop.tex (./parimacro.tex (./paricfg.tex)
SECOND PASS
(./develop.aux)) [1] [2] (./develop.toc) [3] (./develop.aux) [4] [5] [6]
[7] [8] [9] [10] (./index.tex) [11] )
Output written on develop.dvi (11 pages, 40204 bytes).
Transcript written on develop.log.
rm -f libpari.std
tex libpari
This is TeX, Version 3.1415926 (Web2C 7.5.7)
(./libpari.tex (./parimacro.tex (./paricfg.tex)
FIRST PASS
(./libpari.aux)) [1] [2] (./libpari.toc) [3] (./users.aux) (./usersch4.tex
[4]
Reference `se:prog' on page 5 undefined on input line 30
Reference `se:pari_init_tech' on page 5 undefined on input line 59
[5]
Reference `se:primetable' on page 6 undefined on input line 90
[6]
Reference `se:level2names' on page 7 undefined on input line 206
[7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]
Reference `se:prog' on page 18 undefined on input line 1053
[18]
! \scriptfont 7 is undefined (character B).
l.1111 $$
         
? X
Output written on libpari.dvi (18 pages, 72536 bytes).
Transcript written on libpari.log.
make[2]: *** [libpari.dvi] Error 1
make[1]: [install-doc] Error 2 (ignored)
../config/install ../doc/gphelp    "/usr/local/bin"
../config/install -m 644 ../doc/Makefile     "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/translations "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/appa.tex     "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/appb.tex     "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/appd.tex     "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/parimacro.tex "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/pdfmacs.tex  "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/refcard.tex  "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/tutorial.tex "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/users.tex    "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/usersch1.tex "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/usersch2.tex "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/usersch3.tex "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/usersch4.tex "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/usersch5.tex "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/paricfg.tex  "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/libpari.dvi    "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/users.dvi    "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/tutorial.dvi "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/refcard.dvi  "/usr/local/share/pari"/doc
../config/install -m 644 ../doc/refcard.ps   "/usr/local/share/pari"/doc
mkdir -p "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/EXPLAIN     "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/Inputrc     "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/Makefile    "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/bench.gp    "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/cl.gp       "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/classno.gp  "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/contfrac.gp "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/lucas.gp    "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/extgcd.c    "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/rho.gp      "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/squfof.gp   "/usr/local/share/pari"/examples
../config/install -m 644 ../examples/taylor.gp   "/usr/local/share/pari"/examples
mkdir -p "/usr/local/lib/pari"
../config/install -m 644 pari.cfg "/usr/local/lib/pari"
if test -n "../src/funclist"; then         mkdir -p "/usr/local/share/pari"/PARI;          ../config/install -m 644 ../src/desc/PARI/822.pm "/usr/local/share/pari"/PARI;       ../config/install -m 644 ../src/desc/pari.desc "/usr/local/share/pari"; fi
if test -d ../data; then cd ../data;       for d in `ls`; do         mkdir -p "/usr/local/share/pari"/$d &&          for f in `ls $d`; do           ../config/install -m 644 $d/$f "/usr/local/share/pari"/$d;            done >/dev/null;      done;         fi
Urzhiataer-Ewan:~/Documents/Math_software/PARI_GP/pari-2.5.1 ewan$ ./gp
Reading GPRC: /etc/gprc ...Done.

                                             GP/PARI CALCULATOR Version 2.5.1 (released)
                                         PowerPC running darwin (PPC kernel) 32-bit version
                                 compiled: May 17 2012, gcc-4.0.1 (Apple Computer, Inc. build 5247)
                                          (readline not compiled in, extended help enabled)

                                               Copyright (C) 2000-2011 The PARI Group

PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY WARRANTY WHATSOEVER.

Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.

parisize = 4000000, primelimit = 500509
?