← Back to team overview

dolfin team mailing list archive

Re: Problems compiling pydolfin 0.7.0-1

 

On Tue, Jun 26, 2007 at 10:33:26PM +0200, Martin Sandve Alnæs wrote:
> 2007/6/26, Ola Skavhaug <skavhaug@xxxxxxxxx>:
> > > I compiled first with swig 1.3.29, then installed 1.3.31 and ran "make
> > > clean && configure && make" in dolfin, could that be the problem?
> >
> > You'll need to touch dolfin.i in src/pydolfin.
> 
> It worked.
> 
> If it's not too much trouble, it would be more intuitive if that was
> done automatically on a "make clean". And configure should preferably
> pick up the wrong swig version (1.3.29) which didn't work.
> 
> martin

We tried that (touch it at make clean) but that was not a good
solution. Maybe you don't want to regenerate the SWIG interface just
because you clean the object files. Anyway, the problem is Automake
does not handle dependencies from SWIG very well.

This should be handled with the new DOLFIN build system Åsmund is
working on. (Something we discussed in Delft last year and Åsmund has
indicated it might soon be ready.)

/Anders


References