[Haskell-beginners] Cabal install woes

Andres Loeh andres.loeh at googlemail.com
Sat Mar 12 22:53:27 CET 2011


Hi Tom.

> Please install `gtk2hs-buildtools` first and check that the install
> directory is in your PATH (e.g. HOME/.cabal/bin).

The most likely explanation for your problems seems to be that while
you have the buildtools installed, you haven't actually added
$HOME/.cabal/bin to your search path, so it isn't found by cabal. This
might also hold for the new version of cabal-install you installed,
which installs a "cabal" binary to $HOME/.cabal/bin. But if you don't
have that in your search path, and have another "cabal" binary
installed in, say /usr/bin, then you'll still run the old version and
get the message about the newer version again.

Cheers,
  Andres



More information about the Beginners mailing list