[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SWIG 1.3.21 on Windows

From: D.J. Heap <dj_at_shadyvale.net>
Date: 2004-03-19 19:51:32 CET

I've been playing with this some more (just with Python bindings) and
have gotten a lot further, but still not quite there.

Unfortunately, I'm very unfamiliar with swig and don't use it so my play
time with it has come to an end -- at least for a while.

So, I thought I'd post where I got to and maybe some other interested
party can pick it up.

First, as Patrick noted, this line needs to be added to the Python
section of build/win32/gen_swig_runtime.py:

                File('python', 'precommon.swg'),

I also had to adjust system include paths to have swig\lib so that file
could be found.

Second, as Ben noted, the SVN_SWIG_VERSION=103021 had to be added to the
swig projects. This is found by parsing the output of 'swig -version'
for the unixy makefiles, but the Windows generator doesn't do it.

At this point, I can compile everything and it looks ok to me...but
there seems to be some missing .py files (dll wrappers?) in the
subversion\bindings\swig\python directory that the swig\INSTALL file
implies should be copied to Python\lib\site-packages\libsvn. I suppose
swig should be generating those?

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 19 19:51:46 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.