LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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.

So...

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

When I expand an application archive and attempt ./configure, I get this:
Quote:
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:
Quote:
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
linuxlover.chaitanya
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.
 
  


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
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


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