LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gcc install failure ............. (https://www.linuxquestions.org/questions/linux-software-2/gcc-install-failure-86630/)

eye 08-28-2003 11:45 AM

gcc install failure .............
 
redhat9.0 used.........................
[root@localhost root]# rpm -Uvh gcc-3.2.2-5.src.rpm
warning: gcc-3.2.2-5.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: cannot create %sourcedir /usr/src/redhat/SOURCES
What does this error message mean???????

DrOzz 08-28-2003 11:56 AM

well try it with rpm -ivh instead of rpm -Uvh, and maybe also try to do rpmbuild --rebuild filename.src.rpm, and if you still have problem persisting, just go ahead and su to root and make the directory structure /usr/src/redhat/SOURCES manually, and then try rpm -ivh filename.src.rpm...post back if you still have problems..

eye 08-28-2003 10:04 PM

run by rpm -ivh command. same error message appear.
so, After make the directory structure /usr/src/redhat/SOURCES manually. next, run the command in shell prompt
[root@localhost root]# rpm -ivh gcc-3.2.2-5.src.rpm
warning: gcc-3.2.2-5.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
1:gcc ########################################### [100%]
to check install for the gcc
[root@localhost root]# rpm -q gcc
package gcc is not installed
why package gcc is not installed??

DrOzz 08-28-2003 11:35 PM

cause its a source file, so it put it in the directory that you just made, that you were getting errors with...
if you just wanted it to install from the get go, then you would have to get an rpm that looked like:
gcc-3.2.2-5.rpm
rather than
gcc-3.2.2-5.src..rpm


All times are GMT -5. The time now is 03:06 PM.