File: README

package info (click to toggle)
mpfi 1.5.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,400 kB
  • sloc: ansic: 14,992; makefile: 155; sh: 6
file content (41 lines) | stat: -rw-r--r-- 1,336 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
To install MPFI library :

For the impatient user, type in the source directory:

./configure
make
make install

This will install shared and static versions of libmpfi in the default install
directory. Read INSTALL in the source directory for details.


CONFIGURE EXTRA OPTIONS
(read INSTALL for general options)
You can specify the GMP and MPFR installation directories with the following
configure options:
--with-gmp=<gmp installation directory>
--with-mpfr=<mpfr installation directory>


TEST FAILURE
With GMP 5.0.x, you may experience a failure in tcbrt like the following:

rootrem.c:339: GNU MP assertion failed: bn>= qn
/bin/sh: line 5: 27307 Aborted                 ${dir}$tst
FAIL: tcbrt

This is probably due to the fact that gcc version 4.3.2 miscompiles GMP
5.0.x. There is nothing to do but to recompile GMP with another version of gcc.


IMPORTANT:
Note that default installation path is /usr/local/lib.
If you configured MPFI with --prefix=some/path or if you are using a distribution
like Debian, the library may not be found at running time.

If you compile a soft using mpfi and have an error at execution time such as:

error while loading shared libraries: libmpfi.so.0: cannot open shared object file: No such file or directory

try adding /some/path (or /usr/local/lib in the case of Debian) to LD_LIBRARY_PATH