Hi, On 05/01/12 00:18, Florian Friesdorf wrote:
> any advice on this? > > nix-env -i privateer > ... > [ 50%] Building CXX object setup/CMakeFiles/vssetup.dir/src/c/setup.o > In file included from > /nix/store/3bcdb6l3hb3x2s4r7vk94818zsbydi16-gtk+-2.24.6/include/gtk-2.0/gdk/gdkcairo.h:28:0, > from > /nix/store/3bcdb6l3hb3x2s4r7vk94818zsbydi16-gtk+-2.24.6/include/gtk-2.0/gdk/gdk.h:33, > from > /nix/store/3bcdb6l3hb3x2s4r7vk94818zsbydi16-gtk+-2.24.6/include/gtk-2.0/gtk/gtk.h:32, > from > /tmp/nix-build-1bg5ja2jrd7kdlkisnfqpf2ya017x0wh-privateer-1.03.drv-0/engine-r294/setup/src/c/../include/central.h:31, > from > /tmp/nix-build-1bg5ja2jrd7kdlkisnfqpf2ya017x0wh-privateer-1.03.drv-0/engine-r294/setup/src/c/setup.cpp:18: > /nix/store/3bcdb6l3hb3x2s4r7vk94818zsbydi16-gtk+-2.24.6/include/gtk-2.0/gdk/gdkpixbuf.h:37:35: > fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory It seems that "privateer" doesn't properly use GTK's pkgconfig file, which says that GTK requires gdk-pixbuf, causing gdk-pixbuf's include directory to be added to the search path. You can probably work around it by adding NIX_CFLAGS_COMPILE = "-I${gtkLibs.gdk_pixbuf}/include/gdk-pixbuf-2.0"; or even better preConfigure = '' NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags gtk+-2.0)" ''; (not tested). -- Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/ _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev