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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-28-2003, 11:45 AM
|
#1
|
Member
Registered: May 2003
Distribution: fedora 1
Posts: 137
Rep:
|
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???????
|
|
|
08-28-2003, 11:56 AM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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..
|
|
|
08-28-2003, 10:04 PM
|
#3
|
Member
Registered: May 2003
Distribution: fedora 1
Posts: 137
Original Poster
Rep:
|
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.
|
|
|
08-28-2003, 11:35 PM
|
#4
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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 09:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|