I have two Arch (64) machines on which I am trying to install Yesod. Firstly, the simplest installation of "cabal install yesod" goes great. In the second case, I get the following error when building an aesod-dependent dependency:
Configuring aeson-native-0.3.3 ...
Preprocessing the aeson-native-0.3.3 library ...
Building aeson-native-0.3.3 ...
[1 of 6] Compiling Data.Aeson.Functions (Data / Aeson / Functions.hs, dist / build / Data / Aeson / Functions.o)
[2 of 6] Compilation of data. Aeson.Types (data / Aeson / Types.hs, dist / build / Data / Aeson / Types.o)
Data / eson / Types.hs: 196: 22:
There is no instance for the object (NFData object)
arising from the use of rnf'<br> Possible fix: add an instance declaration for (NFData Object)<br> In the expression: rnf o<br> In an equation for rnf': rnf (Object o) = rnf o
In the instance declaration for the NFData Value parameter
cabal: Error: some packages could not be installed:
aeson-native-0.3.3 failed at the construction stage. The exception was:
ExitFailure 1
After the failure above, I performed a new installation of ghc and deleted the ghc-pkg and .cabal directories. Again, the same error. There seems to be nothing wrong with aeson-native, as it works great elsewhere, so my environment should blame something. On a failed machine, I experimented in the past using pacman to manage hacker libraries (mainly for xmonad). Not sure if that matters, but I was never sure how / if the bondage and pacman have no idea what each other is doing.
GHC - 7.0.3. I made an update to cache all installations. Any ideas what might be wrong in this environment?
Thanks / o
source share