LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-31-2009, 07:09 AM   #1
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Rep: Reputation: 30
gmp.h can't be found on chapter 6.13


Hello,

Im now working on chapter 6.13 MPFR-2.3.2
When i do the configure command i get this message:
Code:
root:/sources/mpfr-2.3.2# ./configure --prefix=/usr --enable-thread-safe
checking for a BSD-compatible install... /tools/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /tools/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ICC... no
checking for function prototypes... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for main in -lm... yes
checking whether time.h and sys/time.h may both be included... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for string.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/fpu.h usability... no
checking sys/fpu.h presence... no
checking for sys/fpu.h... no
checking for memmove... yes
checking for memset... yes
checking for setlocale... yes
checking for strtol... yes
checking for gettimeofday... yes
checking for union fpc_csr... no
checking for fesetround... yes
checking for gcc float-conversion bug... yes, use -ffloat-store
checking for denormalized numbers... yes
checking if NAN == NAN... no
checking if charset has consecutive values... yes
checking for math/round... no
checking for math/trunc... no
checking for math/floor... yes
checking for math/ceil... yes
checking for math/rint... no
checking for long double... yes
checking format of `long double' floating point... IEEE extended, little endian
checking for TLS support... yes
checking for gmp.h... no
configure: error: gmp.h can't be found, or is unusable.
GMP was compiled and installed without any errors.
On the test all 139 test were succeed.

What now ?

Roelof
 
Old 05-31-2009, 08:00 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

GMP was installed in the previous chapter (6.12), are you sure it (GMP) was installed properly and all the test succeeded?

If unsure, redo GMP (6.12), remove the sourcetree of MPFR and redo that one as well.

BTW: I pointed out that you have to remove the source tree, just in case..... I do hope that you always remove them when you are ready with a particular step (as stated in the LFS doc) unless the LFS doc says _not_ to remove them because they are needed later on.
 
Old 05-31-2009, 08:15 AM   #3
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello,

Im sure that gmp was installed good and all test are succeeded.
But be very sure i will redo the steps of the chapter of gmp.

I know that i have to delete the source tree.

Roelof
 
Old 05-31-2009, 10:54 AM   #4
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello,

I redid the steps for gmp and everything is working well.
Thank you.

Roelof
 
Old 01-18-2010, 11:55 PM   #5
pankajmittl
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
which book are you referring to?
 
Old 01-19-2010, 01:26 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
@pankajmittl: This is a 9 month old thread that is solved. What is the point of replying?
 
Old 01-19-2010, 11:23 PM   #7
pankajmittl
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
I'm new to gcc and I was also getting same problem so thought of referring to that book...
 
Old 01-20-2010, 06:17 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
@pankajmittl: Do you have a general gcc question/problem or one that is LFS specific?

If it is the first (general gcc) then you might want to start a new thread in the appropriate forum (programming) and describe, as detailed as possible, the problem you are facing.

The thread you just posted in is not gcc related (it deals with mpfr and gmp).

Hope this helps.
 
  


Reply


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
LFS 6.3, messed up somewhere prior to chapter 6.12 (gcc), how to restart chapter 6? Funkster Linux From Scratch 2 12-24-2008 06:30 AM
Installing gmp cybernike Linux - Newbie 1 05-15-2008 02:41 PM
Glade + Gmp ! _ AsiF Linux - Software 1 03-17-2008 08:11 AM
trying to use gmp BadTaste Programming 1 08-04-2004 09:10 AM
GMP dies when logging out of X ? bustamelon Slackware 6 11-21-2002 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:17 PM.

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