[Haskell-cafe] installation problems: wx, phooey, checkers
jeffbrown.the at gmail.com
Mon Dec 1 00:52:41 UTC 2014
I believe I have wxWidgets installed, because when I go to the demos/ or
samples/ subfolders of ~/wxWidgets-3.0.2/build-cocoa-debug/, I can run the
apps. Now I want to install the phooey library for Haskell. When I try, I
am warned that some things will be broken, so I unregister them and then
cabal install them all at once. (The complete output from my session with
cabal appears below.)
I run cabal from ~/wxWidgets, because that folder contains the files
and I know cabal wants wx-config.
The two errors I get:
wx-config is not found
checkers does not install
I am left stumped. Thanks for your help.
jefferys-mbp:~ jbb$ cd wxWidgets-3.0.2/
jefferys-mbp:wxWidgets-3.0.2 jbb$ cabal install phooey
In order, the following would be installed:
mtl-18.104.22.168 (latest: 2.2.1) (new version)
parsec-3.1.7 (reinstall) changes: mtl-2.2.1 -> 22.214.171.124
reactive-0.5.0.1 (latest: 0.11.5) (new package)
wxc-0.91.0.0 (new package)
wxcore-0.91.0.0 (new package)
wx-0.91.0.0 (new package)
phooey-126.96.36.199 (new package)
cabal: The following packages are likely to be broken by the reinstalls:
Use --force-reinstalls if you want to install anyway.
jefferys-mbp:wxWidgets-3.0.2 jbb$ ghc-pkg unregister tidal
jefferys-mbp:wxWidgets-3.0.2 jbb$ ghc-pkg unregister threepenny-gui
jefferys-mbp:wxWidgets-3.0.2 jbb$ ghc-pkg unregister network-uri
jefferys-mbp:wxWidgets-3.0.2 jbb$ ghc-pkg unregister hmt
jefferys-mbp:wxWidgets-3.0.2 jbb$ cabal install tidal network-uri
threepenny-gui hmt phooey
Failed to install checkers-0.1.4
Last 10 lines of the build log ( /Users/jbb/.cabal/logs/checkers-0.1.4.log
add (Eq a) to the context of
the type signature for
nonZero :: (Num a, Arbitrary a) => Gen a -> Gen a
In the first argument of ‘satisfiesM’, namely ‘(/= 0)’
In the expression:
satisfiesM (/= 0) (if (s == 0) then (resize 1 g) else g)
In the first argument of ‘sized’, namely
‘(\ s -> satisfiesM (/= 0) (if (s == 0) then (resize 1 g) else g))’
Failed to install wxc-0.91.0.0
Last 10 lines of the build log ( /Users/jbb/.cabal/logs/wxc-0.91.0.0.log ):
[1 of 1] Compiling Main (
Error: wx-config not found, please install wx-config before installing wxc
Updating documentation index /Users/jbb/Library/Haskell/share/doc/index.html
cabal: Error: some packages failed to install:
checkers-0.1.4 failed during the building phase. The exception was:
phooey-2.0 depends on wxc-0.91.0.0 which failed to install.
reactive-0.9.3 depends on checkers-0.1.4 which failed to install.
wx-0.91.0.0 depends on wxc-0.91.0.0 which failed to install.
wxc-0.91.0.0 failed during the configure step. The exception was:
wxcore-0.91.0.0 depends on wxc-0.91.0.0 which failed to install.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe