Hi All,
hi all, dont know if there's something wrong with my system or what, but i can't find "rpmbuild" command ... is it a package separated from rpm? I dont think so cause there's no rpmbuild package in yum .... neither in rpmforge repositories .... the strange thing is that my system has the manuals for it, but the it doesnt have the binary (command itself)....
I was following instructions in a manual, and it asks me to do a "rpmbuild --rebuild package", but i dont know how to do it if a dont have rpmbuild ..... :-(
Nicholas Anderson wrote:
hi all, dont know if there's something wrong with my system or what, but i can't find "rpmbuild" command ... is it a package separated from rpm? I dont think so cause there's no rpmbuild package in yum .... neither in rpmforge repositories .... the strange thing is that my system has the manuals for it, but the it doesnt have the binary (command itself)....
If have a system with rpmbuild can find out by doing : $ which rpmbuild /usr/bin/rpmbuild
$ rpm -qf /usr/bin/rpmbuild rpm-build-4.3.3-13_nonptl
Alternatively, can get information from yum :
$ yum provides rpmbuild
this will give lots of output -- the line/paragraph in particular you should be interested in :
rpm-build.i386 4.3.3-13_nonptl base Matched from: /usr/bin/rpmbuild /usr/share/man/man8/rpmbuild.8.gz rpmbuild(VendorConfig) = 4.1-1
To install : # yum install rpm-build
Regards,
Sean
On Wed, 2006-08-09 at 13:59 -0300, Nicholas Anderson wrote:
Hi All,
hi all, dont know if there's something wrong with my system or what, but i can't find "rpmbuild" command ... is it a package separated from rpm? I dont think so cause there's no rpmbuild package in yum .... neither in rpmforge repositories .... the strange thing is that my system has the manuals for it, but the it doesnt have the binary (command itself)....
I was following instructions in a manual, and it asks me to do a "rpmbuild --rebuild package", but i dont know how to do it if a dont have rpmbuild ..... :-(
locate rpmbuild
/usr/include/rpm/rpmbuild.h /usr/bin/rpmbuild /usr/lib/librpmbuild.a /usr/lib/librpmbuild.la /usr/lib/perl5/5.8.5/i386-linux-thread-multi/rpm/rpmbuild.ph /usr/lib/librpmbuild.so /usr/lib/librpmbuild-4.3.so /usr/share/doc/rpm-devel-4.3.3/apidocs/html/rpmbuild_8h.html /usr/share/doc/rpm-devel-4.3.3/apidocs/html/group__rpmbuild.html /usr/share/doc/rpm-devel-4.3.3/apidocs/html/rpmbuild_8h-source.html /usr/share/man/man8/rpmbuild.8.gz /usr/share/man/ja/man8/rpmbuild.8.gz /usr/share/man/pl/man8/rpmbuild.8.gz
# rpm -q --file /usr/bin/rpmbuild rpm-build-4.3.3-13_nonptl.i386
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, Aug 09, 2006 at 01:59:51PM -0300, Nicholas Anderson wrote:
is it a package separated from rpm?
Yes, the package is called rpm-build.
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
Thanks everybody .... i was trying the obvious but wrong "yum install rpmbuild" and it was returning "no packages" then i tried "yum search rpmbuild", and again it returned many packages but not the rpm-build package :-P
sorry about this dumb question, but im new to centos, yum and rpm's , etc ... thanks again l ...
cheers, Nick
Rodrigo Barbosa wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, Aug 09, 2006 at 01:59:51PM -0300, Nicholas Anderson wrote:
is it a package separated from rpm?
Yes, the package is called rpm-build.
On Wed, 2006-08-09 at 14:22 -0300, Nicholas Anderson wrote:
Thanks everybody .... i was trying the obvious but wrong "yum install rpmbuild" and it was returning "no packages" then i tried "yum search rpmbuild", and again it returned many packages but not the rpm-build package :-P
sorry about this dumb question, but im new to centos, yum and rpm's , etc ... thanks again l ...
yum list available rpm*
cheers, Nick
Rodrigo Barbosa wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, Aug 09, 2006 at 01:59:51PM -0300, Nicholas Anderson wrote:
is it a package separated from rpm?
Yes, the package is called rpm-build.