[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: Kyle Heon <kheon_at_comcast.net>
Date: 2005-04-29 12:55:53 CEST

Thanks for the update.

Kyle Heon
kheon@comcast.net

-----Original Message-----
From: Erik Huelsmann [mailto:ehuels@gmail.com]
Sent: Friday, April 29, 2005 3:09 AM
To: kheon@comcast.net
Cc: dev@subversion.tigris.org
Subject: Re: SVN Bindings, Ruby, WIN32

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 12:57:14 2005

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.