Problem installing ufc

Asked by Jorge Manuel Jardim da Silva

Hi,
When I try to install ufc doing scons the following error appear:
"AttributeError: SConsEnvironment instance has no attribute 'CXXFile':
File "...ufc-1.4.0\SConstruct", line 141:
ufc_wrap, ufc_py = swig_env.CXXFile (target=ufc_basename,

Please, help me.
Thanks

Jorge Silva

Question information

Language:
English Edit question
Status:
Answered
For:
FEniCS Project Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johan Hake (johan-hake) said :
#1

Hello Jorge!

This looks very strange.

What version of SCons do you have?

From what directory do you run scons from?

Can you provide the whole output from the scons command?

Johan

On Monday April 26 2010 09:02:51 Jorge Manuel Jardim da Silva wrote:
> New question #108471 on FEniCS Project:
> https://answers.launchpad.net/fenics/+question/108471
>
> Hi,
> When I try to install ufc doing scons the following error appear:
> "AttributeError: SConsEnvironment instance has no attribute 'CXXFile':
> File "...ufc-1.4.0\SConstruct", line 141:
> ufc_wrap, ufc_py = swig_env.CXXFile (target=ufc_basename,
>
> Please, help me.
> Thanks
>
> Jorge Silva

Revision history for this message
Jorge Manuel Jardim da Silva (jorge-silva-case) said :
#2

Hello Johan

I have the Scons-1.2.0.d20100117.
It installed in directory C:\Python26\Scripts
When I run scons in Command Prompt in ufc directory the result is

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Joao Maia\My Documents\RHEAGAN Simulations\ufc-1.4.0>s
cons
scons: Reading SConscript files ...
Checking for SWIG...(cached) yes
Checking for SWIG version > 1.3.35...(cached) yes
Checking for Boost...(cached) yes
Checking for Python...(cached) yes
AttributeError: SConsEnvironment instance has no attribute 'CXXFile':
  File "C:\Documents and Settings\Joπo Maia\My Documents\RHEAGAN Simulations\ufc
-1.4.0\SConstruct", line 141:
    ufc_wrap, ufc_py = swig_env.CXXFile(target=ufc_basename,

Thanks,
Jorge

Revision history for this message
Andy R Terrel (andy-terrel) said :
#3

I'm not sure there is anyone around running on windows, especially
with rheagen. You might see if this wiki page helps:

http://fenics.org/wiki/Installing_DOLFIN_on_Windows

Can you help with this problem?

Provide an answer of your own, or ask Jorge Manuel Jardim da Silva for more information if necessary.

To post a message you must log in.