all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Guix without pkg-config
@ 2013-01-30 16:54 Andreas Enge
  2013-01-30 21:22 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Enge @ 2013-01-30 16:54 UTC (permalink / raw)
  To: bug-guix

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 5236 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-30 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-30 16:54 Guix without pkg-config Andreas Enge
2013-01-30 21:22 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.