Now I have gcc/cpp/cpp, but still can't install
Hi,
yesterday I posted a message about installing gcc/cc/cpp etc. Now, trying to install it I get this message rpm -i gcc-3.2-0.1.src.rpm error: cannot create %sourcedir /usr/src/redhat/SOURCES A user of this site said i have to use rpm --rebuild gcc-3.2-0.1.src.rpm but I get this message rpm --rebuild gcc-3.2-0.1.src.rpm gcc-3.2-0.1.src.rpm: No such file or directory Thanks |
It means that gcc-3.2-0.1.src.rpm is not in the directory you are issuing the command from
as root run find / -name gcc-3.2-0.1.src.rpm -exec rpm --rebuild '{}' ';' if it finds the file it executes rpm --rebuild on it then it rpm --rebuild puts the rpm files into /usr/src/redhat/RPMS/<architecture directory> then just descend into apropriate directory and run rpm -ihv package1.rpm package2.rpm and so on |
no no no thier trying to install a source rpm which requires you have gcc to build it
|
All times are GMT -5. The time now is 10:57 AM. |