MDK 6.1 uses pgcc, the rpm is on your disk.
src.rpm's are *sorce* code, ie: not compiled.

You might be better off upgrading or reinstalling
(from your current CD) & choosing the development 
tools. N.B. upgrading can break stuff, so backup..

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
> 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
> have no idea.. so I open them with archiver and untar them into
> /root/gcc-2.95.2 and end up with what looks to be like install and
> configuration scripts.. Alright.. im there methinks.
> 
> So i type, configure --prefix=MYDIR /usr/local   (why?? cause i have no idea
> at all what else to do, and it seemed ok at the time..) and get this
> message.
> 
> Created "Makefile" in /root/gcc-2.95.2
> /root/gcc-2.95.2/configure: cc: command not found
> *** The command 'cc -o conftest -g conftest.c' failed.
> *** You must set the environment variable to CC to a working compiler...
> 
> DANG IT... FRICK.. STUPID THING.. WHAT DOES IT THINK IM TRYING TO DO, BUT
> INSTALL A WORKING COMPILER...
> 
> My path of course, is set to include /root/gcc-2.95.2 where i presume any
> well behaved c compiler would hang out...
> 
> I will not give up..... one day I will succeed.... with your
> help......please?
> 
> Aaron  newbie2

Reply via email to