
I just tried to make HSH 1.2 but it needs Cabal, which I apparently don't have installed. I also don't have runghc installed (referenced at cabal homepage). Using ghc instead failed as follows: Setup.lhs:2: Failed to load interface for `Distribution.Simple': *** Deleting temp files Deleting: /home/daf/Tmp/ghc27809.hc /home/daf/Tmp/ghc27809.lpp Warning: deleting non-existent /home/daf/Tmp/ghc27809.hc A40:/home/daf/Hsh/hsh}ghc Setup.lhs configure Setup.lhs:2: Failed to load interface for `Distribution.Simple': A40:/home/daf/Hsh/hsh} This suggests to me that my Haskell setup is not complete. What do I need to do to get to the point where I can build HSH? Thanks.

On Sat, 2007-03-03 at 15:19 +0000, dfeustel@mindspring.com wrote:
I just tried to make HSH 1.2 but it needs Cabal, which I apparently don't have installed. I also don't have runghc installed (referenced at cabal homepage). Using ghc instead failed as follows:
Setup.lhs:2: Failed to load interface for `Distribution.Simple': *** Deleting temp files Deleting: /home/daf/Tmp/ghc27809.hc /home/daf/Tmp/ghc27809.lpp Warning: deleting non-existent /home/daf/Tmp/ghc27809.hc A40:/home/daf/Hsh/hsh}ghc Setup.lhs configure
Setup.lhs:2: Failed to load interface for `Distribution.Simple': A40:/home/daf/Hsh/hsh}
This suggests to me that my Haskell setup is not complete.
Yes, you are missing Cabal. Distribution.Simple is a module provided by Cabal. Perhaps you've just got a very old (or messed up) installation of GHC. All recent versions of GHC come with runghc and some version of the Cabal library. Duncan

The Makefile in the HSH distribution should do this for you. But you
can say:
ghc --make -o setup -package Cabal Setup.lhs
./setup configure
./setup build
(as root) ./setup install
On 2007-03-03, dfeustel@mindspring.com
I just tried to make HSH 1.2 but it needs Cabal, which I apparently don't have installed. I also don't have runghc installed (referenced at cabal homepage). Using ghc instead failed as follows:
Setup.lhs:2: Failed to load interface for `Distribution.Simple': *** Deleting temp files Deleting: /home/daf/Tmp/ghc27809.hc /home/daf/Tmp/ghc27809.lpp Warning: deleting non-existent /home/daf/Tmp/ghc27809.hc A40:/home/daf/Hsh/hsh}ghc Setup.lhs configure
Setup.lhs:2: Failed to load interface for `Distribution.Simple': A40:/home/daf/Hsh/hsh}
This suggests to me that my Haskell setup is not complete.
What do I need to do to get to the point where I can build HSH?
Thanks.
-- John Goerzen Author, Foundations of Python Network Programming http://www.amazon.com/exec/obidos/tg/detail/-/1590593715
participants (3)
-
dfeustel@mindspring.com
-
Duncan Coutts
-
John Goerzen