diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-07-25 20:36:23 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-07-25 20:36:23 +0000 |
commit | 05ac444b5db8c8f5ffe4c5bb0c5671cc4c090e7d (patch) | |
tree | 98fe6f4434bacd20f4dafc4dc27a6e6d30b7c0b1 /INSTALL | |
parent | afd8c3abeba9512dda8ef93ec7b681dfbf3935b5 (diff) | |
download | mpfr-05ac444b5db8c8f5ffe4c5bb0c5671cc4c090e7d.tar.gz |
INSTALL: added a note about include/library paths.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4108 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -85,6 +85,13 @@ Building MPFR with internal GMP header files --with-gmp=DIR assumes that DIR is where you have installed GMP. same as --with-gmp-lib=DIR/lib and --with-gmp-include=DIR/include + Warning! Do not use these options if you have + CPPFLAGS and/or LDFLAGS containing a -I or -L + option with a directory that contains a GMP + header or library file, as these options just + add -I and -L options to CPPFLAGS and LDFLAGS + *after* the ones that are currently declared, + so that DIR will have a lower precedence. --enable-assert build MPFR with assertions. --enable-thread-safe build MPFR as thread safe. @@ -121,11 +128,12 @@ In case of problem Try to build MPFR with/without GMP internal files. If the build was ok, but the tests failed to link with GMP, it is usually - because /usr/local/lib is used by the static linker but not by the shared - linker. There are two solutions: - 1. setenv LD_LIBRARY_PATH /usr/lib:/usr/local/lib [tcsh] - or export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib [bash] - 2. Or run MPFR's configure with "--with-gmp=/usr/local/" + because PREFIXDIR/lib is used by the static linker but not by the shared + linker (where PREFIXDIR is the directory given in --prefix, or /usr/local + if --prefix wasn't used). There are two solutions: + 1. setenv LD_LIBRARY_PATH /usr/lib:PREFIXDIR/lib [csh/tcsh] + or export LD_LIBRARY_PATH=/usr/lib:PREFIXDIR/lib [bash/zsh/...] + 2. Or run MPFR's configure with "--with-gmp=/usr/local" so that libtool is able to fix this problem. If you can't solve your problem, you could contact us at <mpfr@loria.fr>, |