[Haskell-cafe] Re: Installing Haskell on OSX

Giuseppe Luigi Punzi glpunzi at lordzealon.com
Tue Jun 22 03:22:57 EDT 2010


Hi again,

El mar, 22-06-2010 a las 13:36 +1200, Hamish Mackenzie escribió:

> On 22 Jun 2010, at 08:01, Giuseppe Luigi Punzi Ruiz wrote:
> 
> > uhmm..
> > 
> > Now, with all gtk2 rebuilded with +no_x11 and +quartz I get
> > 
> > Linking dist/build/leksah/leksah ...
> > ld: library not found for -lgtk-x11-2.0
> > collect2: ld returned 1 exit status
> > cabal: Error: some packages failed to install:
> > leksah-0.8.0.6 failed during the building phase. The exception was:
> > ExitFailure 1
> > 
> > I searched, and it suppose libgtk-x11-2.0 is part of GTK2, but I only can found it in darwinports inside xulrunner package, but fails me a lot building.
> > 
> > Some idea?
> 
> I think something must still have been built against gtk x11.
> 
> Did you rebuild all of Gtk2Hs after rebuilding Gtk?
> cabal install --reinstall glib
> cabal install --reinstall gio
> cabal install --reinstall cairo
> cabal install --reinstall pango
> cabal install --reinstall gtk
> cabal install --reinstall gtksourceview
> 


Oops..not. I will try at home..


> If that does not fix it, you could try this to find the package at fault.
> grep gtk-x11 ~/.ghc/i386-darwin-6.12.1/package.conf.d/*
> 
> I am interested to see how you get on with MacPorts.  I have not tried it myself in a while.  I built the current Leksah OS X binary with jhbuild...
> http://sourceforge.net/apps/trac/gtk-osx/wiki/Build
> 
> I am sorry that the current binary is not compatible with OS X 10.5.  I will try to use OS X 10.5 to build the next release to make sure it is compatible.
> 
> Once you have Leksah working you will probably need to update the keymap file (~/.cabal/share/leksah-0.8.0.6/data/keymap.lkshk) if you want Command-C, V and X to work.  Just uncomment the three lines already in there...
> <ctrl>x     ->          EditCut
> <ctrl>c     ->          EditCopy
> <ctrl>v     ->          EditPaste
> You will probably find it beeps each time you use them.  I have a nice fix for that but I think it requires a newer version of ige-mac-integration than the one in MacPorts.


I will check all of this, thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100622/dd679cd9/attachment.html


More information about the Haskell-Cafe mailing list