LinuxQuestions.org
Visit Jeremy's Blog.
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 08-12-2012, 02:09 PM   #1
xerofoify
LQ Newbie
 
Registered: Jul 2012
Posts: 17

Rep: Reputation: Disabled
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.
 
Old 08-12-2012, 03:50 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
Old 08-12-2012, 05:07 PM   #3
xerofoify
LQ Newbie
 
Registered: Jul 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
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
 
  


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
mpc 0.9: error: gmp.h can't be found, or is unusable. tbodine88 Linux - General 3 12-13-2011 01:20 PM
[SOLVED] gmp.h not found computerfreak97 Linux From Scratch 1 12-26-2010 08:15 PM
gmp.h can't be found on chapter 6.13 charlie_lab Linux From Scratch 7 01-20-2010 06:17 AM
C Compiler not found asim123 Linux - Software 5 07-03-2007 02:34 AM
c compiler not found Atomtomate Linux - Server 4 12-23-2006 07:21 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration