← Back to team overview

dolfin team mailing list archive

scons on osx

 

I'm trying to use the new building system on osx 10.5, but I get the following error:

pc194:dolfin ale$   pkg-config ufc-1 && echo "ok" || echo "not ok"
ok
pc194:dolfin ale$ sudo scons -h
Password:
scons: Reading SConscript files ...
Checking for pkg-config... yes
Checking for numpy-1... yes
Checking for python-2... yes
Checking for scotch... no (pkg-config file not found)
 Trying to generate pkg-config file for scotch... failed
Checking for trilinos... no (pkg-config file not found)
 Trying to generate pkg-config file for trilinos... failed
Checking for ufc-1... no (pkg-config file not found)
 Trying to generate pkg-config file for ufc-1... failed
Checking for umfpack... no (pkg-config file not found)
 Trying to generate pkg-config file for umfpack... failed
Checking for mtl4... no (pkg-config file not found)
 Trying to generate pkg-config file for mtl4... failed
Checking for petsc... no (pkg-config file not found)
 Trying to generate pkg-config file for petsc... failed
Checking for gts... no (pkg-config file not found)
 Trying to generate pkg-config file for gts... failed
Checking for boost... yes
Checking for cholmod... no (pkg-config file not found)
 Trying to generate pkg-config file for cholmod... failed
Checking for parmetis... no (pkg-config file not found)
 Trying to generate pkg-config file for parmetis... failed
Checking for slepc... no (pkg-config file not found)
 Trying to generate pkg-config file for slepc... failed
Checking for libxml-2.0... yes
Resolving compiler... done
Warning: Unknown dependency package: ufc-1
Enabling compilation of PyDOLFIN
AttributeError: 'NoneType' object has no attribute 'group':
  File "/Users/ale/FEniCS/dolfin/SConstruct", line 244:
    buildDataHash = env.SConscript(os.path.join(env["projectname"], "SConscript"), exports=["env", "configure"])
  File "/usr/local/lib/scons-1.1.0.d20081104/SCons/Script/SConscript.py", line 549:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File "/usr/local/lib/scons-1.1.0.d20081104/SCons/Script/SConscript.py", line 259:
    exec _file_ in call_stack[-1].globals
  File "/Users/ale/FEniCS/dolfin/dolfin/SConscript", line 112:
    swig_version = re.match(r"SWIG Version (.+)", out, re.M).group(1)

Since I don't want to use pydolfin and the errors seems to me as coming from swig, is there a way to skip this?
Another question: does dolfin support integrals over 2D meshes immersed in 3D? Thank you.

Regards,
Alessio

Follow ups