Re: ANN: hledger 0.6 released

2009-06-22 Thread Andreas Reuleaux

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 

Re: ANN: hledger 0.6 released

2009-06-22 Thread Simon Michael


PS I opened http://code.google.com/p/hledger/issues/detail?id=2



Re: ANN: hledger 0.6 released

2009-06-22 Thread Andreas Reuleaux

On Mon, Jun 22, 2009 at 08:23:11AM -0700, Simon Michael wrote:

 Thanks for the report Andreas. It seems I have a base v4 dependency after 
 all. Try this:

 cabal install hledger --constraint=base = 4

 Any better ?



Thanks for your fast reply, Simon, however: nope...

  reule...@atom(~)$ cabal install hledger --constraint=base = 4
  Resolving dependencies...
  cabal: constraints conflict: top level constraint base =4 however
  base-4.0.0.0 was excluded because of the top level dependency base -any
  base-4.1.0.0 was excluded because of the top level dependency base -any
  reule...@atom(~)$

By the way: I am list-replying to ledger-cli because that's the
onliest list I am subscribed to, but maybe I should to join hledger,
as this discussion is rather hledger specific.

-Andreas


Re: ANN: hledger 0.6 released

2009-06-22 Thread Simon Michael


Andreas Reuleaux wrote:

Thanks for your fast reply, Simon, however: nope...

  reule...@atom(~)$ cabal install hledger --constraint=base = 4
  Resolving dependencies...
  cabal: constraints conflict: top level constraint base =4 however
  base-4.0.0.0 was excluded because of the top level dependency base -any
  base-4.1.0.0 was excluded because of the top level dependency base -any
  reule...@atom(~)$

By the way: I am list-replying to ledger-cli because that's the
onliest list I am subscribed to, but maybe I should to join hledger,
as this discussion is rather hledger specific.


Yes, let's take it there or to the issue page. Thanks.



Re: ANN: hledger 0.6 released

2009-06-22 Thread Simon Michael




Andreas, I released 0.6.1 - when you get a chance, please cabal update and 
cabal install again and let me know how it goes.

Best - Simon



Re: ANN: hledger 0.6 released

2009-06-22 Thread Simon Michael




PS also, I'd be interested to know your cabal --version. I believe  
current cabal would have selected hledger 0.5.1 instead, at least  
cabal 0.6.2 does that for me.