LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't Compile Source Files (https://www.linuxquestions.org/questions/linux-newbie-8/cant-compile-source-files-700705/)

Arty Ziff 01-29-2009 12:06 AM

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?

linuxlover.chaitanya 01-29-2009 12:16 AM

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.


All times are GMT -5. The time now is 05:21 AM.