This is a problem with the version of an installed gtk lib. gtk2hs does conditional compilation, and adds some procedures, when a specific version of the lib is present. You have to install gtksourceview2 in a version > 2.4.0.
I wanted to add a patch for backward compatibiliy to the new 0.6 release, but it is still missing and I have absolutely no time the next weeks. Jürgen Victor Nazarov-2 wrote: > > On Wed, Jul 1, 2009 at 1:41 AM, david48<dav.vire+hask...@gmail.com> wrote: >> >> I've build leksah from a fresh darcs get, ghc is 6.10.3 with the packages >> : >> >> da...@whizz:~/leksah$ ghc-pkg list >> /usr/local/lib/ghc-6.10.3/./package.conf: >> Cabal-1.6.0.3, GLUT-2.1.1.2, HTTP-4000.0.6, HUnit-1.2.0.3, >> OpenGL-2.2.1.1, QuickCheck-1.2.0.0, array-0.2.0.0, base-3.0.3.1, >> base-4.1.0.0, binary-0.5.0.1, bytestring-0.9.1.4, cairo-0.10.1, >> cgi-3001.1.7.1, containers-0.2.0.1, directory-1.0.0.3, >> (dph-base-0.3), (dph-par-0.3), (dph-prim-interface-0.3), >> (dph-prim-par-0.3), (dph-prim-seq-0.3), (dph-seq-0.3), >> editline-0.2.1.0, extensible-exceptions-0.1.1.0, fgl-5.4.2.2, >> filepath-1.1.0.2, (ghc-6.10.3), ghc-prim-0.1.0.0, gio-0.10.1, >> glade-0.10.1, glib-0.10.1, gtk-0.10.1, gtkglext-0.10.1, >> gtksourceview2-0.10.1, haddock-2.4.2, haskell-platform-2009.2.0.1, >> haskell-src-1.0.1.3, haskell98-1.0.1.0, hpc-0.5.0.3, html-1.0.1.2, >> integer-0.1.0.1, mtl-1.1.0.2, network-2.2.1, network-2.2.1.1, >> old-locale-1.0.0.1, old-time-1.0.0.2, packedstring-0.1.0.1, >> parallel-1.1.0.1, parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.1, >> random-1.0.0.1, regex-base-0.72.0.2, regex-compat-0.71.0.1, >> regex-posix-0.72.0.3, rts-1.0, soegtk-0.10.1, stm-2.1.1.2, >> svgcairo-0.10.1, syb-0.1.0.1, template-haskell-2.3.0.1, >> time-1.1.2.4, time-1.1.3, unix-2.3.2.0, utf8-string-0.3.5, >> xhtml-3000.2.0.1, zlib-0.5.0.0 >> da...@whizz:~/leksah$ >> >> >> The OS is Kubuntu Jaunty (9.04) and GTK comes from the Jaunty >> repositories. >> > I can't build leksah: I've got: > > src/IDE/Completion.hs:99:26-59: > Not in scope: `sourceLanguageManagerGuessLanguage' > cabal: Error: some packages failed to install: > leksah-0.6.1 failed during the building phase. The exception was: > exit: ExitFailure 1 > > I have: > $ ghc -V > The Glorious Glasgow Haskell Compilation System, version 6.10.4 > > $ ghc-pkg list > /usr/local/lib/ghc-6.10.4/./package.conf: > Cabal-1.6.0.1, Cabal-1.6.0.3, HTTP-4000.0.7, HUnit-1.2.0.3, > QuickCheck-1.2.0.0, array-0.2.0.0, base-3.0.3.1, base-4.1.0.0, > binary-0.5.0.1, bytestring-0.9.1.4, cairo-0.10.1, > containers-0.2.0.1, directory-1.0.0.3, (dph-base-0.3), > (dph-par-0.3), (dph-prim-interface-0.3), (dph-prim-par-0.3), > (dph-prim-seq-0.3), (dph-seq-0.3), extensible-exceptions-0.1.1.0, > filepath-1.1.0.2, gconf-0.10.1, (ghc-6.10.4), ghc-prim-0.1.0.0, > gio-0.10.1, glade-0.10.1, glib-0.10.1, gnomevfs-0.10.1, > gstreamer-0.10.1, gtk-0.10.1, gtkglext-0.10.1, > gtksourceview2-0.10.1, haddock-2.4.2, haskell-src-1.0.1.3, > haskell98-1.0.1.0, hpc-0.5.0.3, html-1.0.1.2, integer-0.1.0.1, > mtl-1.1.0.2, network-2.2.1.2, old-locale-1.0.0.1, old-time-1.0.0.2, > packedstring-0.1.0.1, parallel-1.1.0.1, parsec-2.1.0.1, > pretty-1.0.1.0, process-1.0.1.1, random-1.0.0.1, > regex-base-0.72.0.2, regex-compat-0.71.0.1, regex-posix-0.72.0.3, > rts-1.0, soegtk-0.10.1, stm-2.1.1.2, svgcairo-0.10.1, syb-0.1.0.1, > template-haskell-2.3.0.1, time-1.1.4, unix-2.3.2.0, > utf8-string-0.3.5, xhtml-3000.2.0.1, zlib-0.5.2.0 > /home/vir/.ghc/i386-linux-6.10.4/package.conf: > Cabal-1.6.0.1, Cabal-1.6.0.3, binary-0.5.0.1, utf8-string-0.3.5 > > > -- > Victor Nazarov > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > > -- View this message in context: http://www.nabble.com/Leksah-works%21-tp24266240p24632147.html Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe