LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rpmbuild doesn't produce the source code in /usr/src/redhat/BUILD (https://www.linuxquestions.org/questions/linux-software-2/rpmbuild-doesnt-produce-the-source-code-in-usr-src-redhat-build-260431/)

Niceman2005 11-29-2004 04:03 AM

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

ilikejam 11-29-2004 05:02 AM

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

Niceman2005 11-29-2004 05:58 PM

thanks
ilikejam!!


All times are GMT -5. The time now is 10:34 AM.