RaptorX wrote:
> Im in the second pass of the GCC compilation... book LFS 6.4 chapter 5.12...
>
> and im getting
>
>
> */checking for correct version of gmp.h... no
> configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
> Try the --with-gmp and/or --with-mpfr options to specify their locations.
> Copies of these libraries' ... etc...
>
> /*
>
> I confirmed that ../gmp exist and that it is version 4.2.4...
>
> note that at the beginning I was also getting the error with mpfr and I added
> the command
>
> */*/--with-mpfr=$LFS/sources/mpfr/mpfr.h/*/*
>
> now it just complains about gmp.h
>
> any pointers on this? I tried to point it to /usr/include/gmp.h and to
> $LFS/sources/gmp/gmp-h.in <http://gmp-h.in> because there is no other...
>
> nothing has worked.
>
You don't need to specify the location for GMP and MPFR...at least, not
if you are following the book. My guess is that you have not unpacked
gmp and mpfr in the right location, most likely because you've forgotten
about the last note on page 5.3. At stated there, with each package, you
unpack the package tarball, cd into the created source dir, *then*
follow the instructions on the page. Therefore, GMP and MPFR should have
been unpacked from inside the GCC source dir, as that is where you are
expected to be.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page