dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #25648
Re: Problems with DOLFIN and SWIG 2.0.5 on Debian ia64 platform
On Wed, May 16, 2012 at 11:07 AM, Myles English <mylesenglish@xxxxxxxxx> wrote:
>
> Hi Johannes,
>
>>> On Wed, 16 May 2012 10:27:43 +0200, Johannes Ring said:
>
> > It seems that Python 3.2 is also installed on the build machine and I
> > guess DOLFIN picks up Python.h from this version. I will fix this in
> > the Debian package. Thanks for the help.
>
> Python 3 is the default for Arch Linux and Python 2 is commonly
> installed alongside it. The FEniCS build scripts in the Arch User
> Repository (e.g. https://aur.archlinux.org/packages.php?ID=58971)
> make substitutions in the source to use Python 2, such as:
>
> find ./ -name "*" -type f -exec \
> sed -i 's#\(/usr/bin/env \|/usr/bin/\)python[2-3]*#\1python2#' {} \;
>
> It may save you some time if you are going down the same road.
Thanks Myles,
The thing is that Python 3 should not have been installed on this
build machine at all. It's a Debian specific problem.
Johannes
References