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

Re: Subversion, DLL and Python

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-06-25 15:34:04 CEST

Emmanuel-G BLOT wrote:
> Max Bowsher wrote:
>> Numerous dependencies, all of which are available as precompiled packages
>> through Cygwin's setup tool.
> You're right.
> However, I still have issues with the dynamic/static libtool stuff. I'm
> probably not good at it , I will try again.

If you want to give some specifics, I'll try to help you solve the problem.

>> I will add a cygwin subversion-python package to my todo list.
> That would be very nice. Thanks.

OK, I've just built the python bindings. It was messy - I had to add extra libraries to lots of link lines, and hack out a check in
libtool too.

Here's the short version, for anyone interested:

libsvn_swig_py link line: Add -L/usr/lib/python2.3/config -lpython2.3 -lswigpy

all bindings modules line lines: Add -L/usr/lib/python2.3/config -lpython2.3
(-lswigpy already there)
Also need to link against libsvn_subr.

Need to hack libtool, because it wants to disallow linking a DLL against a static library (which is what -lswigpy is on Cygwin at
the moment).

I'll set about tidying this up, and then think about a new version of my Cygwin packages with python support.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 25 15:38:04 2004

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

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