[Nix-dev] Re: GConf update problem
Sander van der Burg - EWI
S.vanderBurg at tudelft.nl
Thu Feb 24 17:16:36 CET 2011
You may also have to configure LIBS, because it also can't find the libglib in its' search path. I stumbled upon this before as well.
And then you also have to be sure that the path of the library is in the rpath of the binary.
-----Original Message-----
From: nix-dev-bounces at cs.uu.nl on behalf of Ludovic Courtès
Sent: Thu 2/24/2011 5:14 PM
To: nix-dev at cs.uu.nl
Subject: [Nix-dev] Re: GConf update problem
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'.
_______________________________________________
nix-dev mailing list
nix-dev at cs.uu.nl
https://mail.cs.uu.nl/mailman/listinfo/nix-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110224/b4361a8b/attachment.html
More information about the nix-dev
mailing list