more about the downloadable swig

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-01-23 23:03:22 +00:00
parent 32fe513144
commit 9269629e9e

View File

@@ -8,17 +8,24 @@ wxPython. These have been submitted to SWIG's SourceForge patch
tracker, so hopefully they will get incorporated into the main SWIG tracker, so hopefully they will get incorporated into the main SWIG
source tree soon. source tree soon.
wxPython currently uses the 1.3.24 version of SWIG, which you can get wxPython currently uses the 1.3.27 version of SWIG, which you can get
from https://sourceforge.net/projects/swig/, plus the patch(es) in this from https://sourceforge.net/projects/swig/, plus the patch(es) in
directory. Download the SWIG sources, apply the patch(es) here and this directory. Download the SWIG sources, apply the patch(es) here
then build as normal. If you want to use both the patched version of and then build as normal. I have also have made available a tarball
SWIG and the stock version, then you can configure the patched version containing the patched SWIG sources, plus a win32 binary, located
to use a different --prefix and then specify that executable when here:
running setup.py, like this:
http://starship.python.net/crew/robind/wxPython/tools/
If you want to use the patched version of SWIG and still have the
stock version available for other projects, then you can configure the
patched version to use a different --prefix and then specify that
executable when running setup.py, like this:
python setup.py SWIG=/path/to/my/swig [other params] python setup.py SWIG=/path/to/my/swig [other params]
------------------------------------------------------------------------ ------------------------------------------------------------------------
swig-1.3.27.patch swig-1.3.27.patch
@@ -40,7 +47,7 @@ swig-1.3.27.patch
------------------------------------------------------------------------ ------------------------------------------------------------------------
swig-1.3.24.patch swig-1.3.24.patch (now obsolete)
A bug was introduced in SWIG 1.3.23 and remains in 1.3.24 that A bug was introduced in SWIG 1.3.23 and remains in 1.3.24 that
causes compilation problems with wxPython (copies are being made causes compilation problems with wxPython (copies are being made