Hello,
on a system without pkg-config, and with guile installed in a strange way (it needs to be called through a wrapper), the configure script of guix errors out with the following message:
checking for GUILE... configure: error: in `/home/enge/guix-0.1-src':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables GUILE_CFLAGS
and GUILE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
But setting GUILE_CFLAGS and GUILE_LIBS does not change anything, and looking at the configure file, I do not have the impression that the presence of these environment variables is checked. I suppose that all this code is expanded from
PKG_CHECK_MODULES([GUILE], [guile-2.0])
in configure.ac. Could this be considered a bug in this macro? How about working around this issue by first checking for the variables inside configure.ac, and only calling PKG_CHECK_MODULES if they are undefined?
Does anyone see another easy solution?
Andreas