Thanks for your reply Ashish, I tried again but nothing happens. I get the same error. It looks like file "gmp.h" don't exist inside gmp directory. What I don't understand is Why when I execute configure:
$ ./configure \ --target=$LFS_TGT --prefix=/tools \ --disable-nls --disable-shared --disable-multilib \ --disable-decimal-float --disable-threads \ --disable-libmudflap --disable-libssp \ --disable-libgomp --enable-languages=c \ --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \ --without-ppl --without-cloog It create the Makefile and all look fine, but when I try to compile $ make I get the error. Regards, Lázaro. En 01/10/2011 00:58:45, Ashish Mishra <dgash...@gmail.com> escribió: > while installing in chapter 5 I faced same issue , even though the > recquired folder was present i got error. I did the following > :- removed all the folder required at this point including > gcc. repeated the steps one by one and also crosschecked result at > each step.Also before make command try CD TO REQUIRED FOLDER SO U ARE > SURE U ARE CORRECT. Also make sure you dont put extra space at the > name of folder. Think it might help u. > > On 9/30/11, Lázaro Morales <laz...@frioclima.com.cu> wrote: >> Hello Juan Alberto, >> >> Thanks for your reply. >> >> En 30/09/2011 12:47:44, Juan Alberto Regalado Galván <00j...@gmail.com> >> escribió: >> >>> So by this point you should have three more folders under the gcc >>> directory named "mpfr" "gmp" and "mpc". Those should be the names of >>> the folders (without number versions). >> >> Yes, I have these three folders under "gcc" directory. This is the >> directory tree: >> >> /media/lfs/build/gcc-4.5.2 >> /media/lfs/build/gcc-4.5.2/gmp >> /media/lfs/build/gcc-4.5.2/mpfr >> /media/lfs/build/gcc-4.5.2/mpc >> [..] >> >> But inside "gmp" folder I can't find "gmp.h" file: >> >> $ ls -l /media/lfs/build/gcc-4.5.2/gmp | grep .h >> -rw-r--r-- 1 lfs lfs 863533 Feb 6 2010 ChangeLog >> -rw-r--r-- 1 lfs lfs 86277 Feb 6 2010 gmp-h.in >> -rw-r--r-- 1 lfs lfs 178271 Feb 6 2010 gmp-impl.h >> -rw-r--r-- 1 lfs lfs 114646 Feb 6 2010 gmpxx.h >> -rwxr-xr-x 1 lfs lfs 9505 Feb 6 2010 install-sh >> -rw-r--r-- 1 lfs lfs 71008 Feb 6 2010 longlong.h >> -rwxr-xr-x 1 lfs lfs 243248 Feb 6 2010 ltmain.sh >> -rw-r--r-- 1 lfs lfs 5417 Feb 6 2010 mp-h.in >> -rw-r--r-- 1 lfs lfs 1478 Feb 6 2010 randmt.h >> >> Errors: >> >>>> configure: error: gmp.h can't be found, or is unusable. >>>> make[1]: *** [configure-mpfr] Error 1 >> >> I don't understand what happens with "mpfr". >> >> Thanks in advance. >> Regards, >> Lázaro. >> >> Este mensaje de correo electrónico ha sido procesado por el servidor de >> Frioclima >> >> >> -- >> http://linuxfromscratch.org/mailman/listinfo/lfs-support >> FAQ: http://www.linuxfromscratch.org/lfs/faq.html >> Unsubscribe: See the above information page Este mensaje de correo electrónico ha sido procesado por el servidor de Frioclima -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page