[jhc] Re: Compiling JHC from Darcs-HEAD

Henning Thielemann jhc at henning-thielemann.de
Fri Nov 6 18:08:50 EST 2009


On Tue, 3 Nov 2009, John Meacham wrote:

> This is probably because you didn't pull the additional Doc repository,
> 'make darcs-fetch' should pull it down.

Yes this works. I think I have now successfully compiled jhc. However, when 
calling 'make install' I get parse errors in the containers package. I assumed, 
that 'make install' would just install files without inspecting them again.

make  install-am
make[1]: Entering directory `/home/thielema/programming/haskell/jhc'
./jhc   --noauto -L- -L. -Isrc/data -Ilib/containers/include -ilib/containers 
-pjhc -pbase -papplicative -fcpp --build-hl lib/containers.cabal  -o 
containers-0.2.0.hl
jhc --noauto -L- -L. -Isrc/data -Ilib/containers/include -ilib/containers -pjhc 
-pbase -papplicative -fcpp --build-hl lib/containers.cabal -o 
containers-0.2.0.hl
jhc 0.7.3 (0.7.2-36)
Creating library from description file: "lib/containers.cabal"
Reading: "lib/containers.cabal"
Finding Dependencies...
Using Ho Cache: '/root/.jhc/cache'
Data.Graph              [lib/containers/Data/Graph.hs]
lib/containers/Data/IntSet.hs:168 - Warning: The pragma 'UNPACK' is unknown
lib/containers/Data/IntSet.hs:169 - Warning: The pragma 'UNPACK' is unknown
lib/containers/Data/IntSet.hs:169 - Warning: The pragma 'UNPACK' is unknown
lib/containers/Data/IntSet.hs:722 - Warning: The pragma 'UNPACK' is unknown
Data.IntSet             [lib/containers/Data/IntSet.hs]
Data.Tree               [lib/containers/Data/Tree.hs]
lib/containers/Data/Sequence.hs:312:16: Parse error
make[1]: *** [containers-0.2.0.hl] Fehler 1
make[1]: Leaving directory `/home/thielema/programming/haskell/jhc'
make: *** [install] Fehler 2


Parse error occurs in a SPECIALIZE INLINE pragma. If I remove that, I get 
errors about INLINE pragma with 'instance' and so on ...


More information about the jhc mailing list