[Nix-dev] Re: GConf update problem

Ludovic Courtès ludo at gnu.org
Thu Feb 24 17:14:23 CET 2011


Hi,

Roelof Wobben <rwobben at hotmail.com> writes:

> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DSYSGCONFDIR=\"/nix/store/xgb8hbrx41mv3s1fw43242cmm94fli3l-GConf-2.28.1/etc/gconf\"     -g -O2 -Wall -c gconf-defaults.c
> gconf-defaults.c:34:18: fatal error: glib.h: No such file or directory

I would try something like:

  preConfigure = ''
    export CPPFLAGS="-I${glib}/include"
  '';

$CPPFLAGS is honored both by ‘configure’ and by Automake-generated
makefiles (unless the package authors really did nasty things to
disallow that.)

Thanks,
Ludo’.




More information about the nix-dev mailing list