Red Hat Bugzilla – Bug 122323
SWIG Perl bindings don't compile under Fedora Core
Last modified: 2015-03-04 20:13:54 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6)
Description of problem:
The version of SWIG supplied with Fedora Core is incompatible with
either the compiler or libraries included with the distro. I supplied
a patch to fix this to the SWIG people which was included in
swig-1.3.20 (and above). This new release needs to be included with
Fedora Core so that the patch is included and perl bindings will compile.
I have tested 1.3.21 (compiled from tarball) and it works fine (while
1.3.19 from the RPM does not).
I am not aware of RPMs existing for this version of the swig package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Attempt to compile examples from swig website for perl bindings
under gcc (version included with Fedora Core). That's it.
Actual Results: The compile fails due to the new version of GCC being
much more picky about types in function calls.
Expected Results: It should have failed because this old version of
swig was pretty relaxed about types. The new version fixes this.
OK, updated swig to 1.3.21. Needed to tweak some minor things but
compiles just fine on current tree.
Not sure if it will make it into FC2, but it will certainly be in the
Read ya, Phil