Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 01-10-2013, 04:22 AM   #1
Registered: Aug 2012
Posts: 46

Rep: Reputation: Disabled
LFS-7.2: mpfr-3.1.1, error: gmp.h can't be found, or is unusable.

I just tried to install my LFS-7.2 using scripts on my laptop. But I can't build mpfr-3.1.1 all I get is "error: gmp.h can't be found, or is unusable."

I don't understand why I get this error, I have built LFS-7.2 using the same scripts without problem in VirtualBox.

EDIT: Forgot to say that gmp.h is in /mnt/lfs/usr/include (that is /usr/include when in chroot) and a diff /usr/include/gmp.h /mnt/lfs/usr/include/gmp.h gives no difference. I'm running on my own LFS cd i built in VirtualBox using my LFS-7.2 I built in VirtualBox using the exact same scripts..

EDIT-2: I have now solved my problem, found a tiny bug in my adjusting-toolchain script so it was never adjusted.

Last edited by McZ; 01-10-2013 at 07:16 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error building GMP, MPFR, MPC libs with gcc 4.7.0 in cygwin lb_dbd Linux - Newbie 2 04-11-2012 04:23 PM
gmp error while compiling mpfr on ubuntu KeiNivky Linux - Software 7 12-16-2011 10:35 AM
mpc 0.9: error: gmp.h can't be found, or is unusable. tbodine88 Linux - General 3 12-13-2011 01:20 PM
i have an error Building GCC: requires GMP 4.1+ and MPFR 2.3.0+. robineecc1 Linux From Scratch 14 10-03-2011 09:41 PM
what is the use of mpfr and gmp is they are not used ? Manual error ? centguy Linux From Scratch 8 01-25-2010 05:57 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration