Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-29-2009, 01:06 AM   #1
Arty Ziff
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 116

Rep: Reputation: 15
Can't Compile Source Files

I've installed CentOS v5 (why? I'm familure with RHEL4, and I am comfortable with it).

But apparently, I failed to check the right boxes to give me an environment where I can compile / configure / make / install from source.

In other words, gcc and associated packages where missing.


I installed gcc (yum install gcc), but apparently that's not enough.

When I expand an application archive and attempt ./configure, I get this:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
And make gives me this:
make: *** No targets specified and no makefile found. Stop.
Doesn't matter what applications, so I assume I don't have all the gcc utilities.

What have I forgotten to install?
Old 01-29-2009, 01:16 AM   #2
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You need gnu autoconf and make/automake utilities as well if you want to compile packages from source.

yum install autoconf
yum install make or automake

This will install these packages.

Last edited by linuxlover.chaitanya; 01-29-2009 at 01:18 AM.


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
unable to compile source files Hallowedpoint Linux - Newbie 6 11-19-2005 09:02 AM
Where must I download files to so I can compile and install from source? eBopBob Linux - Software 3 08-12-2004 03:52 PM
Using g++ to compile multiple source files arnab_be Linux - Newbie 1 03-03-2004 03:22 PM
Using g++ to compile multiple source files arnab_be Linux - Newbie 1 03-03-2004 03:21 PM
Java: Compile Large number of source files ? mikeshn Programming 7 10-07-2003 12:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration