Subject: | Problem building in Debian Stretch |
root@debian:~/.cpanm/work/1498859520.5423/Math-Pari-2.01080900# perl Makefile.PL pari_tgz=~/pari-2.9.2.tar.gz
Available golden versions: `2.9.2'
Latest supported golden is `/root/pari-2.9.2.tar.gz'
Picking golden version 2.9.2, file /root/pari-2.9.2.tar.gz
Well, I already have it (size=3842811), using the disk copy...
Extracting...
gzip -dc /root/pari-2.9.2.tar.gz | tar -xvf -
pari-2.9.2/
pari-2.9.2/COPYING
:
Looking for patches for 2.9.2...
Setting up Math::Pari with Perl 5.024001 on linux version 3.16.0;
cc=x86_64-linux-gnu-gcc, gccversion=6.3.0 20170516, cccdlflags='-fPIC',
ccflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
ld=x86_64-linux-gnu-gcc, ldflags=' -fstack-protector-strong -L/usr/local/lib'.
Found GP/PARI build directory in pari-2.9.2
(integer-formatted version 2009002).
...Will not overwrite libPARI/paricfg.h... (remove it manually if needed)
You may also want to remove libPARI/paricfg.h if your configuration changed
from the time of the first build in this directory...
...Processor of family `x86_64' detected
...I will use assembler build of type 'x86_64'.
...Assembler is GNU assembler
Generating a Unix-style Makefile
Writing Makefile for Math::PARI::libPARI
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Math::Pari
Writing MYMETA.yml and MYMETA.json
Looking for patches for 2009002...
The following patches were judged to be beneficial, but were not applied:
root@debian:~/.cpanm/work/1498859520.5423/Math-Pari-2.01080900# make
Skip blib/lib/Math/PariInit.pm (unchanged)
Skip blib/lib/Math/Pari.pm (unchanged)
Skip blib/lib/Math/libPARI.dumb.pod (unchanged)
Skip blib/lib/Math/libPARI.pod (unchanged)
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2 -g" LD="x86_64-linux-gnu-gcc" PREFIX="/usr/local" PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory '/root/.cpanm/work/1498859520.5423/Math-Pari-2.01080900/libPARI'
x86_64-linux-gnu-gcc -c -I ../pari-2.9.2/src -I ../pari-2.9.2/src/headers -I ../pari-2.9.2/src/graph -I . -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DHAS_STAT -DHAS_OPENDIR -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o subcyclo.o ../pari-2.9.2/src/basemath/subcyclo.c
In file included from ../pari-2.9.2/src/basemath/subcyclo.c:14:0:
../pari-2.9.2/src/headers/pari.h:47:20: fatal error: parimt.h: No such file or directory
#include "parimt.h"
^
compilation terminated.
Makefile:984: recipe for target 'subcyclo.o' failed
make[1]: *** [subcyclo.o] Error 1
make[1]: Leaving directory '/root/.cpanm/work/1498859520.5423/Math-Pari-2.01080900/libPARI'
Makefile:1077: recipe for target 'libPARI/libPARI.a' failed
make: *** [libPARI/libPARI.a] Error 2
Using vanilla perl that comes with the distro - which is:
This is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-linux-gnu-thread-multi
(with 67 registered patches, see perl -V for more detail)
In case it matters:
root@debian:~/.cpanm/work/1498859520.5423/Math-Pari-2.01080900# dpkg -l '*pari*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-============================-===================-===================-==============================================================
un libpari-dbg <none> <none> (no description available)
ii libpari-dev:amd64 2.9.1-1 amd64 PARI/GP Computer Algebra System development files
ii libpari-gmp-tls5:amd64 2.9.1-1 amd64 PARI/GP Computer Algebra System shared library
un libpari-gmp-tls5-dev <none> <none> (no description available)
un libpari1-dev <none> <none> (no description available)
ii pari-doc 2.9.1-1 all PARI/GP Computer Algebra System documentation
ii pari-elldata 0.20161017-1 all PARI/GP Computer Algebra System elliptic curves (elldata)
un pari-extra <none> <none> (no description available)
ii pari-galdata 0.20080411-2 all PARI/GP Computer Algebra System Galois resolvents (galdata)
un pari-galpol <none> <none> (no description available)
ii pari-gp 2.9.1-1 amd64 PARI/GP Computer Algebra System binaries
un pari-gp2c <none> <none> (no description available)
ii pari-seadata 0.20090618-1 all PARI/GP Computer Algebra System modular polynomials (seadata)
Thanks,
Steve