You need the `pari.cfg' file from your PARI installation. Old version
of this file are named 'dft.Config.in' PARI installs this file
Copy or link it to this directory and run
Run `./configure' .
Then run `make' .
Alternatively you can run
You can run `make check' for an automated check, but it requires
your environment being properly detected, so it may fail even if gp2c is
usable. Also the installed version of PARI/GP must match the version
of the source tree. The "args" check fails if the version mismatch.
You can try gp2c in this directory with the script ./gp2c .
You can do a "compile-and-run" with the script ./gp2c-run .
You can install gp2c and gp2c-run (in /usr/local/bin) by running
configure support standard configure script options, for example to install
in /usr/bin use
The following gp2c specific option are recognized.
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer.
--with-perl Perl is needed to compile the description files, but gp2c
come with a precompiled description for PARI 2.1. so you can
use it without perl. Default is to use perl if it is found.
You can specify the path to perl with --with-perl=PATH.
--with-paricfg PARI configuration is needed to build plug-ins.
gp2c itself can be compiled without it, but gp2c-run and
'make check' will not work.
You must specify the path to the 'pari.cfg' file with