Bryan Kadzban wrote: > Ken Moffat wrote: >> I don't have kmod source handy, so I can't tell if it will take an >> overide in the same way. > > Both kmod and xz needed a "pkgconfigdir=/usr/lib/pkgconfig" override on > the "make install" command line for me, when I built both recently. I > also passed udev a "sharepkgconfigdir=/usr/lib/pkgconfig" override, > otherwise it dumped udev.pc into /usr/share/pkgconfig, where nothing > ever looks -- or at least, the way I built pkg-config, nothing ever > looks there. Not sure if that matches BLFS or not though... > > (Though just to be safe, I also overrode pkgconfigdir= on the "make" and > "make check" runs for kmod and xz, and sharepkgconfigdir= on the "make" > and "make check" runs for udev. Not sure if anything uses those values > at build or check time, but that's safest I think.) > > I don't know what other packages might need this, though, since I only > built the requirements for udev-180. :-/
If you look at http://www.linuxfromscratch.org/blfs/view/svn/x/xorg7.html towards the bottom of the page, you see: cat >> /etc/profile.d/xorg.sh << "EOF" pathappend $XORG_PREFIX/bin PATH pathappend $XORG_PREFIX/lib/pkgconfig PKG_CONFIG_PATH pathappend $XORG_PREFIX/share/pkgconfig PKG_CONFIG_PATH export PATH PKG_CONFIG_PATH EOF Actually, the last export command is not needed, only `source /etc/profile`. You can put any directory needed in PKG_CONFIG_PATH. We don't have to have everything in /usr/lib/pkgconfig. For those packages I build in /opt (qt, trinity, kde, etc), I prefer the pkg-config files separated from /usr/lib/pkgconfig. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
