LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-23-2013, 08:04 PM   #1
eyeeze
LQ Newbie
 
Registered: Nov 2013
Posts: 5

Rep: Reputation: 0
Question Error in 5.5. GCC-4.8.1 - C++ compiler missing or inoperational?


My host system is Linux Mint 15 Cinnamon X86_64.

The configure step for the 1st pass of GCC goes fine, and then I run "make". It runs for a while and then gives me a very strange "C++ compiler missing or inoperational" error. The tail end of the system message is pasted below.

I have checked and have GCC installed. Any thoughts on what I should try or check? Thanks much.

Code:
checking for aclocal... no
checking for autoconf... no
checking for autoheader... no
checking whether gcc supports -W... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wnarrowing... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wc++-compat... yes
checking whether gcc supports -pedantic -Wlong-long... yes
checking whether gcc supports -fno-exceptions... yes
checking whether gcc supports -fno-rtti... yes
configure: error: C++ compiler missing or inoperational
make[1]: *** [configure-libcpp] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
 
Old 11-23-2013, 08:13 PM   #2
eyeeze
LQ Newbie
 
Registered: Nov 2013
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry, forgot to add that I checked and have g++ version 4.7 installed as well.
 
Old 11-23-2013, 09:43 PM   #3
eyeeze
LQ Newbie
 
Registered: Nov 2013
Posts: 5

Original Poster
Rep: Reputation: 0
OK, in the meantime I went into the Synaptic package manager and uninstalled the version of g++ I had installed on my host system. I reinstalled both g++ and g++-4.7 and tried again. I seem to have gotten past this hurdle as I no longer get this error. Kind of strange and I don't understand why this fixed anything. Still, I will mark it solved.

Thanks.
 
  


Reply



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
configure: error: C++ compiler missing or inoperational while trying to make gcc jfernandez1977 Linux - Software 12 07-05-2013 02:05 PM
GCC compiler giving syntax error before 'double' error dragonmint Programming 2 06-02-2007 02:07 PM
in gcc compiler error: parse error before string constsnt cynthia_thomas Linux - Networking 1 10-20-2005 01:29 AM
gcc compiler error maheshbmane Programming 3 09-02-2005 09:23 PM
Gcc compiler error Yoda Sabre Linux - Software 9 08-16-2004 03:53 PM

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

All times are GMT -5. The time now is 09:12 AM.

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