The hacky solution is to dump/symlink all your pc files to the same
directory, but that'll break any package management solution you've
got and cause other problems and generally make installing anything a
PITA
This is how I've been setting my PKG_CONFIG_PATH
for pfix in /usr \
"${GTK_PREFIX}" \
"${OTHER_PACKAGE_PREFIX}" \
"${XORG_PREFIX}" \
; do
if [ -z "`echo $PKG_CONFIG_PATH | grep $pfix`" ]; then
[ -n "${PKG_CONFIG_PATH}" ] && PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}${pfix}/lib/pkgconfig"
fi
done
But if that's too long and convoluted a recipe, you can just
export PKG_CONFIG_PATH=$XORG_PREFIX/lib/pkgconfig
If that doesn't work for you, can you copy/paste the error message
you're getting in, with the relevant lines before and after? This
package will help with that if you need it
http://www.linuxfromscratch.org/blfs/view/svn/general/gpm.html
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page