building an RPM w/ LZO support

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

 



I've been using crash 6.x for some time on Centos6, a binary RPM installed from a yum repo.
Yesterday I realized I didn't have the crash extensions installed.  And a yum
search found no listing for crash-extensions in my current repos.  

So I downloaded a 7.0.8 source RPM from crash-utility.com, built and installed it:

$ rpmbuild -vv --rebuild crash-7.0.8-0.src.rpm
$ cd ~/rpmbuild/RPMS/x86
$ sudo yum localinstall --nogpgcheck crash-7.0.8-0.rpm

But when I tested it on a previously working set of vmlinux/vmcore files, 
I got the following error:

crash: compressed kdump: uncompress failed: no lzo compression support 

I eventually ended up extracting the source rpm and doing:

$ cd ~/dev/src/crash-7.0.8
$ make lzo

and this copy of crash works.

However, I really wanted to make a new RPM out of this, but everything I tried
always ended up reverting to no LZO.  Looking at the configure.c source, I see
that 'make release' has a different method for building the Makefile which does 
not seem to allow for LZO. Is it possible to build an lzo-enabled rpm using 
crash configure and make?  Or with rpmbuild?  If so, how?

Thanks,
--
Mark Vitale
mvitale@xxxxxxxxxxxxxx


--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux