← Back to team overview

dolfin team mailing list archive

Re: Dolfin scons problems

 

On Fri, Sep 25, 2009 at 11:35 AM, Harish Narayanan
<harish.mlists@xxxxxxxxx> wrote:
> Andy Ray Terrel wrote:
>> So I've updated quite a bit of software and it looks like dolfin (hg
>> pulled) is having problems installing for me.  I thought I would shoot
>> this out to see if anyone has seen this error before I go down the
>> rabbit hole.
>>
>> aterrel@dhcp-11-18:~/workspace/dolfin$ scons
>> scons: Reading SConscript files ...
>> /Users/aterrel/workspace/dolfin/scons/simula-scons
>> KeyError: 'enableBenchmarks':
>>   File "/Users/aterrel/workspace/dolfin/SConstruct", line 387:
>>     exports=["env", "modules", "configuredPackages", "buildDataHash"])
>>   File "/usr/local/lib/scons-1.2.0.d20090919/SCons/Script/SConscript.py",
>> line 553:
>>     return apply(_SConscript, [self.fs,] + files, subst_kw)
>>   File "/usr/local/lib/scons-1.2.0.d20090919/SCons/Script/SConscript.py",
>> line 262:
>>     exec _file_ in call_stack[-1].globals
>>   File "/Users/aterrel/workspace/dolfin/dolfin/SConscript", line 352:
>>     if env["enableBenchmarks"]:
>>   File "/usr/local/lib/scons-1.2.0.d20090919/SCons/Environment.py", line 408:
>>     return self._dict[key]
>>
>>
>>
>> FWIW, my software setup:
>>   Mac OS X 10.7
>
> 10.6?

Yes 10.6.  Sorry.

Also looks like running 'scons configure' first avoids the problem, for now.


Follow ups

References