Please backport swig2.0 (2.0.7-2ubuntu1) from quantal
Bug #1010452 reported by
Karl Wette
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Precise Backports |
Opinion
|
Undecided
|
Unassigned |
Bug Description
Please consider backporting swig2.0, swig2.0-doc, and swig2.0-examples (2.0.7-2ubuntu1) from quantal. There have been a number of improvements to SWIG since the version currently in precise (2.0.4, released ~1 year ago), and it would be very useful to have these features available in a LTS release. Release notes for SWIG 2.0.7 can be found here:
http://
Thanks in advance!
Cheers,
Karl
To post a comment you must log in.
Some further information:
* The swig2.0 packages in quantal can be backported to precise without modification, i.e. archive. ubuntu. com/ubuntu/ pool/main/ s/swig2. 0/swig2. 0_2.0.7- 2ubuntu1. dsc
$ backportpackage -b -w /tmp http://
produces packages without errors.
* The packages produced by backportpackage install correctly.
* The swig binary installed by these packages runs, and from testing appears to be working correctly.
* swig2.0 has the following reverse dependencies (aside from other swig packages): python-instant, python-dolfin, libsyfi1.0-dev. Unfortunately, it looks like python-dolfin will not work with the backported version, since it requires the version of swig it was compiled with (v2.0.4). I get the following error, after installing dolfin-doc and trying to run a demo code in /usr/share/ dolfin/ demo/la/ eigenvalue/ python:
$ python ./demo_ eigenvalue. py Traceback (most recent call last): eigenvalue. py", line 44, in <module> python2. 7/dist- packages/ dolfin/ functions/ functionspace. py", line 353, in __init__ ceBase. __init_ _(self, mesh, element) python2. 7/dist- packages/ dolfin/ functions/ functionspace. py", line 77, in __init__ _ufl_element) python2. 7/dist- packages/ dolfin/ compilemodules/ jit.py" , line 66, in mpi_jit python2. 7/dist- packages/ dolfin/ compilemodules/ jit.py" , line 114, in jit %cpp.__ swigversion_ _
File "./demo_
V = FunctionSpace(mesh, "CG", 1)
File "/usr/lib/
FunctionSpa
File "/usr/lib/
ufc_element, ufc_dofmap = jit(self.
File "/usr/lib/
return local_jit(*args, **kwargs)
File "/usr/lib/
"""
OSError: PyDOLFIN was not compiled with the present version of swig.
Install swig version 2.0.4 or recompiled PyDOLFIN with present swig
I'm guessing this is a fatal problem?