← Back to team overview

dolfin team mailing list archive

Re: Error message configuring dolfin to build without python support

 

On Tue, Sep 8, 2009 at 6:00 PM, Benjamin
Kehlet<benjamik@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hi
>
> I get this error when trying to build without PyDolfin on my laptop. Any
> ideas?
>
> bkehlet@bkehlet-laptop:~/software/dolfin$ scons configure enablePython=no
> scons: Reading SConscript files ...
> /home/bkehlet/software/dolfin/scons/simula-scons
> Using options from /home/bkehlet/software/dolfin/scons/options.cache
> MPI not found (might not work if PETSc uses MPI).
> Checking for pkg-config... yes
> Checking for boost_filesystem... yes
> Checking for zlib... yes
> Checking for numpy-1... yes
> Checking for slepc... no (pkg-config file not found)
>  Trying to generate pkg-config file for slepc... failed
> Checking for trilinos... no (pkg-config file not found)
>  Trying to generate pkg-config file for trilinos... failed
> Checking for ufc-1... yes
> Checking for umfpack... no (pkg-config file not found)
>  Trying to generate pkg-config file for umfpack... failed
> Checking for scotch... no (pkg-config file not found)
>  Trying to generate pkg-config file for scotch... 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 boost_program_options... yes
> Checking for gts... no (pkg-config file not found)
>  Trying to generate pkg-config file for gts... failed
> 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 python-2... yes
> Checking for boost... yes
> Checking for libxml-2.0... yes
> Resolving compiler... done
> Found optional package: zlib
> Unable to find optional package: petsc
> Unable to find optional package: slepc
> Unable to find optional package: scotch
> Unable to find optional package: umfpack
> Unable to find optional package: gts
> Unable to find optional package: trilinos
> Unable to find optional package: cholmod
> Unable to find optional package: mtl4
> Unable to find optional package: parmetis
> Disabling compilation of Python wrappers
> KeyError: 'CFile':
>  File "/home/bkehlet/software/dolfin/SConstruct", line 310:
>    exports=["env", "buildDataHash"])
>  File "/home/bkehlet/local/lib/scons-1.2.0/SCons/Script/SConscript.py",
> line 549:
>    return apply(_SConscript, [self.fs,] + files, subst_kw)
>  File "/home/bkehlet/local/lib/scons-1.2.0/SCons/Script/SConscript.py",
> line 259:
>    exec _file_ in call_stack[-1].globals
>  File "/home/bkehlet/software/dolfin/dolfin/SConscript", line 153:
>    cFileBldr = swigEnv["BUILDERS"]["CFile"]
>  File "/usr/lib/python2.5/UserDict.py", line 22:
>    raise KeyError(key)
> bkehlet@bkehlet-laptop:~/software/dolfin$

This should be fixed now.

Johannes


References