<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thank you for your response.&nbsp;</div><div><br></div>If I execute "ghc-pkg list gtk" I receive this output:<div><br></div><div><div>&gt; ghc-pkg list gtk</div><div>/usr/local/Cellar/ghc/7.0.4/lib/ghc-7.0.4/package.conf.d</div><div>/Users/tanjapiechnick/.ghc/i386-darwin-7.0.4/package.conf.d</div></div><div><br></div><div>But "ghc-pkg check" gives me no results</div><div><br></div><div><div>&gt;ghc-pkg check</div><div>&gt;</div></div><div><br></div><div>Is this the issue?</div><div><br></div><div><blockquote type="cite">&nbsp;if you have only very recently built gtk etc via mac homebrew, you need to build the head version of gtk2hs and family</blockquote><br></div><div>Ok, and where can I get these informations?</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>Am 07.06.2012 um 02:42 schrieb Carter Schonwald:</div><br class="Apple-interchange-newline"><blockquote type="cite">Also: if you have only very recently built gtk etc via mac homebrew, you need to build the head version of gtk2hs and family. (there was a header file / api change at some point regarding gtk, and only the darcs HEAD version of gtk2hs et al has been updated to reflect that.)<div>

<br></div><div><br><div class="gmail_quote">On Wed, Jun 6, 2012 at 6:27 PM, Ivan Lazar Miljenovic <span dir="ltr">&lt;<a href="mailto:ivan.miljenovic@gmail.com" target="_blank">ivan.miljenovic@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; "><div class="im">On 7 June 2012 03:01, Tanja Piechnick &lt;<a href="mailto:tanja.piechnick@stud.uni-due.de">tanja.piechnick@stud.uni-due.de</a>&gt; wrote:<br>


&gt; Hey Haskell-Cafe,<br>
&gt;<br>
&gt; I would like to run GTK2HS on my Mac 10.6.8 but after the successful<br>
&gt; installation with Homebrew of all modules (GTK+, GTK2HS) I get this failure<br>
&gt; message:<br>
&gt;<br>
&gt; Prelude&gt; :l guitest.hs<br>
&gt;<br>
&gt; guitest.hs:1:8:<br>
&gt; &nbsp; &nbsp; Could not find module `Graphics.UI.Gtk':<br>
&gt; &nbsp; &nbsp; &nbsp; Use -v to see a list of the files searched for.<br>
&gt; Failed, modules loaded: none.<br>
<br>
</div>Just to confirm for us, as the same user can you please run the following:<br>
<br>
 &nbsp; &nbsp; &nbsp;ghc-pkg list gtk<br>
<br>
As well as:<br>
<br>
 &nbsp; &nbsp; &nbsp;ghc-pkg check<br>
<div class="im"><br>
&gt;<br>
&gt;<br>
&gt; I always changed my PATH. This is the content of my PATH:<br>
&gt;<br>
&gt; /usr/bin<br>
&gt; /bin<br>
&gt; /usr/sbin<br>
&gt; /sbin<br>
&gt; /usr/local/bin<br>
&gt; /Developer/usr/bin<br>
&gt; /Users/tanjapiechnick/.cabal/bin<br>
&gt; $HOME/.cabal/bin<br>
<br>
</div>I don't think this is a PATH problem; possibly a problem with library paths.<br>
<div class="im"><br>
&gt;<br>
&gt; Is that correct? Where is the mistake?<br>
&gt;<br>
&gt; Thank you for any help!<br>
&gt; Greetings from Namibia<br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; Haskell-Cafe mailing list<br>
&gt; <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Ivan Lazar Miljenovic<br>
<a href="mailto:Ivan.Miljenovic@gmail.com">Ivan.Miljenovic@gmail.com</a><br>
<a href="http://IvanMiljenovic.wordpress.com/" target="_blank">http://IvanMiljenovic.wordpress.com</a><br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</font></span></blockquote></div><br></div>
</blockquote></div><br></div></body></html>