LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
Search this Thread
Old 11-29-2004, 04:03 AM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
rpmbuild doesn't produce the source code in /usr/src/redhat/BUILD


Dear all,

I have got a srpm files called "compat-db-4.0.14-2.src.rpm "

I tried to install the thing by following the steps issued in a textbook. below is what I did:

[root@neo rpms]# rpm -i compat-db-4.0.14-2.src.rpm
warning: compat-db-4.0.14-2.src.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
[root@neo rpms]# cd /usr/src/redhat/SPECS/

[root@neo SPECS]# ls
compat-db.spec
[root@neo SPECS]# rpmbuild compat-db.spec

then according to the book, there should be a source code files placed in /usr/src/redhat/BUILD/compat-db

but there is nothing in there.....
however all the archives are available in /usr/src/redhat/SOURCES

I tried to install this compat-db-4.0.14-2 because squidguard needs it....

Hope anyone who knows can help,
thanks in advance
 
Old 11-29-2004, 05:02 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

The package you're trying to install is available as a binary RPM - you can either search for compat-db on www.rpmseek.com , or do 'yum install compat-db'.

As for the SOURCES / BUILD issue, I would imagine the sources from the srpm would be placed in SOURCES, not BUILD.

Dave
 
Old 11-29-2004, 05:58 PM   #3
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
thanks
ilikejam!!
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about /usr/src/redhat/RPMS/subdirs stefaandk Fedora 1 06-23-2005 02:23 AM
where are located the ethernet-card driver sources code in OpenBSD /usr/src/...? maqelgav *BSD 5 06-09-2004 03:02 AM
Instructions: 2.6.x src. kernel build for Redhat Base. Package Updates from Fedora mchirico Red Hat 0 05-11-2004 07:19 PM
RedHat and src.rpm build of MySQL wdingus Linux - Software 3 04-15-2003 05:23 PM
chown -R $USER /usr/src/redhat illtbagu Linux - Newbie 8 01-21-2003 01:36 PM


All times are GMT -5. The time now is 04:18 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