You are not logged in.

#1 2013-07-05 12:04:51

vibee
Member
Registered: 2013-06-15
Posts: 38

leksah: installation fails

Unfortunately, leksah is not included in the arch repos and the AUR package is way outdated with unresolvable dependencies.

So I am trying to install leksah via cabal-install.

First, I added ArchHaskell repo to pacman.conf and installed ghc, cabal-install, gtksourceview2, alex and happy (as these packages are required to build leksah).

The process failed when cabal tried to build lt:

[vibee@archpc ~]$ cabal install leksah
Resolving dependencies...
Configuring ltk-0.8.0.6...
Building ltk-0.8.0.6...
Preprocessing library ltk-0.8.0.6...
[ 1 of 12] Compiling Graphics.UI.Frame.Panes ( src/Graphics/UI/Frame/Panes.hs, dist/build/Graphics/UI/Frame/Panes.o )
[ 2 of 12] Compiling Graphics.UI.Editor.Parameters ( src/Graphics/UI/Editor/Parameters.hs, dist/build/Graphics/UI/Editor/Parameters.o )
[ 3 of 12] Compiling Control.Event    ( src/Control/Event.hs, dist/build/Control/Event.o )
[ 4 of 12] Compiling MyMissing        ( src/MyMissing.hs, dist/build/MyMissing.o )
[ 5 of 12] Compiling Graphics.UI.Editor.Basics ( src/Graphics/UI/Editor/Basics.hs, dist/build/Graphics/UI/Editor/Basics.o )
[ 6 of 12] Compiling Graphics.UI.Editor.MakeEditor ( src/Graphics/UI/Editor/MakeEditor.hs, dist/build/Graphics/UI/Editor/MakeEditor.o )
[ 7 of 12] Compiling Text.PrinterParser ( src/Text/PrinterParser.hs, dist/build/Text/PrinterParser.o )

src/Text/PrinterParser.hs:230:42: Not in scope: `catch'
Failed to install ltk-0.8.0.6
cabal: Error: some packages failed to install:
leksah-0.8.0.4 depends on ltk-0.8.0.6 which failed to install.
leksah-server-0.8.0.5 depends on ltk-0.8.0.6 which failed to install.
ltk-0.8.0.6 failed during the building phase. The exception was:
ExitFailure 1

Has someone found a way to successfully building and installing leksah?

Offline

Board footer

Powered by FluxBB