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

RE: Trying to build Subversion with Ruby bindings

From: Kyle Heon <kheon_at_comcast.net>
Date: 2005-05-21 16:33:36 CEST

Here is the error that dumps to the screen when running make check-swig-rb:

make check-swig-rb
cd /tmp/subversion/subversion/bindings/swig/ruby; /usr/local/bin/ruby
test/run-test.rb
/tmp/subversion/subversion/bindings/swig/ruby/svn/error.rb:1:in `require':
No such file to load -- svn/ext/core (LoadError)
        from /tmp/subversion/subversion/bindings/swig/ruby/svn/error.rb:1
        from
/tmp/subversion/subversion/bindings/swig/ruby/svn/client.rb:2:in `require'
        from /tmp/subversion/subversion/bindings/swig/ruby/svn/client.rb:2
        from /tmp/subversion/subversion/bindings/swig/ruby/test/util.rb:3:in
`require'
        from /tmp/subversion/subversion/bindings/swig/ruby/test/util.rb:3
        from
/tmp/subversion/subversion/bindings/swig/ruby/test/test_fs.rb:2:in `require'
        from /tmp/subversion/subversion/bindings/swig/ruby/test/test_fs.rb:2
        from /usr/local/lib/ruby/1.8/test/unit/collector/dir.rb:84:in
`require'
         ... 6 levels...
        from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:55:in `[]'
        from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:192:in `run'
        from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:14:in `run'
        from test/run-test.rb:16
make: *** [check-swig-rb] Error 1

Kyle Heon
kheon@comcast.net

_____________________________________________
From: Kyle Heon [mailto:kheon@comcast.net]
Sent: Saturday, May 21, 2005 10:27 AM
To: 'Subversion Users List'
Subject: Trying to build Subversion with Ruby bindings

I'm rather new to this but I'm having issues building the SWIG bindings for
Ruby.

The first time I tried to build I managed to the make check-swig-rb step
which failed with 2 errors. This issue seems to have been encountered before
as detailed here: http://svn.haxx.se/users/archive-2005-03/1344.shtml

My only difference is that the Ruby libraries didn't copy anywhere (as far
as I can tell).

Running the svnlook.rb example fails on 'require' for svn/core.

There was no svn/* in site_ruby so I attempted copying the files from
subversion/bindings/swig/ruby/svn to /usr/local/lib/ruby/site_ruby. This
seemed to be a start but then I noticed that there are references to svn/*
and svn/ext/* and I can't find where these live.

I started over completely this morning and I'm not back to the same spot
except I haven't copied the bindings anywhere.

Has anyone successfully built Subversion with the Ruby bindings and have it
working? A step-by-step guide would be much appreciated.

Kyle Heon
kheon@comcast.net

 << File: ATT00013.txt >>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Sat May 21 16:53:31 2005

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