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

Possible bug in Subversion 1.6.5 Ruby (swig) bindings when compiling

From: Yorick <yorixz_at_gmail.com>
Date: Sun, 11 Oct 2009 17:47:46 +0200

As the title says, I'm failing to compile Subversion 1.6.5's Ruby (swig
based) bindings, which leads me to believe it might be a bug, or I'm just
messing it up. Either way, off we go:
I'm running Ubuntu 9.04, Ruby 1.9 and I tried to compile Ruby 1.6.5's swig
bindings, the following commands were used:

wget http://subversion.tigris.org/downloads/subversion-1.6.5.tar.gz
tar xzvf subversion-1.6.5.tar.gz
cd subversion-1.6.5
./configure --prefix=/usr/local --with-openssl --with-ssl
make
make swig-rb

Which results into the following error
np_at_s1:~/src/swig-1.3.40/subversion-1.6.5$ make swig-rb
/bin/sh /home/np/src/swig-1.3.40/subversion-1.6.5/libtool --tag=CC --silent
--mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-I/home/np/src/swig-1.3.40/subversion-1.6.5/subversion
-I/home/np/src/swig-1.3.40/subversion-1.6.5/subversion/include
-I/home/np/src/swig-1.3.40/subversion-1.6.5/subversion/bindings/swig
-I/home/np/src/swig-1.3.40/subversion-1.6.5/subversion/bindings/swig/include
-I/home/np/src/swig-1.3.40/subversion-1.6.5/subversion/bindings/swig/proxy
-I/home/np/src/swig-1.3.40/subversion-1.6.5/subversion/bindings/swig/proxy
-I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/postgresql
-I/usr/include/mysql -I. -I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/ruby
-I/usr/local/include/ruby-1.9.1/ruby/backward
-I/usr/local/include/ruby-1.9.1/x86_64-linux
-I/home/np/src/swig-1.3.40/subversion-1.6.5/subversion/bindings/swig/ruby/libsvn_swig_ruby
-I./subversion/include -I./subversion -I/usr/include/apr-1.0
-I/usr/include/apr-1.0 -I/usr/include/postgresql -I/usr/include/mysql -o
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo -c
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
In file included from
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.h:56,
from subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:6:
/usr/local/include/ruby-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning
use "ruby/io.h" instead of "rubyio.h"
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function
'c2r_client_proplist_item_dup':
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1173: warning:
'svn_client_proplist_item_dup' is deprecated (declared at
/home/np/src/swig-1.3.40/subversion-1.6.5/subversion/include/svn_client.h:373)
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function
'c2r_log_changed_path_dup':
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1175: warning:
'svn_log_changed_path_dup' is deprecated (declared at
/home/np/src/swig-1.3.40/subversion-1.6.5/subversion/include/svn_types.h:659)
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function
'r2c_swig_type2':
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1222: warning:
format not a string literal and no format arguments
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function
'callback_rescue':
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1597: error:
'ruby_errinfo' undeclared (first use in this function)
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1597: error:
(Each undeclared identifier is reported only once
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1597: error:
for each function it appears in.)
make: *** [subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo]
Error 1

Any help regarding the compiling would be much appreciated, hopefully it's
not a bug but a case of PEBCAK, which I do not doubt. Thanks in advance!

-Y

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2406386

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-11 17:55:18 CEST

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