Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#2696 closed defect (fixed)

PCI Utilities-3.0.3 and HAL-0.5.9.1

Reported by: Arthur Demchenkov Owned by: bdubbs@…
Priority: high Milestone:
Component: Errata Version: SVN
Severity: major Keywords:
Cc:

Description

HAL depends on PCI Utils installation and needs uncompressed PCI ID list. It won't even compile with the current installation provided by instructions in BLFS book.

To fix the issue alter PCI Utils instructions to be like this:

make PREFIX=/usr ZLIB=no

or like this (my installation):

make PREFIX=/usr ZLIB=no SHARED=yes

And by the way all this stuff after 'make install' in the book is not needed:

make PREFIX=/usr ZLIB=no [ SHARED=yes ] install install-lib

Change History (6)

comment:1 by bdubbs@…, 15 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:2 by Randy McMurchy, 15 years ago

Component: BOOKErrata
Priority: normalhigh
Severity: normalmajor

This one is probably my fault as I download a copy of the most current pci.ids file at every boot (and uncompress it), and also when the package is installed I uncompress it, so this error would have slipped right on by me.

I'm changing this as an errata item for the 6.3 release. Though the errata should probably just be an instruction to uncompress the pci.ids file before installing HAL.

I'll let you know about the newer HAL if we need to do anything more than just place an errata item (such as making the changes suggested in this ticket), so let's hold off on those changes for just a little bit.

comment:3 by DJ Lucas, 15 years ago

I have the following instructions for 3.0.2 to overcome this, something similar for usbutils IIRC:

sed -e "s@\${quiet}@zcat \${DEST} > \$(echo \${DEST} | sed 's/.gz')\n\${quiet}@" \

-e "s@null ;@null 2>\&1 ;@" \ -i update-pciids.sh &&

make PREFIX=/usr && make PREFIX=/usr install && install -v -m 755 -d /usr/include/pci && install -v -m 644 lib/libpci.a /usr/lib && install -v -m 644 lib/*.h /usr/include/pci

comment:4 by DJ Lucas, 15 years ago

format correctly:

sed -e "s@\${quiet}@zcat \${DEST} > \$(echo \${DEST} | sed 's/.gz//')\n\${quiet}@" \
    -e "s@null ;@null 2>\&1 ;@" \
    -i update-pciids.sh &&
make PREFIX=/usr &&
make PREFIX=/usr install &&
install -v -m 755 -d /usr/include/pci &&
install -v -m 644 lib/libpci.a /usr/lib &&
install -v -m 644 lib/*.h /usr/include/pci 

comment:5 by bdubbs@…, 15 years ago

Resolution: fixed
Status: assignedclosed

Added ZLIB=no to PCI Utils make instruction.

Added an erratum to the BLFS 6.3 website.

If an updated HAL allows the use of pci.ids.gz, then the change to PCI Utilities-3.0.3 can be reverted.

comment:6 by (none), 13 years ago

Milestone: 6.4

Milestone 6.4 deleted

Note: See TracTickets for help on using tickets.