-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 17 February 2003 12:25 pm, Kailesh Mussai wrote:
> Hello,
>
> I am using redhat-7.3 and the version of rpm is "rpm-4.0.4-7x.18".
> From the man page doing an: rpm -ba yourspecfile will do the trick.
>
> Doing that gives me:
>
> [root@rsync SPECS]# rpm -ba devfsd.spec
> devfsd.spec: No such file or directory
>
> I did an strace on it and the error I got:
>
> execve("/usr/lib/rpm/rpmb", ["/usr/lib/rpm/rpmb", "-ba",
> "devfsd.spec"], [/* 22 vars */]) = -1 ENOENT (No such file or
> directory)
>
> Doing an ls:
>
> [root@rsync SPECS]# ls -l /usr/lib/rpm/rpmb
> ls: /usr/lib/rpm/rpmb: No such file or directory

You don't have the rpm-build package installed.
$ rpm -q rpm-build
rpm-build-4.0.4-7x.18

> I tried redhat-8.0 and the rpm that comes with it does not support rpm
> builds.

Sure it does. Again, you need the rpm-build package installed. The command 
to build a package has changed. 'rpm -ba {spec.file}' no longer works, 
it's now 'rpmbuild -ba {spec.file}'.

> Any pointers of how-to build rpm would be greatly appreciated.

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+US5Dn/07WoAb/SsRAkExAJwIGPYt+j4KdHofvoi9sE1uNejeJQCffbVF
2lsP1ynbLr2fs5x/72fXhSQ=
=mh1P
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to