you are right... the thing is that when i did this: tar -jxf ../mpfr-2.3.2.tar.bz2 mv mpfr-2.3.2 mpfr tar -jxf ../gmp-4.2.4.tar.bz2 mv gmp-4.2.4 gmp
I assumed that it was extracted in ../ but actually was extracted in the current directory... the thing is that according to the book: "After installing each package, delete its source and build directories, unless specifically instructed otherwise. Deleting the sources prevents mis-configuration when the same package is reinstalled later." what i did is that I moved used packages in to a folder called .used and then when i moved them back i misplaced gmp and mpfr... thanks for pointing that out... On Thu, Jul 23, 2009 at 12:28 AM, Chris Staub <[email protected]> wrote: > 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 > -- ====================================================================== "The shortest way to do many things is to do only one thing at a time."
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
