PKG_PROG_PKG_CONFIG: command not found
Minutes ago I was trying to compile hal++ a wrapper for libhal developed by beep-media-player team.
While executing configure I’ve got this error:
./configure: line XXXXX: PKG_PROG_PKG_CONFIG: command not found
It was not expected because I did have autotools and pkg-config already installed. And as incredible as I had compiled without any error hal++ in other Debian testing/unstable machine (I was in a Debian testing).
So I have investigated a bit with half success. I’ve found a peace of autotools code which have been useful:
# Check for pkg-config manually first, as if its not installed the
# PKG_PROG_PKG_CONFIG macro won’t be defined.
#
AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no)
#
if test x”$have_pkg_config” == xno; then
AC_MSG_ERROR(pkg-config is required to install this program)
fi
#
PKG_PROG_PKG_CONFIG
It’s only a couple of verifications, which are not introducing anything new, but it was incredibly worked.
Now, I’ll try libhal++ to see if I can do what I want in C++.
Etiquetas: autotools, glkm, hal, libhal, PKG PROG PKG CONFIGEstos son los resultados para ...
Últimos comentarios