12.7.2010 7:02, Preeti Sharma kirjoitti:
I am trying to compile gcc-4.5.0 which requires ppl (among other things) .
I already installed gmp, mpfr, mpc . But ./configure on ppl gives me
the following error :
checking for the GMP library version 4.1.3 or above... no
configure: error: Cannot find GMP version 4.1.3 or higher.
GMP is the GNU Multi-Precision library:
Although gmp 5.x is installed and the LD_LIBRARY_PATH is set.
Please browse the 'ppl-0.10.2/configure' (assumed) and see which
GMP versions it accepts in its tests, like :
---------------- clip ------------------
#include <gmpxx.h>
#if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 &&
__GNU_MP_VERSION_MINOR < 1
) || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR == 1 &&
__GNU_MP_VERSION_P
ATCHLEVEL < 3)
#GMP version 4.1.3 or higher is required
#endif
---------------- clip ------------------
I would not expect this to accept 'gmp-5.x' at all :(
The earlier GMP version was "4.3.2" and using it woulld pass
these tests... Another choice is to fix the tests to accept
the 5.x version.