← Back to team overview

dolfin team mailing list archive

Re: scons build problem without petsc/umfpack

 

Fri, March 21, 2008 osman wrote:
> 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]

The problem is probably that you have installed simula-scons by running
the setup.py script included with simula-scons. If this is the case, you
need to run the setup.py script again or use the simula-scons that us
included with DOLFIN.

Johannes

> Thanks in advance,
> -osman
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>




References