[Yhc] Build Problem

Neil Mitchell ndmitchell at gmail.com
Mon Mar 19 08:27:17 EDT 2007


Hi Dominic,

You've got an awful lot further, I've pushed a patch to fix your issue
- darcs pull in the root then scons and it should work more this time.

Thanks

Neil

On 3/19/07, Dominic Steinitz <dominic.steinitz at blueyonder.co.uk> wrote:
> 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