[Haskell-beginners] cabal install reactive-banana-wx

Heinrich Apfelmus apfelmus at quantentunnel.de
Mon Jul 18 09:08:07 CEST 2011


Stephen Tetley wrote:
> Try installing either installing wxDirect 0.12.1.4; or wxDirect
> 012.1.3 with the build option "splitBase" first.
> 
> There's a difference in the cabal files between 0.12.1.3 and 0.12.1.4
> where the file defaults to container Base 3.0 and Containers 0.3
> (wxDirect 0.12.1.3) or Base 4.0 and Containers 0.4 (wxDirect
> 0.12.1.4).
> 
> Latest GHC versions have Base 4.0 and Containers 0.4, wxDirect
> 0.12.1.4 should work by default for latest GHC versions. wxDirect
> 0.12.1.3 needs building with the "splitBase" flag passed to work with
> latest GHCs.

Use

     cabal update

to fetch the latest package definitions.

Since wxdirect only contains an executable, I think you can also do

     cabal install wxdirect-0.12.1.4

before installing reactive-banana-wx .


Best regards,
Heinrich Apfelmus

--
http://apfelmus.nfshost.com




More information about the Beginners mailing list