Re: [PATCH] Could you merge Ruby SWIG-based bindings?
From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2005-01-17 16:58:03 CET
Hi,
New version for current trunk:
In <41EAA043.9030808@electricjellyfish.net>
> > I'm still writing Ruby SWIG-based bindings.
This supposes the following:
* ruby 1.8.2
And I'm using the followings:
* ruby 1.8.2 (2005-01-10) [i386-linux] : ruby -v
and
* ruby 1.8.2 (2004-12-25) [i386-freebsd5] : ruby -v
> Step by step instructions as to what make targets are supposed to be
To configure the bindings:
% ./configure ... --with-swig-ruby-sitedir=$HOME/local/lib/site_ruby
--with-swig-ruby-sitedir option are explained at below. If
To make the bindings:
% make swig-rb
To install the bindings:
% make install-swig-rb
To run test: (don't need install)
% cd subversion/bindings/swig/ruby && ruby test/run-test.rb
To run without installing:
% mkdir -p subversion/bindings/swig/ruby/ext/svn
> So far, when trying to run the tests without installing things I can't
I think you are using ruby 1.6.x. rb_hash_foreach is not
> Also, when I run 'make install-swig-rb' it installs all the bindings
I wanted to customize installed directory. So I used $PREFIX
I added a new configure option,
% ruby -r rbconfig -e 'puts Config::CONFIG["sitedir"]'
-- kou --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Mon Jan 17 17:00:07 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.