Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 03-10-2005, 06:12 PM   #1
LQ Newbie
Registered: Dec 2004
Distribution: FC3
Posts: 11

Rep: Reputation: 0
compilers and adding/removing programs

hello everyone! i've been downloading tarballs for various programs i want to use, but when compiling i get a error message:
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
i can't compile anything i've gotten. Im using FC3 and i've only seen one or two other posts on it. The one where one person replied said to install the default one through the install i tried that butim missing a bunch of packages and i can't figure out how to install them, so it won't let me run anything off of the CD. Anyone have any advice?
Oh yeah, i forgot to mention that i've used yum to install just about everything having to do with c++

Last edited by spartn119; 03-10-2005 at 06:13 PM.
Old 03-10-2005, 07:25 PM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Looks like you're still missing some development libraries, installing all devel libraries might help.
Old 03-10-2005, 08:10 PM   #3
LQ Newbie
Registered: Dec 2004
Distribution: FC3
Posts: 11

Original Poster
Rep: Reputation: 0
well thats what im trying to find do i go about installing new libraries/finding what libraries needed to be installed?
Old 03-15-2005, 01:13 AM   #4
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120

Rep: Reputation: 15
hey im getting the same message, I can't compile anything
Old 03-15-2005, 03:32 AM   #5
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
You're missing at least the gcc-c++ package.
Old 03-15-2005, 03:59 AM   #6
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,292

Rep: Reputation: 65
sometimes you can find out what libraries you need from the readme in whatever you are trying to compile. often not. I just try to configure something, and usually it will tell me what it needs. usually configure will say, so and so file not found. if you're just starting compiling stuff, you'll probably have to google sometimes to find out what package the file is part of.
with most distributions, the actual library or executable stuff is seperate from the header files you need to compile stuff. they will call the package something-devel. You need the same version of devel as the package you have installed for stuff to work.


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
problems adding/removing users in FreeBSD asilentmurmur *BSD 14 10-26-2005 05:43 PM
removing and adding route juanb Linux - Networking 1 04-03-2005 08:33 AM
Removing boot up programs Ed_999 Slackware 3 11-07-2004 09:07 PM
Removing Compilers? rmdl Linux - Security 3 02-19-2004 02:34 PM
Installing / Removing Programs ludeKing Linux - Newbie 3 09-09-2003 01:40 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:59 PM.

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