
On Fri, Jan 15, 2010 at 11:24 AM, Jon Harrop
On Friday 15 January 2010 15:17:38 Tom Davie wrote:
You should be able to get it just by running cabal update & cabal install AC-Vector.
When I run "cabal install" it says:
$ cabal update Downloading the latest package list from hackage.haskell.org Note: there is a new version of cabal-install available. To upgrade, run: cabal install cabal-install
If I run "cabal install cabal-install" as it suggests then it appears to do a lot of work, ending with this:
... [33 of 34] Compiling Distribution.Client.List ( Distribution/Client/List.hs, dist/build/cabal/cabal-tmp/Distribution/Client/List.o ) [34 of 34] Compiling Main ( Main.hs, dist/build/cabal/cabal-tmp/Main.o ) Linking dist/build/cabal/cabal ... Installing executable(s) in /home/jdh30/.cabal/bin
But when I run "cabal install" again it fails to detect the updated cabal-install correctly:
Is /home/jdh30/.cabal/bin in your $PATH? That's the default install location of executables by cabal-install. What I usually do is a manual soft-link from ${HOME}/.cabal/bin/foo to ${HOME}/bin/foo for the programs which cabal installs that I would like in my path. But I may be a bit quirky. Antoine