File: INSTALL

package info (click to toggle)
gp2c 0.0.7pl3-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,728 kB
  • sloc: ansic: 7,730; sh: 1,420; lex: 336; yacc: 208; makefile: 143
file content (52 lines) | stat: -rw-r--r-- 2,035 bytes parent folder | download | duplicates (5)
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
47
48
49
50
51
52
Installation Note:

You need the `pari.cfg' file from your PARI installation. 
PARI installs this file in "$prefix/lib/pari/pari.cfg"

Copy or link it to this directory and run

Run `./configure' .
Then run `make' .

Alternatively you can run
`./configure --with-paricfg=.../lib/pari/pari.cfg'
and `make'.

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 do a "compile-and-debug" with the script ./gp2c-dbg .

You can install gp2c and gp2c-run (in /usr/local/bin) by running
make install
as root.

configure support standard configure script options, for example to install 
in /usr/bin use

./configure --prefix=/usr

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
               --with-paricfg=PATH.
  --with-paricfg-dbg=FILE gp2c-dbg is more useful with the debugging version
               of PARI. You can specify the path to the 'pari.cfg' file of a
               debugging version with --with-paricfg-dbg=PATH while still using
               the optimised version with gp2c-run.