[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gcc issue [SOLVED]



---- Mamoru Tasaka <mtasaka 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]