LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 08-28-2003, 11:45 AM   #1
eye
Member
 
Registered: May 2003
Distribution: fedora 1
Posts: 137

Rep: Reputation: 15
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???????
 
Old 08-28-2003, 11:56 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
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..
 
Old 08-28-2003, 10:04 PM   #3
eye
Member
 
Registered: May 2003
Distribution: fedora 1
Posts: 137

Original Poster
Rep: Reputation: 15
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??

Last edited by eye; 08-28-2003 at 10:05 PM.
 
Old 08-28-2003, 11:35 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISTCC failure and GCC CHOST change jacoby Linux - Software 0 01-20-2005 01:53 AM
Failure of gcc -m32 on an x86_64 RockM66 Linux - Software 0 01-19-2005 04:07 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare Suse/Novell 3 11-29-2004 02:13 PM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 10:20 PM
Chapter 5, GCC pass 1: compile failure Electrode Linux From Scratch 0 08-16-2003 07:31 PM


All times are GMT -5. The time now is 01:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration