<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: </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; "> , but got an error: </span></div><div><br></div><div><div>src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs:13085:1:</div><div> Unacceptable argument type in foreign declaration: CInt</div><div> When checking declaration:</div><div> foreign import ccall safe "static wxLogWindow_Create" wxLogWindow_Create</div><div> :: Ptr (TWindow a)</div><div> -> CWString -> CBool -> CBool -> IO (Ptr (TLogWindow ()))</div><div><br></div><div>src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs:13085:1:</div><div> Unacceptable argument type in foreign declaration: CInt</div><div> When checking declaration:</div><div> foreign import ccall safe "static wxLogWindow_Create" wxLogWindow_Create</div><div> :: Ptr (TWindow a)</div><div> -> CWString -> CBool -> CBool -> 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>-- </div><div>Eduardo Sato</div><div><br></div></div>