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.
LinuxApache Web ServerSoftware

Avatar of undefined
Last Comment
ryan_bender

8/22/2022 - Mon
ravenpl

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

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

IMHO it's not gcc compiler.
/usr/lib/gcc --version # anything? If so, then
export PATH="$PATH:/usr/lib"
./configure ...
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER
ryan_bender

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
ravenpl

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
ryan_bender

That was it!  Thank you.  
ASKER
ryan_bender

Worked!  Thanks again!
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.