[Haskell-cafe] cabal-install
Don Stewart
dons at galois.com
Tue Nov 27 21:02:29 EST 2007
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 at sarun: .../haskell/cabal-install-0.4.0 > sudo runhaskell Setup.lhs
> install
> Installing: /usr/local/bin
> ben at sarun: .../haskell/cabal-install-0.4.0 > rehash
> ben at 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 at sarun: .../haskell/cabal-install-0.4.0 > cd ..
> ben at 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
More information about the Haskell-Cafe
mailing list