installation with ghc 7.4.1

52 views
Skip to first unread message

Ozgur

unread,
Feb 25, 2012, 6:37:24 PM2/25/12
to leksah
Hi,

I've wanted to try out leksah for quite a while now. Can anyone help
me with the installation process please. I am using GHC 7.4.1 on OS X
Lion.

Also, the last release on hackage seems to be on April 2011 (almost a
year!). Whay is that? Is leksah not actively maintained?

Best,
Ozgur

Hamish Mackenzie

unread,
Feb 26, 2012, 6:57:25 AM2/26/12
to lek...@googlegroups.com
A new release is coming next weekend (if all goes well).

The source we are planning to release is in...

https://github.com/leksah/ltk
https://github.com/leksah/leksah-server
https://github.com/leksah/leksah

We have been having some trouble building reliable Windows binaries, but we think we have that sorted out now.

The hardest part about building on OS X is setting up gtk on OS X.
http://www.gtk.org/download/macos.php

If I have time I will do GHC 7.4.1 OS X binaries (currently I only have GHC 7.0.4).

Ozgur Akgun

unread,
Feb 26, 2012, 7:09:17 AM2/26/12
to lek...@googlegroups.com
Thanks Hamish, I'll be looking forward to it.

Ozgur

Edsko de Vries

unread,
Apr 8, 2012, 11:42:24 AM4/8/12
to lek...@googlegroups.com
I installed Leksah from scratch (on a fresh user account, no macports and co) with ghc 7.4.1 on Mac OS X Lion today:
  1. ghc 7.4.1 from http://www.haskell.org/ghc/download_ghc_7_4_1 (64 bit version)
  2. cabal-install from http://darcs.haskell.org/cabal-branches/cabal-1.14/
  3. GTK+ as discussed on http://live.gnome.org/GTK%2B/OSX/Building
  4. gtksourceview using jhbuild build gtksourceview
  5. gtk2hs from http://code.haskell.org/gtk2hs/ using ./bootstrap.sh "-f have-quartz-gtk"
  6. gtksourceview2 from http://code.haskell.org/gtksourceview/
  7. Finally leksah using cabal install, passing in the option --extra-lib-dirs=/usr/lib to avoid a problem with it linking against the wrong version of libiconv.
To have the right environment, do steps 5-7 using jhbuild shell, then add

# Gtk+
export PATH=~/gtk/inst/bin:$PATH
export XDG_CONFIG_DIR=/Users/ghc741/gtk/inst/etc/xdg
export XDG_DATA_DIRS=/Users/ghc741/gtk/inst/share

to your .profile. Hope that helps,

Edsko

Reply all
Reply to author
Forward
0 new messages