Thanks Simon. Unfortunately, I got the same error.
Thanks for the report Arnaud. Can you try again with cabal install hledger-web -fproduction ? That flag is supposed to be default but it sounds like I messed up.
-Simon
On 10/1/11 1:42 PM, Arnaud Bailly wrote:
_______________________________________________Hello,
I installed hledger and tried installing hledger-web but got the following error:
[2 of 8] Compiling Hledger.Web.Settings.StaticFiles ( Hledger/Web/Settings/StaticFiles.hs,
dist/build/hledger-web/hledger-web-tmp/Hledger/Web/Settings/StaticFiles.o )
Hledger/Web/Settings/StaticFiles.hs:1:1:
Exception when trying to run compile-time code:
./static: getDirectoryContents: does not exist (No such file or directory)
Code: staticFiles staticDir
cabal: Error: some packages failed to install:
hledger-web-0.16 failed during the building phase. The exception was:
ExitFailure 1
I install on xubuntu 11.04 with ghc 7.0.3 and latest haskell platform. The installation is quite new without much other
libs.
Thanks for helping,
Arnaud
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe