Opened 14 years ago

Closed 14 years ago

#2696 closed task (wontfix)

all pkg_config in /usr/lib/pkgconfig

Reported by: Tobias Gasser Owned by: lfs-book@…
Priority: low Milestone: 6.7
Component: Book Version: SVN
Severity: trivial Keywords: pkg_config
Cc:

Description

the .pc files are split into /usr/lib/pkgconfig and /usr/share/pkgconfig (usually ${datadir}/pkgconfig)

going on with blfs some installations fail with missing packages as they can't find the .pc files. i fixed it by forcing ALL packages to put the .rc in the same path.

if PKG_CONFIG_PATH is set to /usr/lib/pkgconfig, most packages will install as expected.

the remaining are

udev:

sed -i \

-e "s@sharepkgconfigdir = \(.*\)@sharepkgconfigdir = ${PKG_CONFIG_PATH}@" \ Makefile

zlib:

sed -i \

-e "s@pkgconfigdir =\(.*\)@pkgconfigdir = ${PKG_CONFIG_PATH}@g" \ Makefile

Change History (2)

comment:1 by randy@…, 14 years ago

I disagree with making any modifications to the .pc files' locations as it is not required. Both /usr/lib/pkgconfig and /usr/share/pkgconfig are default locations that pkg_config uses to find the files.

comment:2 by Tobias Gasser, 14 years ago

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