← Back to team overview

dolfin team mailing list archive

scons build problem without petsc/umfpack

 

Hello,
I just cloned a fresh dolfin. I am getting :

stargate:/home/osman/FENICS2/dolfin-bash-> scons enableUmfpack=0
enablePetsc=0 enableDemos=1
scons: Reading SConscript files ...
Checking for numpy-1...
** Warning: Added /home/osman/FENICS2/dolfin/scons/pkgconfig
    as PKG_CONFIG_PATH **
yes
Checking for scotch... no (pkg-config file not found)
 Trying to generate pkg-config file for scotch... failed
 *** Unable to generate a suitable pkg-config file for scotch.
 *** If scotch is present on your system, try setting the SCOTCH_DIR
 *** environment variable to the directory where scotch is installed.
Checking for ufc-1... yes
Checking for python-2... yes
Checking for gts... yes
Checking for boost... no (pkg-config file not found)
 Trying to generate pkg-config file for boost... done
 Found Boost and generated pkg-config file in
 '/home/osman/FENICS2/dolfin/scons/pkgconfig'
Checking for libxml-2.0... yes
Found optional package: gts
Unable to find optional package: petsc
Unable to find optional package: slepc
Unable to find optional package: scotch
Unable to find optional package: umfpack
AttributeError: Dependency instance has no attribute 'linkOpts':
  File "/home/osman/FENICS2/dolfin/SConstruct", line 153:
    buildDataHash = env.SConscript(os.path.join(env["projectname"],
"SConscript"), exports=["env", "configure"])
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 520:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 245:
    exec _file_ in call_stack[-1].globals
  File "/home/osman/FENICS2/dolfin/dolfin/SConscript", line 129:
    linkOpts += dep.linkOpts
stargate:/home/osman/FENICS2/dolfin-bash->

Looks like it has to with swig but I have not touched that, and it
worked 4-5 days ago. 
Anything I can do ?
I am on ubuntu gutsy 64 
swig -version
SWIG Version 1.3.31
Compiled with g++ [x86_64-unknown-linux-gnu]

Thanks in advance,
-osman



Follow ups