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

Re: SVN Bindings, Ruby, WIN32

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-04-29 09:09:23 CEST

On 4/29/05, Kyle Heon <kheon@comcast.net> wrote:
>
>
> Is it yet possible to access SVN via Ruby? I know there are bindings in the
> works for SVN and Ruby but I'm not completely sure how that all works. Is
> it possible to get these bindings in any of the 1.2 RC's?

Not on Windows, at least for now. There are several reasons for this:

- The Ruby bindings use SWIG 1.3.24 or higher, but that version
generates code which Visual Studio 6 can't compile (it uses the
unsupported 'long long' datatype)
- The Ruby Win32 headers define 'pid_t', 'gid_t' and 'uid_t' which are
also defined by the APR headers. The problem is that Ruby uses #define
and APR uses typedef. So, they conflict.

I'm working with both the APR devs and the Ruby devs to make sure they
remove these definitions and define types only in 'their own
namespace'.

Branko is bugging the SWIG people to make sure SWIG 1.3.25 will
generate code which can be compiled with VS6, I believe.

Conclusion: Some work needs to be done to get it to compile, but we're
working on it.

Hope that explains the situation.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 29 09:10:27 2005

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