[Yhc] Build Problem

Dominic Steinitz dominic.steinitz at blueyonder.co.uk
Mon Mar 19 04:51:03 EDT 2007


On Sunday 18 March 2007 16:38, Neil Mitchell wrote:
> Hi
>
> > This was down to some recent bugfixes in cpphs, which ghc -cpp then
> > failed to parse correctly.  I pushed a fix for this issue to the cpphs
> > repo on Thursday.  Maybe you need to do a 'darcs pull' in
> > yhc/depends/cpphs.
>
> "scons depends" will do this all for you.
>
> Thanks
>
> Neil

Thanks. I'm not sure if I got further or not.

Dominic.

dom at heisenberg:~/yhc> scons depends
scons: Reading SConscript files ...
...
darcs pull --repodir=depends/cpphs
Pulling from "http://www.cs.york.ac.uk/fp/darcs/cpphs"...
...
dom at heisenberg:~/yhc> scons build
...
YHC_build(["src/packages/yhc-base-1.0/Data/Set.hbc"], 
["src/packages/yhc-base-1.0/Data/Set.hs"])
inst/bin/yhc -core -cpp -c src/packages/yhc-base-1.0/Data/Set.hs
Warning: Can't find file "Typeable.h" in directories
        /home/dom/yhc/src/packages/yhc-base-1.0/Data
        .
  Asked for by: /home/dom/yhc/src/packages/yhc-base-1.0/Data/Set.hs  at line 
553 col 1
Error: File not found, Data.Monoid
Reason: imported from Data.Set
Looked in:
  /home/dom/yhc/src/packages/yhc-base-1.0/
  .
  /home/dom/yhc/inst/lib/yhc/packages/yhc-base/1.0
scons: *** [src/packages/yhc-base-1.0/Data/Set.hbc] Error 1
scons: building terminated because of errors.




More information about the Yhc mailing list