Click to See Complete Forum and Search --> : need a C++ compiler in path


KilerCris
03-07-2001, 05:59 PM
[root@cn510908-a apache_1.3.14]# ./configure --prefix=/usr/local/apache
Configuring for Apache, Version 1.3.14
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated

I think I found gcc at /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/

my path is
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

I tried making a link in /usr/bin to /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/cpp..named it cpp and gcc and still didn't work..please help

bobarian
03-07-2001, 06:03 PM
Type whereis gcc at the prompt. It will give you all the places where gcc is.

KilerCris
03-07-2001, 07:12 PM
ermmm nothing...

sahti
03-07-2001, 08:54 PM
C and C++ may not be installed. When I installed Mandrake 7.2 it didn't install C and C++ but it did install CPP, which is a pre-compiler. At / type:

find . -name gcc.* -print

if you don't get anything, then the Gnu C compilier isn't on your system and since you need C to use C++, then C++ isn't on it either. I found C and C++ on the second CD in the RPM folder.

KilerCris
03-07-2001, 09:40 PM
Yeah thanks I've already dug it up..there alto of interesting stuff to be found in the RMPS dir of those CDs