Visit Jeremy's Blog.
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 11-29-2004, 05:03 AM   #1
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
[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, 06:02 AM   #2
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

The package you're trying to install is available as a binary RPM - you can either search for compat-db on , 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.

Old 11-29-2004, 06:58 PM   #3
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30


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 03:23 AM
where are located the ethernet-card driver sources code in OpenBSD /usr/src/...? maqelgav *BSD 5 06-09-2004 04:02 AM
Instructions: 2.6.x src. kernel build for Redhat Base. Package Updates from Fedora mchirico Red Hat 0 05-11-2004 08:19 PM
RedHat and src.rpm build of MySQL wdingus Linux - Software 3 04-15-2003 06:23 PM
chown -R $USER /usr/src/redhat illtbagu Linux - Newbie 8 01-21-2003 02:36 PM

All times are GMT -5. The time now is 04:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration