
ben.franksen:
Just thought I install the latest version (0.4.0) from hackage and test it. Build and install went fine, but then it gets strange:
ben@sarun: .../haskell/cabal-install-0.4.0 > sudo runhaskell Setup.lhs install Installing: /usr/local/bin ben@sarun: .../haskell/cabal-install-0.4.0 > rehash ben@sarun: .../haskell/cabal-install-0.4.0 > cabal --help Usage: cabal [GLOBAL FLAGS] or: cabal COMMAND [FLAGS]
[...etc...]
Commands: fetch Downloads packages for later installation or study. install Installs a list of packages. update Updates list of known packages clean Removes downloaded files list List available packages on the server. info Emit some info ben@sarun: .../haskell/cabal-install-0.4.0 > cd .. ben@sarun: .../software/haskell > cabal info Config file /home/ben/.cabal/config not found. Writing default configuration to /home/ben/.cabal/config. cabal: dist/Conftest.c: openFile: does not exist (No such file or directory)
This one is due to having an out of date cabal. Upgrade to darcs cabal, then rebuild cabal-install, and things should go fine. -- Don