<div>
                    <span style="font-family: 'Lucida Grande'; font-size: 13px; ">Hello, guys. Has anybody tried to install wxhaskell on Snow Leopard?</span></div><div><span style="font-family: 'Lucida Grande'; font-size: 13px; "><br></span></div><div><span style="font-family: 'Lucida Grande'; font-size: 13px; ">I followed these instructions:&nbsp;</span><a href="http://www.haskell.org/haskellwiki/WxHaskell/Mac" style="font-family: 'Lucida Grande'; font-size: 13px; ">http://www.haskell.org/haskellwiki/WxHaskell/Mac</a><span style="font-family: 'Lucida Grande'; font-size: 13px; ">&nbsp;, but got an error:&nbsp;</span></div><div><br></div><div><div>src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs:13085:1:</div><div>&nbsp; &nbsp; Unacceptable argument type in foreign declaration: CInt</div><div>&nbsp; &nbsp; When checking declaration:</div><div>&nbsp; &nbsp; &nbsp; foreign import ccall safe "static wxLogWindow_Create" wxLogWindow_Create</div><div>&nbsp; &nbsp; &nbsp; &nbsp; :: Ptr (TWindow a)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-&gt; CWString -&gt; CBool -&gt; CBool -&gt; IO (Ptr (TLogWindow ()))</div><div><br></div><div>src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs:13085:1:</div><div>&nbsp; &nbsp; Unacceptable argument type in foreign declaration: CInt</div><div>&nbsp; &nbsp; When checking declaration:</div><div>&nbsp; &nbsp; &nbsp; foreign import ccall safe "static wxLogWindow_Create" wxLogWindow_Create</div><div>&nbsp; &nbsp; &nbsp; &nbsp; :: Ptr (TWindow a)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-&gt; CWString -&gt; CBool -&gt; CBool -&gt; IO (Ptr (TLogWindow ()))</div><div>Failed to install wxcore-0.90.0.3</div><div>cabal: Error: some packages failed to install:</div><div>wx-0.90.0.1 depends on wxcore-0.90.0.3 which failed to install.</div><div>wxcore-0.90.0.3 failed during the building phase. The exception was:</div><div>ExitFailure 1</div><div><br></div></div><div><a href="http://lpaste.net/91634" style="font-family: 'Lucida Grande'; font-size: 13px; ">http://lpaste.net/91634</a></div><div><br></div><div>I'm using ghc 7.6.3. I've heard the above problems are related to GHC 7.6.3 being more pedantic about FFI declarations. Is there any way around it?</div><div><br></div><div>Thanks</div>
                <div><div><br></div><div>--&nbsp;</div><div>Eduardo Sato</div><div><br></div></div>