From: Marc M. <mar...@gm...> - 2008-10-14 20:30:11
|
Hello, I was using cairo-1.8.0, but after downgrading it to cairo-1.6.4 I managed to compile gtk2hs so apparently it does not work with cairo-1.8.0. Anyhow it works now, thanks for your help, it is really appreciated Marc On Tue, Oct 14, 2008 at 9:08 PM, Marc Mertens <mer...@sk...>wrote: > Hello, > > I was using cairo-1.8.0, but after downgrading it to cairo-1.6.4 I > managed > to compile gtk2hs so apparently it does not work with cairo-1.8.0. Anyhow > it > works now, thanks for your help, it is really appreciated > > Marc > > On Tuesday 14 October 2008 05:29, Axel Simon wrote: > > On Oct 13, 2008, at 22:39, Marc Mertens wrote: > > > Hello, > > > > > > I'm trying to compile the latest version of gtk2hs and gets some > > > errors that I fail to solve. I grabbed the source code with 'darcs > > > get --partial http://code.haskell.org/gtk2hs/', done a > > > autoreconf, ./configure and make and get then the following output: > > > > > > /usr/local/bin/ghc +RTS -RTS -split-objs -c gtk/Graphics/UI/Gtk/ > > > Cairo.hs -o gtk/Graphics/UI/Gtk/Cairo.o -O -fffi -igtk -package- > > > conf package.conf.inplace -hide-all-packages -ignore-package gtk - > > > package base-3.0.2.0 -package mtl-1.1.0.1 -package > > > containers-0.1.0.2 -package array-0.1.0.0 -package glib-0.9.13 - > > > package cairo-0.9.13 -package-name gtk-0.9.13 '-#include<gtk/ > > > gtk.h>' -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/ > > > include -I/usr/local/include/pango-1.0 -I/usr/local/include/ > > > glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/ > > > gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairo > > > -I/usr/local/include/pixman-1 -I/usr/local/include/atk-1.0 -I/usr/ > > > include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 > > > > > > gtk/Graphics/UI/Gtk/Cairo.chs.pp:156:12: > > > Not in scope: `Cairo.Internal.imageSurfaceGetStride' > > > > > > gtk/Graphics/UI/Gtk/Cairo.chs.pp:157:10: > > > Not in scope: `Cairo.Internal.imageSurfaceGetData' > > > make[1]: *** [gtk/Graphics/UI/Gtk/Cairo.o] Error 1 > > > make[1]: Leaving directory `/install/gtk2hs/gtk2hs' > > > > Yes, there is a mistake in that I used these functions > > unconditionally although they are only available since Cairo 1.2 and > > later. Do you actually happen to have a version 1.1 of Cairo? > > > > Axel. > > > > > Not that I have installed cairo 1.8.0 which is in my opinion the > > > latest version, is this the correct version or should I install > > > another version. > > > > > > Thanks a lot in advance > > > > > > Marc Mertens > > > > > > ---------------------------------------------------------------------- > > > --- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge > > > Build the coolest Linux based applications with Moblin SDK & win > > > great prizes > > > Grand prize is a trip for two to an Open Source event anywhere in > > > the world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Gtk2hs-users mailing list > > > Gtk...@li... > > > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > |