I am trying to install packages from haskell's Hackage using Cabal.
In particular, I am trying to download the gloss package:
cabal install gloss
Comes up with this error:
binary-0.7.1.0 failed during the building phase.
The exception was:
ExitFailure 1
bmp-1.2.5.2 depends on binary-0.7.1.0 which failed to install.
gloss-1.8.1.1 depends on binary-0.7.1.0 which failed to install.
I also tried binary-0.6.0.0. Because cabal install is not working, I am trying:
runhaskell Setup configure
runhaskell Setup build
runhaskell Setup install
...in the directory of the package, and I get the same error for every package:
Setup: Error: Could not find module: Data.Binary with any suffix: ["hi"] in
the search path: ["dist/build"]
I am also having trouble installing the newest version of Cabal.
- cabal-install version 1.16.0.2
- using version 1.16.0 of the Cabal library
- The Glorious Glasgow Haskell Compilation System, version 7.6.3
- Mac OSX 10.8 on MacBook Pro Retina
cabal install package-name
? - bheklilrcabal install binary
. You don't have to download the package to do this ascabal
will auto-download it for you. - Gabriella Gonzalez