<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
Hi again,<BR>
<BR>
El mar, 22-06-2010 a las 13:36 +1200, Hamish Mackenzie escribi&#243;:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On 22 Jun 2010, at 08:01, Giuseppe Luigi Punzi Ruiz wrote:

&gt; uhmm..
&gt; 
&gt; Now, with all gtk2 rebuilded with +no_x11 and +quartz I get
&gt; 
&gt; Linking dist/build/leksah/leksah ...
&gt; ld: library not found for -lgtk-x11-2.0
&gt; collect2: ld returned 1 exit status
&gt; cabal: Error: some packages failed to install:
&gt; leksah-0.8.0.6 failed during the building phase. The exception was:
&gt; ExitFailure 1
&gt; 
&gt; 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.
&gt; 
&gt; 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

</PRE>
</BLOCKQUOTE>
<BR>
Oops..not. I will try at home..<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
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...
<A HREF="http://sourceforge.net/apps/trac/gtk-osx/wiki/Build">http://sourceforge.net/apps/trac/gtk-osx/wiki/Build</A>

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...
&lt;ctrl&gt;x     -&gt;          EditCut
&lt;ctrl&gt;c     -&gt;          EditCopy
&lt;ctrl&gt;v     -&gt;          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.
</PRE>
</BLOCKQUOTE>
<BR>
I will check all of this, thanks a lot.
</BODY>
</HTML>