← Back to team overview

dolfin team mailing list archive

Re: Problems with DOLFIN and SWIG 2.0.5 on Debian ia64 platform

 

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.

-- 
  `--[ Myles ]


Follow ups

References