Opened 7 years ago

Closed 7 years ago

#900 closed defect (fixed)

xz utils install

Reported by: William Harrington 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 (1)

comment:1 Changed 7 years ago by William Harrington

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.