LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 12:06 AM   #1
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

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, 12:16 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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 12:18 AM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:00 PM.

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