Red Hat Bugzilla – Bug 490265
The version of SWIG shipped with RHEL 5 (5.3?) is one revision too old
Last modified: 2013-04-30 19:42:54 EDT
Description of problem:
SWIG versions prior to 1.3.30 does not support correct expansion of $self. Many modern (recently written) swig wrappers now use $self expansion to define object destructors, and these all of course fail to build with the version of swig distributed. The version shipped is 1.3.29 which is several years old. If it can be "bumped" even minimally to 1.3.30 (or better a more recent 1.3.x release) this would resolve this issue.
Version-Release number of selected component (if applicable):
Build a swig with a $self reference. You will get error: '$self' was not declared in this scope. A typical note about this can be found here: http://firstname.lastname@example.org/msg02184.html as there is much discussion also findable on google for this issue...
*** Bug 558795 has been marked as a duplicate of this bug. ***
We don't plan to rebase swig in next releases of RHEL5. If you feel that this issue is critical for you, please contact redhat.com/support .
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.