LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   gmp.h can't be found on chapter 6.13 (https://www.linuxquestions.org/questions/linux-from-scratch-13/gmp-h-cant-be-found-on-chapter-6-13-a-729650/)

charlie_lab 05-31-2009 07:09 AM

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

druuna 05-31-2009 08:00 AM

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.

charlie_lab 05-31-2009 08:15 AM

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

charlie_lab 05-31-2009 10:54 AM

Hello,

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

Roelof

pankajmittl 01-18-2010 11:55 PM

which book are you referring to?

druuna 01-19-2010 01:26 AM

@pankajmittl: This is a 9 month old thread that is solved. What is the point of replying?

pankajmittl 01-19-2010 11:23 PM

I'm new to gcc and I was also getting same problem so thought of referring to that book...

druuna 01-20-2010 06:17 AM

@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.


All times are GMT -5. The time now is 06:58 AM.