[LFS Trac] #2696: all pkg_config in /usr/lib/pkgconfig

LFS Trac trac at linuxfromscratch.org
Tue Jun 22 08:19:13 PDT 2010


#2696: all pkg_config in /usr/lib/pkgconfig
---------------------------+------------------------------------------------
 Reporter:  tobias.gasser  |       Owner:  lfs-book@…                   
     Type:  task           |      Status:  new                          
 Priority:  low            |   Milestone:  6.7                          
Component:  Book           |     Version:  SVN                          
 Severity:  trivial        |    Keywords:  pkg_config                   
---------------------------+------------------------------------------------
 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 at sharepkgconfigdir = \(.*\)@sharepkgconfigdir = ${PKG_CONFIG_PATH}@"
 \
  Makefile

 zlib:

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

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2696>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list