[jhc] Re: Compiling JHC from Darcs-HEAD

John Meacham john at repetae.net
Sat Nov 7 20:34:38 EST 2009


On Sat, Nov 07, 2009 at 12:08:50AM +0100, Henning Thielemann 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 ...

Hmmm, looks like I will need to parse those pragmas properly in order to
ignore them.. This is also a problem with RULES pragmas I know.

        John

-- 
John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/


More information about the jhc mailing list