
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? ~/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 $

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 $

On 4 July 2010 11:28, Daniel Fischer
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.

On Sunday 04 July 2010 12:34:52, Stephen Tetley wrote:
On 4 July 2010 11:28, Daniel Fischer
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:
Sure, but "cabal install" requires less typing. And it defaults to user- installs, so you needn't pass --user to Setup configure. And with a proper config file, you needn't pass --enable-library-profiling to configure and you needn't run (Setup) haddock manually and cabal install automatically puts the created docs in the same place as the others. On the whole, cabal install is much more convenient :)
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.
participants (3)
-
Daniel Fischer
-
Larry Evans
-
Stephen Tetley