Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-28-2002, 06:38 PM   #1
LQ Newbie
Registered: Jul 2002
Location: CHILE
Distribution: Red Hat 8.0
Posts: 8

Rep: Reputation: 0
Now I have gcc/cpp/cpp, but still can't install

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

Old 07-28-2002, 07:39 PM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
It means that gcc-3.2-0.1.src.rpm is not in the directory you are issuing the command from
as root
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
Old 07-30-2002, 03:13 AM   #3
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
no no no thier trying to install a source rpm which requires you have gcc to build it


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
MythTV Install: compile errors dialogbox.cpp shubb Linux - Software 0 09-14-2005 01:00 PM
gcc-cpp problems (Mandrake 10.1) fatenabu Linux - Software 0 07-27-2005 01:42 PM
problem with cpp and gcc limboonlee Debian 2 04-25-2005 12:19 PM
C-cpp forgets to remove gcc-keywords and to expand __restrict-macro bramadams Fedora 0 02-11-2005 04:53 AM
debian dpkg cpp depends on cpp error darkleaf Linux - Software 2 06-25-2004 01:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:11 AM.

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