Link to home
Start Free TrialLog in
Avatar of ryan_bender
ryan_bender

asked on

Installing Apache 1.3.41 on openSUSE 10.3

I'm trying to install Apache 1.3.41 on a openSUSE 10.3 linux box.  I'm compiling from source, so I try to run the command './configure --prefix=/usr/local/apache'.  It starts, but then tells me 'Error: could not find any of these C compilers anywhere in yourPATH: gcc cc acc c89'.

I then tried to find out if any of those C compilers were on the machine.  I ran 'find / -name gcc' and got the response '/usr/lib/gcc'.  So I know gcc is on the box already.  

Then I tried to add it to the PATH environmental variable, by running the commands 'PATH=$PATH:/usr/lib/gcc' and 'export PATH'.

However, I'm still getting the same error.  I thought I did what it was asking for.  Anyone have an idea?  

Thanks.
Avatar of ravenpl
ravenpl
Flag of Poland image

Run yast2, go to add/remove software, install gcc-c++ development package.
Avatar of ryan_bender
ryan_bender

ASKER

I don't understand.  The gcc compiler is already installed at '/usr/lib/gcc'.  When I dig deeper, I find the file 'cc1' in '/usr/lib/gcc/i586-suse-linux/4.2.1'.  Isn't this the compiler the Apache configure file is looking for?
IMHO it's not gcc compiler.
/usr/lib/gcc --version # anything? If so, then
export PATH="$PATH:/usr/lib"
./configure ...
I'm not sure I understand what you mean by:

/usr/lib/gcc --version # anything? If so, then
export PATH="$PATH:/usr/lib"
./configure ...

Inside the /usr/lib/gcc directory is the 'i586-suse-linux' directory.  Inside that are two sub directories: '2.95.3' and '4.2.1'.  Inside the '4.2.1' directory is the 'cc1' file.

If you're asking for a version number, I would assume it would be 4.2.1 from the folder it is in.  Would you be able to clarify?  Thank you again.
ASKER CERTIFIED SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That was it!  Thank you.  
Worked!  Thanks again!