[Yhc] Re: Could not build yhc

Neil Mitchell ndmitchell at gmail.com
Fri Oct 13 05:26:02 EDT 2006


Hi Dimitry,

No idea, but I'm sure Andrew does. I have sent this on to the Yhc
mailing list where I am sure someone will no the answer.

Thanks

Neil

(Please CC Dimitry in on the responses to this)

On 10/13/06, Dimitry Golubovsky <golubovsky at gmail.com> wrote:
> Neil,
>
> I just tried to build yhc using the instructions on Haskellwiki.
>
> I installed a newer Python (2.2.3), scons, and the latest Subversion.
>
> I got this error message (actually, this is the second attempt, the
> first attempt failed after:
>
> bootstrap/packages/yhc-base/1.0/Data/Ratio.hi ->
> src/packages/yhc-base-1.0/Data/Ratio.hi
> bootstrap/packages/yhc-base/1.0/Data/Ratio.hbc ->
> src/packages/yhc-base-1.0/Data/Ratio.hbc )
>
> ===============
>
> bash$ scons
> scons: Reading SConscript files ...
> Checking for architecture... x86
> Checking for operating system... linux2
> Bootstrapping...
> Done.
> AttributeError: 'module' object has no attribute 'walk':
>   File "Sconstruct", line 70:
>     yhi_objs, yhcfiles, library, testerfiles = SConscript("src/SConscript")
>   File "/previous/public/Python-2.2.3/lib/python2.2/site-packages/SCons/Script/SConscript.py",
> line 581:
>     return apply(method, args, kw)
>   File "/previous/public/Python-2.2.3/lib/python2.2/site-packages/SCons/Script/SConscript.py",
> line 508:
>     return apply(_SConscript, [self.fs,] + files, {'exports' : exports})
>   File "/previous/public/Python-2.2.3/lib/python2.2/site-packages/SCons/Script/SConscript.py",
> line 239:
>     exec _file_ in stack[-1].globals
>   File "src/SConscript", line 5:
>     yhc_main = SConscript("compiler98/SConscript")
>   File "/previous/public/Python-2.2.3/lib/python2.2/site-packages/SCons/Script/SConscript.py",
> line 581:
>     return apply(method, args, kw)
>   File "/previous/public/Python-2.2.3/lib/python2.2/site-packages/SCons/Script/SConscript.py",
> line 508:
>     return apply(_SConscript, [self.fs,] + files, {'exports' : exports})
>   File "/previous/public/Python-2.2.3/lib/python2.2/site-packages/SCons/Script/SConscript.py",
> line 239:
>     exec _file_ in stack[-1].globals
>   File "src/compiler98/SConscript", line 7:
>     for root, dir, files in list(os.walk(".")):
>
> ==============
>
> Do I need a newer Python than 2.2.3?
>
> --
> Dimitry Golubovsky
>
> Anywhere on the Web
>


More information about the Yhc mailing list