Installing a GCC-compiler
Greetings,
Ok, I'm slowly learning my way around Linux and so far, it has been alright (other than the other night when I ended up having to reinstall Fedora because I did the required updates and the updates crashed my system). Anyways, I'm avoiding the updates for the next little while, but I'm having an issue trying to install the tar.gz files for Window Maker and Black Box. It turns out the errors were because there wasn't a c compiler installed and I need to install one. So, I've downloaded the RPM for GCC and when I try to install it, I get the error listed below:
error: cannot create %sourcedir /usr/src/redhat/SOURCES
Now, I've tried installing as both a user and root and I'm still getting the same error. Now, am I going to have to manually create the directory or is there something wrong that I'm not doing. When I try to run the rpm command, I'm running rpm -ivh gcc* and the file that I'm trying to install is gcc-3.3.2-6.src.rpm. Now, I've also read that because it is a source file, that I have to run RPMBUILD, but that command doesn't exist. Once again, I apologize if I'm asking too many questions. I even read the man pages on RPM and couldn't find the command RPMBUILD either.
|