tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
missing system search paths for pkg-config
Hi,
pkgsrc tries to include system paths in devel/pkg-config and
devel/pkgconf, like
PKGCONFIG_EXTRA_PATHS+= /usr/lib/pkgconfig
PKGCONFIG_PATHS+= ${PREFIX}/share/pkgconfig
PKGCONFIG_PATHS+= /usr/lib/pkgconfig
What is missing here, are the actual paths with most of the .pc files
on a current Ubuntu system, with multiarch. Most are in
/usr/local/lib/x86_64-linux-gnu/pkgconfig
To get more into detail, this is the full default search path list:
$ strings /usr/bin/pkg-config |grep /pkgconfig|tr : '\n'
/usr/local/lib/x86_64-linux-gnu/pkgconfig
/usr/local/lib/pkgconfig
/usr/local/share/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/pkgconfig
/usr/share/pkgconfig
Now, the guessing of only part of that is not optimal. I fixed this by
setting a full PKG_CONfIG_PATH in our HPC shell module environment, but
the intention of pkgsrc seems to not to require that.
How should this be fixed? Hardcode a list of directories? Search with
guesses using the correct host string (arch-linux-foo)? Poke
/usr/bin/pkg-config?
Alrighty then,
Thomas
--
Dr. Thomas Orgis
HPC @ Universität Hamburg
Home |
Main Index |
Thread Index |
Old Index