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

Re: problem building ruby binding

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2005-07-26 07:27:34 CEST

Hi,

Thank you for showing your transcript.

I tried on the following environment (Debian sid) but I
can't reproduce.

  % uname -orm
  2.6.8-11-amd64-k8 x86_64 GNU/Linux
  % ruby -v
  ruby 1.8.3 (2005-06-23) [x86_64-linux]

In <1122326249.24126.30.camel@gen64>
  "Re: problem building ruby binding" on Tue, 26 Jul 2005 06:17:29 +0900,
  Gyoung-Yoon Noh <nohmad@sub-port.net> wrote:

> > Could you show me the followings?:
> >
> > * the test result

> $ make check-swig-rb
>
> After all build(compiling & linking) process finished,
> it displays following message:
>
> <snip>
>
> cd /home/nohmad/tmp/subversion-1.2.1/subversion/bindings/swig/ruby; /usr/bin/ruby test/run-test.rb
> /home/nohmad/tmp/subversion-1.2.1/subversion/bindings/swig/ruby/svn/error.rb:1:in `require': No such file to load -- svn/ext/core (LoadError)
>

Thanks.

> > * ls -l subversion/bindings/swig/ruby/svn/ext/ when
> > you comment out "at_exit {FileUtils.rm_rf(ext_dir)}" in
> > subversion/bindings/swig/ruby/test/run-test.rb.

> $ ls -l subversion/bindings/swig/ruby/svn/ext/
> ls: subversion/bindings/swig/ruby/svn/ext/: No such file or directory
>
> $ ls -aF subversion/bindings/swig/ruby/
snip

> $ ls -aF subversion/bindings/swig/ruby/svn
snip

> $ ls -lFR subversion/bindings/swig/ruby/.ext/
> subversion/bindings/swig/ruby/.ext/:
> total 0
> drwxr-xr-x 2 nohmad wheel 16 Jul 25 20:43 svn/
>
> subversion/bindings/swig/ruby/.ext/svn:
> total 0
> lrwxrwxrwx 1 nohmad wheel 69 Jul 25 20:43 ext
> -> /home/nohmad/tmp/subversion-1.2.1/subversion/bindings/swig/ruby/.libs/

Thanks.

What about the command:

  $ ls subversion/bindings/swig/ruby/.ext/svn/ext/

> > * the result when you add "p $LOAD_PATH" to
> > the next line of "$LOAD_PATH.unshift(Dir.pwd)" in
> > subversion/bindings/swig/ruby/test/run-test.rb.

Could you show me the result?

Thanks,

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 26 07:28:26 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.