Thanks for the reply. I must be an idiot. I am new to Linux and there''s
a
lot I have to learn in regards to building from source.
I just followed your instructions and I think things are working now. What I
believe I didn''t do first was actually run make install (so I never
actually
had SVN installed when trying to use the examples.
I''m building on Fedora Core 3.
I am still getting errors though when I run make check-swig-rb, shown below:
1) Failure:
test_update(TestSvnClient)
[/tmp/subversion/subversion/bindings/swig/ruby/test/test_client.rb:56]:
<Svn::Error::FS_NO_SUCH_REVISION> exception expected but was
Class: <Svn::Error>
Message: <"No such revision 2\nError aborting report\nCan''t
close file
''/tmp/report.tmp'': Bad file descriptor">
---Backtrace---
/tmp/subversion/subversion/bindings/swig/ruby/.ext/svn/ext/client.so:0:in
`svn_client_update''
/tmp/subversion/subversion/bindings/swig/ruby/.ext/svn/ext/client.so:0:in
`update''
/tmp/subversion/subversion/bindings/swig/ruby/svn/util.rb:82:in
`update''
/tmp/subversion/subversion/bindings/swig/ruby/svn/client.rb:91:in
`update''
/tmp/subversion/subversion/bindings/swig/ruby/test/test_client.rb:58:in
`test_update''
/tmp/subversion/subversion/bindings/swig/ruby/test/test_client.rb:56:in
`assert_raise''
/tmp/subversion/subversion/bindings/swig/ruby/test/test_client.rb:56:in
`test_update''
---------------
2) Failure:
test_locked(TestSvnWc)
[/tmp/subversion/subversion/bindings/swig/ruby/test/test_wc.rb:57]:
<Svn::Error::FS_NO_SUCH_REVISION> exception expected but was
Class: <Svn::Error>
Message: <"No such revision 1\nError aborting report\nCan''t
close file
''/tmp/report.tmp'': Bad file descriptor">
---Backtrace---
/tmp/subversion/subversion/bindings/swig/ruby/.ext/svn/ext/client.so:0:in
`svn_client_update''
/tmp/subversion/subversion/bindings/swig/ruby/.ext/svn/ext/client.so:0:in
`update''
/tmp/subversion/subversion/bindings/swig/ruby/svn/util.rb:82:in
`update''
/tmp/subversion/subversion/bindings/swig/ruby/svn/client.rb:91:in
`update''
/tmp/subversion/subversion/bindings/swig/ruby/test/test_wc.rb:58:in
`test_locked''
/tmp/subversion/subversion/bindings/swig/ruby/test/test_wc.rb:57:in
`assert_raise''
/tmp/subversion/subversion/bindings/swig/ruby/test/test_wc.rb:57:in
`test_locked''
---------------
Thanks again.
Kyle Heon
kheon-Wuw85uim5zDR7s880joybQ@public.gmane.org
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
Behalf Of Johan Sörensen
Sent: Saturday, May 21, 2005 7:34 PM
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: Re: [Rails] Subversion Ruby bindings
On 5/21/05, Kyle Heon <kheon-Wuw85uim5zDR7s880joybQ@public.gmane.org>
wrote:> I''m curious if anyone has had any success building
Subversion''s Ruby
> bindings. I have struggled now for a couple of nights trying to get the
Ruby> SWIG bindings built and working.
what sort of errors are you getting and on what platform?
the way to make them is to first build, install subversion, then (from
your main svn src dir):
make swig-rb
(make test-swig-rb)
make install-swig-rb
and you should be good to go.
> I only ask this on this list because my intent is to begin building a
Rails> application that uses Subversion and this list seems to be very helpful.
If> there is a better place I should ask please point me in the right
direction.
ruby-talk might be a better place for any specifics to the ruby
bindings (I don''t know if the author is on this list as well,
can''t
remember seeing him here)
That said, I''ve been having some fun with the ruby bindings myself for
Collaboa[1], I wrote a quick wrapper[2] for them to make my life
easier. Unfortunately time hasn''t been on my side lately so I
haven''t
had much time to polish them and continue my development. But whats
there right now is a rough repository browser.
[1]: http://collaboa.cocoa.se/
[2]: http://collaboa.cocoa.se/trac/browser/trunk/lib/actionsubversion/lib/
-- johan-s
---
http://johansorensen.com
http://theexciter.com
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails