./configure ... > --with-mpfr-include=PATH > --with-mpfr-lib=PATH > --with-gmp-include=PATH > --with-gmp-lib=PATH This also DID NOT WORK :( command i used for compiling GCC 4.4.1 is : AnkitM:gcc-4.4.1 Ankit$ ./configure --prefix=/pkg/gcc-4.4.1/ --with-mpfr-include=/pkg/mpfr-2.4.1/include/ --with-mpfr-lib=/pkg/mpfr-2.4.1/lib --with-gmp-include=/pkg/gmp-4.2.4/include/ --with-gmp-lib=/pkg/gmp-4.2.4/lib/ before this I configured MPFR & GMP by the following commands (after going to their respective directories): ./configure --prefix=/pkg/gmp-4.2.4/ --with-local-prefix=/pkg/gmp-4.2.4/ ./configure --prefix=/pkg/mpfr-2.4.1/ --with-local-prefix=/pkg/mpfr-2.4.1/ It still gives the same error :( Regards Ankit Mahanot On Wed, Sep 9, 2009 at 9:35 AM, Philip Herron<herron.philip@xxxxxxxxxxxxxx> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ankit Mahanot wrote: >> I am using gmp-4.2.4 & mpfr-2.4.1. >> OS - Mac OS X v 10.5.7 >> I am trying to compile GCC-4.4.1. >> >> But the error that I get is "checking for correct version of mpfr.h... no". >> >> I configured MPFR into /pkg/mpfr-2.4.1 & GMP into /pkg/gmp-4.2.4. Then >> Make , make check , make install .. nothing gave error. But while >> compiling GCC I get this error. >> >> I manually found out the location of mpfr.h. It's in > /pkg/mpfr-2.4.1/include. >> >> Please help me out with this. I think this is a quiet common problem >> with no structured solution :( >> >> -- Ankit Mahanot >> >> >> > Hey > > If you used ports to install mpfr and gmp your stuff is in > /opt/local/lib and /opt/local/include > > ./configure ... > --with-mpfr-include=PATH > --with-mpfr-lib=PATH > --with-gmp-include=PATH > --with-gmp-lib=PATH > > Hope that helps, when in doubt ./configure --help :) > > - --Phil > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkqnKZgACgkQAhcOgIaQQ2EgjwCcCkzqoRBtiDU0gL/R6bhkjwnc > HcIAn2n6IcXhg4JDr2+7yKeW0Y1escY0 > =KHuw > -----END PGP SIGNATURE----- > > -- Ankit Mahanot