hm, while I was able to install hledger 0.5 with a simple $ cabal install hledger
I get an error now after updating and trying to install hledger 0.6 $ install hledger Resolving dependencies... Configuring hledger-0.6... Preprocessing library hledger-0.6... Preprocessing executables for hledger-0.6... Building hledger-0.6... [ 1 of 16] Compiling Ledger.Utils ( Ledger/Utils.hs, dist/build/Ledger/Utils.o ) [ 2 of 16] Compiling Ledger.Types ( Ledger/Types.hs, dist/build/Ledger/Types.o ) [ 3 of 16] Compiling Ledger.Dates ( Ledger/Dates.hs, dist/build/Ledger/Dates.o ) [ 4 of 16] Compiling Ledger.Commodity ( Ledger/Commodity.hs, dist/build/Ledger/Commodity.o ) [ 5 of 16] Compiling Ledger.Amount ( Ledger/Amount.hs, dist/build/Ledger/Amount.o ) [ 6 of 16] Compiling Ledger.AccountName ( Ledger/AccountName.hs, dist/build/Ledger/AccountName.o ) [ 7 of 16] Compiling Ledger.Posting ( Ledger/Posting.hs, dist/build/Ledger/Posting.o ) [ 8 of 16] Compiling Ledger.LedgerTransaction ( Ledger/LedgerTransaction.hs, dist/build/Ledger/LedgerTransaction.o ) [ 9 of 16] Compiling Ledger.TimeLog ( Ledger/TimeLog.hs, dist/build/Ledger/TimeLog.o ) [10 of 16] Compiling Ledger.Transaction ( Ledger/Transaction.hs, dist/build/Ledger/Transaction.o ) [11 of 16] Compiling Ledger.RawLedger ( Ledger/RawLedger.hs, dist/build/Ledger/RawLedger.o ) [12 of 16] Compiling Ledger.Parse ( Ledger/Parse.hs, dist/build/Ledger/Parse.o ) [13 of 16] Compiling Ledger.Account ( Ledger/Account.hs, dist/build/Ledger/Account.o ) [14 of 16] Compiling Ledger.Ledger ( Ledger/Ledger.hs, dist/build/Ledger/Ledger.o ) [15 of 16] Compiling Ledger.IO ( Ledger/IO.hs, dist/build/Ledger/IO.o ) [16 of 16] Compiling Ledger ( Ledger.hs, dist/build/Ledger.o ) /usr/bin/ar: creating dist/build/libHShledger-0.6.a [ 1 of 29] Compiling Ledger.Utils ( Ledger/Utils.hs, dist/build/hledger/hledger-tmp/Ledger/Utils.o ) [ 2 of 29] Compiling Ledger.Types ( Ledger/Types.hs, dist/build/hledger/hledger-tmp/Ledger/Types.o ) [ 3 of 29] Compiling Ledger.Dates ( Ledger/Dates.hs, dist/build/hledger/hledger-tmp/Ledger/Dates.o ) [ 4 of 29] Compiling Ledger.Commodity ( Ledger/Commodity.hs, dist/build/hledger/hledger-tmp/Ledger/Commodity.o ) [ 5 of 29] Compiling Ledger.Amount ( Ledger/Amount.hs, dist/build/hledger/hledger-tmp/Ledger/Amount.o ) [ 6 of 29] Compiling Ledger.AccountName ( Ledger/AccountName.hs, dist/build/hledger/hledger-tmp/Ledger/AccountName.o ) [ 7 of 29] Compiling Ledger.Posting ( Ledger/Posting.hs, dist/build/hledger/hledger-tmp/Ledger/Posting.o ) [ 8 of 29] Compiling Ledger.LedgerTransaction ( Ledger/LedgerTransaction.hs, dist/build/hledger/hledger-tmp/Ledger/LedgerTransaction.o ) [ 9 of 29] Compiling Ledger.TimeLog ( Ledger/TimeLog.hs, dist/build/hledger/hledger-tmp/Ledger/TimeLog.o ) [10 of 29] Compiling Ledger.Transaction ( Ledger/Transaction.hs, dist/build/hledger/hledger-tmp/Ledger/Transaction.o ) [11 of 29] Compiling Ledger.RawLedger ( Ledger/RawLedger.hs, dist/build/hledger/hledger-tmp/Ledger/RawLedger.o ) [12 of 29] Compiling Ledger.Parse ( Ledger/Parse.hs, dist/build/hledger/hledger-tmp/Ledger/Parse.o ) [13 of 29] Compiling Ledger.Account ( Ledger/Account.hs, dist/build/hledger/hledger-tmp/Ledger/Account.o ) [14 of 29] Compiling Ledger.Ledger ( Ledger/Ledger.hs, dist/build/hledger/hledger-tmp/Ledger/Ledger.o ) [15 of 29] Compiling Ledger.IO ( Ledger/IO.hs, dist/build/hledger/hledger-tmp/Ledger/IO.o ) [16 of 29] Compiling Ledger ( Ledger.hs, dist/build/hledger/hledger-tmp/Ledger.o ) [17 of 29] Compiling Options ( Options.hs, dist/build/hledger/hledger-tmp/Options.o ) [18 of 29] Compiling Utils ( Utils.hs, dist/build/hledger/hledger-tmp/Utils.o ) [19 of 29] Compiling Commands.Stats ( Commands/Stats.hs, dist/build/hledger/hledger-tmp/Commands/Stats.o ) [20 of 29] Compiling Commands.Register ( Commands/Register.hs, dist/build/hledger/hledger-tmp/Commands/Register.o ) [21 of 29] Compiling Commands.Print ( Commands/Print.hs, dist/build/hledger/hledger-tmp/Commands/Print.o ) [22 of 29] Compiling Commands.Histogram ( Commands/Histogram.hs, dist/build/hledger/hledger-tmp/Commands/Histogram.o ) [23 of 29] Compiling Commands.Convert ( Commands/Convert.hs, dist/build/hledger/hledger-tmp/Commands/Convert.o ) [24 of 29] Compiling Commands.Balance ( Commands/Balance.hs, dist/build/hledger/hledger-tmp/Commands/Balance.o ) [25 of 29] Compiling Commands.Add ( Commands/Add.hs, dist/build/hledger/hledger-tmp/Commands/Add.o ) [26 of 29] Compiling Commands.All ( Commands/All.hs, dist/build/hledger/hledger-tmp/Commands/All.o ) [27 of 29] Compiling Tests ( Tests.hs, dist/build/hledger/hledger-tmp/Tests.o ) Tests.hs:205:32: Module `System.Exit' does not export `exitSuccess' cabal: Error: some packages failed to install: hledger-0.6 failed during the building phase. The exception was: exit: ExitFailure 1 $ I am on debian squeeze, with ghc installed from debian $ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.8.2 $ and for my cabal installation I had previously followed the instructions on http://blog.kelsin.net/2009/02/23/install-xmonad-on-debian-lenny, roughly: # apt-get install libghc6-network-dev libghc6-mtl-dev zlib1g-dev $ wget http://hackage.haskell.org/packages/archive/cabal-install/0.6.2/cabal-install-0.6.2.tar.gz unpack, cd into the pkg and $ ./bootstrap.sh in my .bashrc I have export PATH=$HOME/.cabal/bin:$PATH for my hledger 0.5 installation, I had also to install # apt-get install libpcre3-dev any idea what I am missing for my hledger 0.6 installation ? -Andreas On Sat, Jun 13, 2009 at 03:07:30PM -0700, Simon Michael wrote: > I'm pleased to announce the release of hledger 0.6. For docs, online > demo etc., see http://hledger.org . > > Some pre-built binaries are now available at http://hledger.org/binaries > . > Or, install with: cabal install hledger [-fhapps] [-fvty]. (Using the > latest Haskell Platform, "cabal install hledger -fhapps" works on gnu/ > linux, mac and windows. Hurrah!) > > I'd like to hear feedback, especially if you hit trouble getting > started. Happy tracking! > > - Simon (sm) > > > 2009/06/13 hledger 0.6 > ...................... > * now cabal-installable on unix, mac, and windows, with Haskell > Platform > * provide experimental platform binaries > * parsing: fix a silly failure to open ledger file paths containing ~ > * parsing: show better errors for unbalanced transaction and missing > default year > * parsing: allow parentheses and brackets inside account names, as > ledger does > * parsing: fail on empty account name components, don't just ignore > * add: description passed as arguments now affects first transaction > only > * add: better handling of virtual postings and default amounts > * print, register: show virtual accounts bracketed/parenthesised > * web: improved web ui supporting full patterns & period expressions > * new "stats" command reports some ledger statistics > * many dev/doc/deployment infrastructure improvements > * move website into darcs repo, update home page > * move issue tracker to google code > > Release stats: > > * Contributors: Simon Michael > * Days since last release: 21 > * Commits: 94 > * Lines of non-test code: 2865 > * Tests: 82 > * Test coverage: 53% expressions > * Known errors: 3 (inconsistent eliding, vty-related failures) > * Performance: similar (http://hledger.org/profs/200906131120.bench) >
