
Hi I am just starting to learn Haskell (and FP in general). I've printed a copy of Yet Another Haskell Tutorial[1], and I wanted to work through it simultaneously using Ghc and Yhc. I've done this so far: % darcs get --partial http://darcs.haskell.org/yhc % scons But I get this error:
darcs get --partial --repo-name=depends/cpphs http://www.cs.york.ac.uk/fp/yhc/dependencies/cpphs
darcs failed: Failed to download URL http://www.cs.york.ac.uk/fp/yhc/dependencies/cpphs/_darcs/patches/2005122014... : HTTP response code said error
Running scons again give the following output:
40> ../Documents/Development/haskell/yhc % scons scons: Reading SConscript files ... Building version 0.7.0-20080514104547-custom. Checking for architecture... (cached) x86 Checking for operating system... (cached) darwin Checking for Subversion binary... (cached) "svn" Checking for Subversion version... (cached) Found version 1.5.0. Checking for GHC binary... (cached) "ghc" Checking for GHC version 6.4.1 or later... (cached) Found version 6.8.3. Checking for C header file gmp.h... (cached) yes Checking for mpz_t integ; mpz_init (integ) in C library gmp... (cached) yes Checking for libgmp version... (cached) 4.2.2
scons: warning: The env.TargetSignatures() method is deprecated; convert your build to use the env.Decider() method instead. File "/Users/ashleymoran/Documents/Development/haskell/yhc/ SConstruct", line 87, in <module> Bootstrapping... build/SConscript.cpphs -> depends/cpphs/SConscript Done.
scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead. File "/Users/ashleymoran/Documents/Development/haskell/yhc/depends/ ctypes/libffi/SConscript", line 6, in <module> scons: done reading SConscript files. scons: Building targets ... scons: *** Source `depends/ctypes/libffi/src/x86/ffi_darwin.c' not found, needed by target `depends/ctypes/libffi/src/x86/ ffi_darwin.o'. Stop. scons: building terminated because of errors.
Can anyone help me get Yhc building? Thanks Ashley [1] http://en.wikibooks.org/wiki/Haskell/YAHT -- http://www.patchspace.co.uk/ http://aviewfromafar.net/