This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-4.3.0 files to find mpfr.h on osx 10.5.2
- From: kaaposc <kaaposc at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 17 Mar 2008 13:01:52 +0000 (UTC)
- Subject: Re: gcc-4.3.0 files to find mpfr.h on osx 10.5.2
- References: <47DACE57.2080903@cse.ucdavis.edu>
Bill Broadley <bill <at> cse.ucdavis.edu> writes:
> Short story, gmp4.2.2 builds fine (including make test), mpfr-2.3.0 builds
> fine. Gcc-4.3.0 seems to fails to configure:
> checking for correct version of mpfr.h... no
<skipped>
> Any ideas? I also tried install mpfr-2.3.1 and changing the gcc's configure
> --with-mpfr=/opt/pkg/mpfr-2.3.1/
>
> Same thing.
Try doing something with C_INCLUDE_PATH, LIBRARY_PATH, LD_LIBRARY_PATH and
LD_RUN_PATH (as noted in mpfr README file). For me it did NOT work
(segmentation fault), but installing gmp and mpfr with "--prefix=/tools
--with-local-prefix=/tools" for mpfr's configure (I'm trying LFS with all the
latest packages, that's why /tools) did the thing - gcc 4.3.0 now found
libmpfr.so.1 and compiles.
kpsc