[Haskell-cafe] Installing Erlang on OSX

Giuseppe Luigi Punzi Ruiz glpunzi at lordzealon.com
Sun Jun 20 10:28:31 EDT 2010


Hi all,

I would like to play a little with erlang.

I downloaded Haskell platform, ang ghc and ghci seems to work. Trying  
to install leksah, Cabal, gives me the following error.

http://trac.haskell.org/haskell-platform/ticket/110

I downloaded and installed Haskell Platform from source. Did..
cabal update
cabal install cabal-install
cabal install gtk2hs-buildtools
cabal install leksah

The last command didn't finish, with this output:

************************************************************
..
...
[22 of 23] Compiling Text.Regex.TDFA.Sequence ( Text/Regex/TDFA/ 
Sequence.hs, dist/build/Text/Regex/TDFA/Sequence.o )

Text/Regex/TDFA/Sequence.hs:36:9:
     Warning: orphan instance:
       instance RegexContext Regex (Seq Char) (Seq Char)

Text/Regex/TDFA/Sequence.hs:40:9:
     Warning: orphan instance:
       instance RegexMaker Regex CompOption ExecOption (Seq Char)

Text/Regex/TDFA/Sequence.hs:46:9:
     Warning: orphan instance: instance RegexLike Regex (Seq Char)
[23 of 23] Compiling Text.Regex.TDFA  ( Text/Regex/TDFA.hs, dist/build/ 
Text/Regex/TDFA.o )
Registering regex-tdfa-1.1.3...
Installing library in /Users/glpunzi/.cabal/lib/regex-tdfa-1.1.3/ 
ghc-6.12.1
Registering regex-tdfa-1.1.3...
cabal: Error: some packages failed to install:
cairo-0.11.0 failed during the configure step. The exception was:
ExitFailure 1
gio-0.11.0 depends on glib-0.11.0 which failed to install.
glib-0.11.0 failed during the configure step. The exception was:
ExitFailure 1
gtk-0.11.0 depends on glib-0.11.0 which failed to install.
gtksourceview2-0.11.0 depends on glib-0.11.0 which failed to install.
leksah-0.8.0.6 depends on glib-0.11.0 which failed to install.
leksah-server-0.8.0.6 depends on glib-0.11.0 which failed to install.
ltk-0.8.0.6 depends on glib-0.11.0 which failed to install.
pango-0.11.0 depends on glib-0.11.0 which failed to install.
************************************

Possible usefull info:
galilea-2:haskell-platform-2010.1.0.0 glpunzi$ cabal --version
cabal-install version 0.8.0
using version 1.8.0.2 of the Cabal library
galilea-2:haskell-platform-2010.1.0.0 glpunzi$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.1

Some idea how to get leskah, or/and full Haskell working under OSX?

Thanks in advance.

Giuseppe Luigi Punzi Ruiz
Blog: http://www.lordzealon.com
Twitter & Skype & GoogleTalk accounts: glpunzi







More information about the Haskell-Cafe mailing list