Originally posted by Saaby:
I think we've missed a critical piece of info here.
GCC is *not* in an RPM. I am attempting to follow the installation instructions. When I try to make the file (IE I go to the directory everything was untared to and say "make" as the instructions have told me to do) it runs into:
"error: no acceptable cc found in $Path"
and the only reason I'm trying to install gcc is because when I try to install wmwave (Again, when I say make) I get:
"make: cc: command not found"
<font size="2" face="Verdana, Arial">gcc is libraries and programs for compiling things. cc is part of the whole gcc rpm. You can't compile gcc without having gcc installed. This is why you're running into the cc not found error. For the first time installing gcc, you need to install it from a binary. The quickest way to do this for you is from the RPM. After you have this installed, you can run make again and it should work. However I should warn you that compiling gcc from source (tarball) can often be complicated. It's best to use the redhat rpms because this way all the libs and bins are inserted into the correct directories where redhat expects them to lie. Otherwise you will run into compilation errors later on.
In general it's always bad to install strait from a tarball. This is because you have no good way to uninstall and reliably remove all the files placed on your system. If you're gonna use package management at all, in this case RPM, you should stick to it, otherwise you'll run into conflicts.
So...
Do this:
wget
ftp://ftp.dulug.duke.edu/ftp.redhat.com/pub/redhat/linux/8.0/en/os/i386/RedHat/RPMS/gcc-3.2-7.i386.rpm
(Notice I had to connect to a mirror because ftp.redhat.com so so bogged down it's unusable. It was this way back when I ran rh too. Another reason why rh stinks.)
If you don't have wget, use fetch
fetch
ftp://ftp.dulug.duke.edu/ftp.redhat.com/pub/redhat/linux/8.0/en/os/i386/RedHat/RPMS/gcc-3.2-7.i386.rpm
If you don't have fetch(which is a good tool, and so is wget, you might want to get these later if you don't have them), download the gcc RPM whatever way you've been downloading ftp files thus far.
Also, I'm assuming you're running RH 8.0, if not, make the neccessary directory changes.
Then once it's downloaded(could take a while especially from ftp.redhat.com)
rpm -ih --nodeps gcc-3.2-7.i386.rpm
Not 100% sure on if it's "--nodeps" or not, but again just like the -h flag, that's how it automatically came out of my fingers. Check the man page if it fails on you.
After doing this the base gcc will be installed, assuming rpm doesn't throw a fit for who knows what reasons.
There are also several other GCC rpms on the redhat site, you might look into installing these too if you plan to compile anything that may require them.
-tibim