[Nix-dev] libgsystem/gsystem-file-utils.c:28:34: fatal error:gio/gunixinputstream.h: No such file or directory
Roelof Wobben
rwobben at hotmail.com
Sun Dec 1 19:52:11 CET 2013
> Date: Sun, 1 Dec 2013 14:50:24 +0400
> From: 7c6f434c at mail.ru
> To: rwobben at hotmail.com; nix-dev at lists.science.uu.nl
> Subject: [Nix-dev] libgsystem/gsystem-file-utils.c:28:34: fatal error:gio/gunixinputstream.h: No such file or directory
>
> >
> >And now I see this error messages:
> >
> >building gnome-datetime-source.lo
> > CC gnome-datetime-source.lo
> >building libgsystem_la-gsystem-local-alloc.lo
> > CC libgsystem_la-gsystem-local-alloc.lo
> >building libgsystem_la-gsystem-file-utils.lo
> > CC libgsystem_la-gsystem-file-utils.lo
> >libgsystem/gsystem-file-utils.c:28:34: fatal error: gio/gunixinputstream.h: No such file or directory
> >compilation terminated.
> >make[2]: *** [libgsystem_la-gsystem-file-utils.lo] Error 1
> >make[2]: Leaving directory `/tmp/nix-build-cjs.drv-0/cinnamon-desktop-2.0.4/libcinnamon-desktop'
> >make[1]: *** [all-recursive] Error 1
> >make[1]: Leaving directory `/tmp/nix-build-cjs.drv-0/cinnamon-desktop-2.0.4'
> >make: *** [all] Error 2
> >builder for `/nix/store/c55f28s39njkn2cxiclv70rggwljiyyc-cjs.drv' failed with exit code 2
> >error: build of `/nix/store/c55f28s39njkn2cxiclv70rggwljiyyc-cjs.drv' failed
> >
> >
> >If I add gio as a buildinput then I see this message:
> >
> >error: an anonymous function at `/home/roelof/nixpkgs/pkgs/desktops/cinnamon/cinnamon-desktop.nix:2:1' called without required argument `gio'
> >(use `--show-trace' to show detailed location information)
> >
> >
> >Anyone a clue how to solve this ?
>
> GIO is a part of glib.
>
> Its include path matches ${glib}/include/gio-*
>
> I usually just expand this mask in preConfigure and add
> -I$gio_include_dir to NIX_CFLAGS_COMPILE variable.
> Do you use the export Nix_FLAGS_COMPILE or just NIX_FLAGS_FLAGS_COMPILE.In a few derivations I see NIX_FLAGS_COMPILE without the preconfigure Roelof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131201/4c44077d/attachment.html
More information about the nix-dev
mailing list