
Hi everyone I am getting a build error when attempting to build Yhc. I realise this is a fairly difficult question to answer, but all I've done so far is a simple darcs get followed by scons, ie literally # darcs get --partial http://darcs.haskell.org/yhc # ls yhc # scons The error message I get is: inst/bin/yhc -core -cpp -c src/packages/yhc-base-1.0/YHC/Internal.hs yhc: Error: File not found, YHC.Primitive Reason: imported from YHC.Internal Looked in: /disk/scratch/s9810217/programs/yhc/src/packages/yhc-base-1.0/ . /disk/scratch/s9810217/programs/yhc/inst/lib/yhc/packages/yhc-base/1.0 scons: *** [src/packages/yhc-base-1.0/YHC/Internal.hbc] Error 1 scons: building terminated because of errors. This seems like a build system error? any suggestions? regards allan

Hi Allan,
Whoops I knew I would get it to work seconds after posting. Basically # scons fails, but # scons build succeeds. I don't know if you would still consider this a build failure.
Now if you do scons, I suspect it will work. It's definately a build error, and definately one we'd like to get fixed. It looks like a dependancy is lacking between Primitive and Internal - I'll take a shot at adding a dependancy, and if nothing breaks we can leave it and hopefully everything will be happy. Thanks Neil

Too late Neil, I've already pushed a patch :-)
Andrew
On 2/9/07, Neil Mitchell
Hi Allan,
Whoops I knew I would get it to work seconds after posting. Basically # scons fails, but # scons build succeeds. I don't know if you would still consider this a build failure.
Now if you do scons, I suspect it will work.
It's definately a build error, and definately one we'd like to get fixed. It looks like a dependancy is lacking between Primitive and Internal - I'll take a shot at adding a dependancy, and if nothing breaks we can leave it and hopefully everything will be happy.
Thanks
Neil _______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc
participants (3)
-
Allan Clark
-
Andrew Wilkinson
-
Neil Mitchell