Ticket #900 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

xz utils install

Reported by: kb0iic Owned by: clfs-commits@…
Priority: blocker Milestone:
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc:

Description

Kmod configure system will use pkgconfig to detect xz's liblzma.

When xz-utils installs liblzma pkg-config data file it will install it to --libdir's setting which is /lib for 32 bit and /lib64 for 64 bit.

We can do two things here since pkg-config default search is not in /lib and /lib64 nor is our PKG_CONFIG_PATH64 or PKG_CONFIG_PATH32 variables.

1) Move the pkg-config data files where they need to be /usr/lib/pkgconfig for 32 bit and /usr/lib64/pkgconfig for 64 bit

2) use the pkgconfigdir variable during make install like so:

make pkgconfigdir=/usr/lib/pkgconfig install for 32 bit make pkgconfigdir=/usr/lib64/pkgconfig install for 64 bit

Changing PKG_CONFIG_PATH32 and PKG_CONFIG_PATH64 variables is not required.

Change History

comment:1 Changed 5 years ago by kb0iic

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.