This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mpfr.h cannot be located while compiling GCC


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]