From: Christian M. <Chr...@df...> - 2010-05-28 09:02:44
|
Axel Simon schrieb: > Hi Christian, > > On 27.05.2010, at 20:03, Christian Maeder wrote: >>> Yup, we didn't test on Solaris. >> "cabal install cairo" also fails: >> >> Linking /tmp/cairo-0.11.05437/cairo-0.11.0/dist/setup/setup ... >> Configuring cairo-0.11.0... >> Preprocessing library cairo-0.11.0... >> Building cairo-0.11.0... >> >> Graphics/Rendering/Cairo.hs:8:0: >> error: cairo-version.h: No such file or directory >> cabal: Error: some packages failed to install: >> > > Darn, so we need to find out since when Cairo defines its version > number. What version of cairo do you have (pkg-config --modversion > cairo)? -bash-3.00$ pkg-config --modversion cairo 1.4.14 -bash-3.00$ pkg-config --modversion pango 1.20.0 -bash-3.00$ pkg-config --modversion gtk 1.4.2 -bash-3.00$ pkg-config --modversion glib 1.2.10 Maybe this configuration is far too old? My last gtk2hs installation under x86 solaris was for ghc-6.8.3 with gtk2hs-0.9.13: gconf-0.9.13, glade-0.9.13, glib-0.9.13, gnomevfs-0.9.13, gtk-0.9.13, mozembed-0.9.13, soegtk-0.9.13, sourceview-0.9.13 without the packages cairo, pango and gio. "ghc-pkg describe gtk" shows: hs-libraries: HSgtk extra-libraries: gtk-x11-2.0 gdk-x11-2.0 atk-1.0 gdk_pixbuf-2.0 m mlib pangoxft-1.0 pangox-1.0 pango-1.0 gmodule-2.0 gthread-2.0 Christian |