[Haskell-beginners] 'cabal install hdirect' can't find hdirect

Stephen Tetley stephen.tetley at gmail.com
Sun Jul 4 06:34:52 EDT 2010


On 4 July 2010 11:28, Daniel Fischer <daniel.is.fischer at web.de> wrote:

> Well, in case of emergency, there's always
>
> *download the .tar.gz from hackage via wget, browser, ...
> * unpack the archive
> $ cd hdirect/0.21.0
> $ cabal install

If you download the archive there is also the manual way:

cd into the archive after untarring it...

> runhaskell Setup.hs configure
> runhaskell Setup.hs build
> runhaskell Setup.hs install


The last step may require sudo privileges depending on your set up.
Also some archives have a Setup.lhs rather than Setup.hs file.


More information about the Beginners mailing list