
The Makefile in the HSH distribution should do this for you. But you can say:
ghc --make -o setup -package Cabal Setup.lhs
A40:/home/daf/Hsh/hsh}ghc --make -o setup -package Cabal Setu.lhs ghc-6.2.2: unknown package name: Cabal I'm working on getting ghc 6.6 built and installed. Gmake Currently exits on these errors: == gmake all -r; in /home/daf/Ghc/ghc-6.6/compiler ------------------------------------------------------------------------ ------------------------------------------------------------------------ == gmake all -r; in /home/daf/Ghc/ghc-6.6/rts ------------------------------------------------------------------------ ../compiler/ghc-inplace -optc-O -optc-L/usr/local/lib -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wbad-function-cast -optc-I../includes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-fno-strict-aliasing -H16m -O -L/usr/local/lib -optc-O2 -static -I. -#include HCIncludes.h -optc-fno-stack-protector -fvia-C -dcmm-lint -c Linker.c -o Linker.o Linker.c: In function `addDLL': Linker.c:1026: warning: assignment discards qualifiers from pointer target type Linker.c: In function `loadObj': Linker.c:1350: error: `MAP_32BIT' undeclared (first use in this function) Linker.c:1350: error: (Each undeclared identifier is reported only once Linker.c:1350: error: for each function it appears in.) Linker.c: In function `x86_64_high_symbol': Linker.c:2789: error: `MAP_32BIT' undeclared (first use in this function) Linker.c:2789: error: `MAP_ANONYMOUS' undeclared (first use in this function) gmake[1]: *** [Linker.o] Error 1 gmake: *** [stage1] Error 1 A40:/home/daf/Ghc/ghc-6.6} I'm not quite sure what to do with MAP_32BIT since I'm running in AMD 64-bit mode. Any suggestions?
./setup configure ./setup build (as root) ./setup install
On 2007-03-03, 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.
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
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On 2007-03-04, Dave@haskell.org, "Feustel
The Makefile in the HSH distribution should do this for you. But you can say:
ghc --make -o setup -package Cabal Setup.lhs
A40:/home/daf/Hsh/hsh}ghc --make -o setup -package Cabal Setu.lhs ghc-6.2.2: unknown package name: Cabal
Ahh. You will certainly need GHC 6.6 for HSH; see the list of prerequisites in the README or at http://software.complete.org/hsh/wiki/RelatedSoftware
gmake[1]: *** [Linker.o] Error 1 gmake: *** [stage1] Error 1 A40:/home/daf/Ghc/ghc-6.6}
I'm not quite sure what to do with MAP_32BIT since I'm running in AMD 64-bit mode. Any suggestions?
This is out of my league to answer, but if you tell us about your platform, I bet we can find you some precompiled binaries for it. -- John
participants (2)
-
unknown@example.com
-
John Goerzen