./configure :
./configure --with-ruby-sitedir=~/.rvm/rubies/ruby-1.9.3-p448/lib/ruby
--prefix=`echo ~`/.rvm/rubies/ruby-1.9.3-p448
--disable-mod-activation --without-apache-libexecdir
Avec ruby1.9 et Subversion 1.8.0 :
$ make swig-rb
/bin/bash /home/ghigt/Downloads/subversion-1.8.0/libtool --tag=CC --silent --mode=compile gcc -g -O2 -pthread -Wno-int-to-pointer-cast -D_REENTRANT -D_GNU_SOURCE -I/home/ghigt/Downloads/subversion-1.8.0/subversion -I/home/ghigt/Downloads/subversion-1.8.0/subversion/include -I/home/ghigt/Downloads/subversion-1.8.0/subversion/bindings/swig -I/home/ghigt/Downloads/subversion-1.8.0/subversion/bindings/swig/include -I/home/ghigt/Downloads/subversion-1.8.0/subversion/bindings/swig/proxy -I/home/ghigt/Downloads/subversion-1.8.0/subversion/bindings/swig/proxy -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I. -I/home/ghigt/.rvm/rubies/ruby-1.9.3-p448/include/ruby-1.9.1 -I/home/ghigt/.rvm/rubies/ruby-1.9.3-p448/include/ruby-1.9.1/ruby -I/home/ghigt/.rvm/rubies/ruby-1.9.3-p448/include/ruby-1.9.1/ruby/backward -I/home/ghigt/.rvm/rubies/ruby-1.9.3-p448/include/ruby-1.9.1/x86_64-linux -I/home/ghigt/Downloads/subversion-1.8.0/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 -o subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo -c subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function 'svn_swig_rb_initialize':
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:559:3: warning: 'svn_utf_initialize' is deprecated (declared at /home/ghigt/Downloads/subversion-1.8.0/subversion/include/svn_utf.h:77) [-Wdeprecated-declarations]
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function 'c2r_info_dup':
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1188:1: warning: 'svn_info_dup' is deprecated (declared at /home/ghigt/Downloads/subversion-1.8.0/subversion/include/svn_client.h:5988) [-Wdeprecated-declarations]
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function 'c2r_wc_entry_dup':
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1192:1: warning: 'svn_wc_entry_dup' is deprecated (declared at /home/ghigt/Downloads/subversion-1.8.0/subversion/include/svn_wc.h:3102) [-Wdeprecated-declarations]
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:1196:1: warning: 'svn_client_proplist_item_dup' is deprecated (declared at /home/ghigt/Downloads/subversion-1.8.0/subversion/include/svn_client.h:409) [-Wdeprecated-declarations]
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:1198:1: warning: 'svn_log_changed_path_dup' is deprecated (declared at /home/ghigt/Downloads/subversion-1.8.0/subversion/include/svn_types.h:829) [-Wdeprecated-declarations]
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function 'c2r_wc_status2_dup':
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1199:1: warning: 'svn_wc_dup_status2' is deprecated (declared at /home/ghigt/Downloads/subversion-1.8.0/subversion/include/svn_wc.h:3924) [-Wdeprecated-declarations]
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function 'svn_swig_rb_hash_to_apr_hash_swig_type':
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1565:3: warning: passing argument 2 of 'r2c_hash' from incompatible pointer type [enabled by default]
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1529:1: note: expected 'r2c_func' but argument is of type 'void * (*)(VALUE, const void *, struct apr_pool_t *)'
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c: In function 'callback_rescue':
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1620:38: error: 'ruby_errinfo' undeclared (first use in this function)
subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:1620:38: note: each undeclared identifier is reported only once for each function it appears in
make: *** [subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo] Error 1
Avec Ruby1.9 et Subversion 1.7.10 :
$ make swig-rb
/bin/bash /home/ghigt/Downloads/subversion-1.7.10/libtool --tag=CC --silent --mode=compile none -D_REENTRANT -D_GNU_SOURCE -I/home/ghigt/Downloads/subversion-1.7.10/subversion/bindings/swig/ruby/libsvn_swig_ruby -prefer-pic -c -o subversion/bindings/swig/ruby/svn_client.lo subversion/bindings/swig/ruby/svn_client.c
/home/ghigt/Downloads/subversion-1.7.10/libtool: line 1130: none: command not found
make: *** [subversion/bindings/swig/ruby/svn_client.lo] Error 1