On 1/13/07, Joe Ciccone <[EMAIL PROTECTED]> wrote:

> >   * pciutils-2.2.4: makes other packages fail to build from source, due to
> > the change of the proper linker flags from -lpci to -lpci -lz. Definitely
> > not for the book, but I won't downgrade this package on the CD.
> >
> I've just been adding LDFLAGS="-lz" where it needs it.

You don't want to do this. If pciutils can link against zlib, it will
store it's data (always, unless you hack up the update script) as
pci.ids.gz. However, HAL doesn't expect that and has no facitility to
manage a gzipped data file. If you leave the linking against lz and
then later gunzip the pci.ids.gz file, lspci will still prefer any
gzipped files it finds regardless of if there's a newer uncompressed
one.

For me, I just keep it from linking against lz since you're only
saving a few kB anyway.

make ZLIB=no

It's definitely usable besides that.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to