← Back to team overview

dorsal team mailing list archive

Re: problem building the development version on Fedora13

 

If 

  swig -version

still gives you the old version you need to set your PATH to point to where 
the new SWIG is installed. If it is in the PATH already you might want to 
delete the build directory (or just CMakeCache) in the UFC source tree as it 
might still pick up the old SWIG.

Johan

On Thursday June 30 2011 00:31:56 Douglas N Arnold wrote:
> Thanks, Johan.  I added swig to my package list in the platform file,
> and now I have a new swig in my FEniCS build directory.  How to I
> get dorsal to use it when compiling UFC?  I am still seeing
> the same error.  -- Doug
> 
> On 06/30/2011 12:18 AM, Johan Hake wrote:
> >> 3) The ufc build failed with:
> >> 
> >> Building ufc
> >> ERROR UFC requires SWIG version 2.0 or greater. You have version 1.3.40.
> >> Set UFC_ENABLE_PYTHON to False or install correct SWIG version.
> >> SWIG_MODULE_LOCATION
> > 
> > [snip]
> > 
> >> Seems that I need to set UFC_ENABLE_PYTHON, but I don't know how or
> >> where to do that.
> > 
> > You have a too low SWIG version. Try adding "swig" to your package list.
> > 
> > Johan


Follow ups

References