[Haskell-cafe] Re: ANN: HSH 1.2.0

Dave at haskell.org Dave at haskell.org
Sun Mar 4 18:28:30 EST 2007


> 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 at mindspring.com <dfeustel at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list