[Yhc] Can't build Yhc on Mac

Sergey Martynov martynovs at gmail.com
Thu Sep 24 06:25:41 EDT 2009


Hi,

i'm trying to build yhc from darcs on my mac (x86 10.5.8) but get following
error:

$ scons build
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.4.4.
Checking for GHC binary... (cached) "ghc"
Checking for GHC version 6.4.1 or later... (cached) Found version 6.10.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.4

scons: warning: The env.TargetSignatures() method is deprecated;
    convert your build to use the env.Decider() method instead.
File "/Users/serega/Projects/side/yhc/SConstruct", line 87, in <module>
Bootstrapping...
Done.

scons: warning: The env.Copy() method is deprecated; use the env.Clone()
method instead.
File "/Users/serega/Projects/side/yhc/depends/ctypes/libffi/SConscript",
line 6, in <module>
scons: done reading SConscript files.
scons: Building targets ...
Getting dependencies for src/compiler/AssocTree.hs.
An error ocurred running `ghc -M -optdep-f
-optdepsrc/compiler/.AssocTree.hs.dep
-i./src/compiler:./src/libraries/general:./src/libraries/core:depends/cpphs:depends/filepath:depends/uniplate:./src/interactive
src/compiler/AssocTree.hs`:
>
>on the commandline:
>    Warning: -optdep-f is deprecated: Use -dep-makefile instead
>
Dependencies will not be calculated.
"ghc" -i./src/compiler -i./src/libraries/general -i./src/libraries/core
-idepends/cpphs -idepends/filepath -idepends/uniplate -i./src/interactive
-package mtl -package containers -package pretty -package packedstring -c
src/compiler/AssocTree.hs -o src/compiler/AssocTree.o

src/compiler/AssocTree.hs:17:0:
    Failed to load interface for `Tree234':
      Use -v to see a list of the files searched for.
scons: *** [src/compiler/AssocTree.o] Error 1
scons: building terminated because of errors.

How can i fix this error?

On wiki http://www.haskell.org/haskellwiki/Yhc/Building i found link to
buildbot status but it's dead.
Does buildbot still used for build automation? If yes then i can setup slave
on my machine.

-- 
Best regards,
Sergey Martynov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/yhc/attachments/20090924/f04e4bbc/attachment.html


More information about the Yhc mailing list