Re: [Nolug] basic question

From: mikey_at_otisinc1.net
Date: Mon, 19 May 2003 10:39:32 -0400 (EDT)
Message-ID: <35275.192.168.1.59.1053355172.squirrel@mail.otisinc1.net>

> I installed redhat 9 this weekend, tried to download & install apache
> 1.27 - the configure command returned saying it could not find a
> compiler. did i miss something, I thought that would have been part of
> even the most basic intsall

First, I'd make sure that you don't have gcc. Query the rpm database with...

$>rpm -q gcc

...if it's not there, it will answer with...

package gcc is not installed

Then you'll have to either get the rpm from the CD or you can download it
here.

ftp://rpmfind.net/linux/redhat/9/en/os/i386/RedHat/RPMS/gcc-3.2.2-5.i386.rpm

...after you download it, su to root and type....

#>rpm -i gcc-3.2.2-5.i386.rpm
         ^^^^^^^^^^^^^^^^^^^^
(Or whatever the file name is.)

If gcc is there, it will answer with something like...

gcc-3.2-7

If it's there, but apache's configure isn't picking it up, make sure the
script is looking in the right path. To find the path, just type...

$>which gcc

or

$>whereis gcc

...and make sure the path in the script follows such. If it gives you any
grief after all that, make sure the script is happy with the version
you're using.

--
Since-beer-leekz,
Mikey
"Whatever it is, I'm against it"-Groucho Marx
___________________
Nolug mailing list
nolug@nolug.org
Received on 05/19/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST