LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Gmp 5.0.4 Problems with C++ compiler not FOund (http://www.linuxquestions.org/questions/linux-from-scratch-13/gmp-5-0-4-problems-with-c-compiler-not-found-4175421735/)

xerofoify 08-12-2012 02:09 PM

Gmp 5.0.4 Problems with C++ compiler not FOund
 
I am having problems to configure Gmp and wanted to known how to fix it , the configure states that no C++ compiler is found in my path yet I have g++ in my /tools/bin directory.

druuna 08-12-2012 03:50 PM

You need to provide more information:
- Which host are you using and was it made compliant,
- Which LFS version are you trying to build,
- Which chapter are you struggling with,
- The exact lines (say +/- 10) leading up to and including the error(s) configure produced,
- Did you have other issue's before this came across your path.

xerofoify 08-12-2012 05:07 PM

I am using Fedora 17 and it is complaint with what is needed.I also downgraded to gcc 4.6.2 as there was issues with the linker system in chapter 5. Also I am using LFS 7.1 as the packages I am using can handle it.
Here is the output of the problem
------------------------------------
checking build system type... coreisbr-unknown-linux-gnu
checking host system type... coreisbr-unknown-linux-gnu
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 enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -O2 -pedantic -m64 ... yes
checking compiler gcc -O2 -pedantic -m64 -mtune=corei7... yes
checking compiler gcc -O2 -pedantic -m64 -mtune=corei7 -march=corei7... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking build system compiler gcc -std=gnu99... yes
checking for build system preprocessor... gcc -std=gnu99 -E
checking for build system executable suffix...
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking C++ compiler g++ -O2 -pedantic -m64 -mtune=corei7 -march=corei7... no
checking C++ compiler g++ -g -O2... no
configure: error: C++ compiler not available, see config.log for details


All times are GMT -5. The time now is 04:56 PM.