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

Daniel Fischer daniel.is.fischer at web.de
Sun Jul 4 06:28:55 EDT 2010


On Sunday 04 July 2010 12:20:42, Larry Evans wrote:
> hdirect is here:
>
> http://hackage.haskell.org/package/hdirect
>
> however, as shown by the following terminal session,
> cabal can't find it.  What should I do to insteall hdirect?

Strange. What does

$ cabal update && cabal list | grep -A 6 hdirect

produce?

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

but try the other route first. Also, you might consider

$ cabal install cabal-install-0.6.2 [or 0.6.4]

and try your luck with that.

>
> ~/download/haskell/libs $ cabal -V
> cabal-install version 0.6.0
> using version 1.6.0.1 of the Cabal library
> ~/download/haskell/libs $ uname -a
> Linux evansl-desktop 2.6.24-24-generic #1 SMP Fri Sep 18 16:16:18 UTC
> 2009 x86_64 GNU/Linux
> ~/download/haskell/libs $ cabal install happy --dry-run
> Resolving dependencies...
> In order, the following would be installed (use -v for more details):
> mtl-1.1.0.2
> happy-1.18.1
> ~/download/haskell/libs $ cabal install hdirect --dry-run
> cabal: There is no package named hdirect
> ~/download/haskell/libs $


More information about the Beginners mailing list