On Sat, October 25, 2008 19:03, Johan Hake wrote:
> On Saturday 25 October 2008 18:57:08 Johannes Ring wrote:
>> On Sat, October 25, 2008 18:39, osman wrote:
>> > Hi,
>> > I am trying to build 0.8.1. doing scons -h  gives the following error:
>> >
>> > stargate:/home/osman/FENICS-0.8.1/dolfin-0.8.1-bash-> scons -h
>> > scons: Reading SConscript files ...
>> > AttributeError: 'module' object has no attribute
>> 'ExtendedEnvironment':
>> >   File "/home/osman/FENICS-0.8.1/dolfin-0.8.1/SConstruct", line 23:
>> >     env = scons.ExtendedEnvironment(ENV=os.environ)
>> > stargate:/home/osman/FENICS-0.8.1/dolfin-0.8.1-bash->
>>
>> You probably have an old version of simula-scons in your PYTHONPATH. Is
>> it
>> possible that you have installed the simula-scons package from
>> http://packages.simula.no? If so, try to remove it and run scons again.
>> If
>> not, look through the directories in PYTHONPATH for a copy of
>> simula-scons
>> and remove it.
>
> Should we include some version system for simula_scons? So one can get a
> more
> sensible message when trying to use an old simula_scons?

Yes, or we could simply force DOLFIN to use the simula-scons that is
located under the scons folder.

Johannes


_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to