From: Jürgen Nicklisch-F. <jn...@ar...> - 2010-04-29 15:42:28
|
Hi, I tried to install cabalized version of gtksourceview2. I'm on Ubuntu 10.0.4 with ghc 6.12.2 and haskell-platform-2010.1.0.0 installed. I installed the current cairo, glib, pango and gtk packages from darcs get code.haskell.org:/srv/code/gtk2hs. Then I applied the gtksourceview2 Cabal patch from Andy from 28.04. When doing a cabal install I get the following errors. Thanks in advance. Jürgen jutaro@deus-x-machina:~/Haskell-install/6.12.2/gtk2hs/gtksourceview2$ cabal install Resolving dependencies... Setup.hs:25:0: warning: #warning Setup.hs is guessing the version of Cabal. If compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when building (prefixed by --ghc-option= when using the 'cabal' command) [1 of 1] Compiling Main ( Setup.hs, dist/setup/Main.o ) Linking ./dist/setup/setup ... Configuring gtksourceview2-0.10.5... Preprocessing library gtksourceview2-0.10.5... Building gtksourceview2-0.10.5... [ 1 of 13] Compiling Graphics.UI.Gtk.SourceView.Signals ( dist/build/Graphics/UI/Gtk/SourceView/Signals.hs, dist/build/Graphics/UI/Gtk/SourceView/Signals.o ) [ 2 of 13] Compiling Graphics.UI.Gtk.SourceView.Types ( dist/build/Graphics/UI/Gtk/SourceView/Types.hs, dist/build/Graphics/UI/Gtk/SourceView/Types.o ) [ 3 of 13] Compiling Graphics.UI.Gtk.SourceView.SourceMark ( dist/build/Graphics/UI/Gtk/SourceView/SourceMark.hs, dist/build/Graphics/UI/Gtk/SourceView/SourceMark.o ) Graphics/UI/Gtk/SourceView/SourceMark.chs:48:25: Not in scope: type constructor or class `SourceMark' Graphics/UI/Gtk/SourceView/SourceMark.chs:57:18: Not in scope: type constructor or class `SourceMark' Graphics/UI/Gtk/SourceView/SourceMark.chs:57:45: Not in scope: type constructor or class `SourceMark' Graphics/UI/Gtk/SourceView/SourceMark.chs:58:46: Not in scope: `mkSourceMark' Graphics/UI/Gtk/SourceView/SourceMark.chs:63:18: Not in scope: type constructor or class `SourceMark' Graphics/UI/Gtk/SourceView/SourceMark.chs:63:45: Not in scope: type constructor or class `SourceMark' Graphics/UI/Gtk/SourceView/SourceMark.chs:64:46: Not in scope: `mkSourceMark' cabal: Error: some packages failed to install: gtksourceview2-0.10.5 failed during the building phase. The exception was: ExitFailure 1 |