On Wed, 26 Jan 2000, Mercy Ships-Pacific Webmaster wrote:
> Well here goes... thanks to all of you that hang out and help on these
> lists.. I should think that this would be a common problem for anyone
> wanting to install stuff on their system...
> I am attempting to install mysql onto my system
> I run the ./configure script, but get the error..
>
> checking for gcc... no
> checking for cc... no
> configure: error: no acceptable cc found in $PATH
>
> right... so I look for it myself.. find / -name gcc* -print
>
> nope.. no luck.. tried the same for cc.. no luck..
>
> I searched through the mandrake and redhat RPMS on my Linux 6.0 disks but
Mandrake 6.0 uses a version of gcc (actually egcs I think) specialized in
compiling with Pentium optimizations, called pgcc. So look for the pgcc
packages on your Mandrake 6.0 CD.
> couldn't find an RPM that indicated either of those. So I ftp
> gcc-2.95.2-3mdk.src.rpm
>
> aha.. i say to myself.. Im getting there.. I start RPM and open
> gcc-2.95.2-3mdk.src.rpm install it and presto..... or so i think... tried
> installing mysql again but get the same freaking error message.. Ok. so I
> locate gcc and find that the RPM has copied 8 files into
> /usr/src/RPM/SOURCES with the extension .tar.bz2 what the frick these are I
Well, take a look at the file you downloaded.
gcc-2.95.2-3mdk.src.rpm
---
That's a SOURCE RPM. So, installing it did not give you a compiled gcc
binary.
I'd recommend installing the compiler that's in your distribution (in this
case pgcc), but I guess gcc-2.95.2 will be okay for you too if you grab a
compiled RPM.
-Tom