gcc issue [SOLVED]
Steve
zephod at cfl.rr.com
Thu Feb 5 16:53:16 UTC 2009
---- Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> wrote:
> Steve wrote, at 02/05/2009 11:26 PM +9:00:
> > OK, now I am really confused.
...
>
> In that way you are not using the srpm you downloaded anymore.
> You are just unpacking the tarball (with no patched) and are
> compiling vanilla source by yourself.
Ah... umm... yes... I wondered how those patches got used. <sheepish grin> It just goes to show you - a (very) little knowledge is a dangerous thing.
> Perhaps what you want to do is $ rpmbuild -bc dhcp.spec after
> $ rpm -ivh dhcp-XXXXX.src.rpm . Please try
> $ man rpmbuild
OK, got it now. (and thanks to Bryn M. Reeves for the link)
$ pwd
/usr/src/redhat/
$ find . -name "*.spec"
./SOURCES/dhcp-4.0.0/contrib/dhcp.spec
./SPECS/dhcp.spec
$ rpmbuild -bc ./SPECS/dhcp.spec
...lots of stuff...
...couple of warning messages...
...more stuff...
success!!
Thanks,
Steve
More information about the fedora-list
mailing list