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

Ruby Bindings Build Error [1.3.x branch]

From: Christopher Ness <chris_at_nesser.org>
Date: 2006-02-13 16:13:58 CET

Good Day,

I tried to build the ruby bindings today and they errored out on me with
the following build line and warning/error messages:

/bin/sh /home/cgness/src/svn-1.3.x/libtool --tag=CC --silent
--mode=compile i386-redhat-linux-gcc -O0 -g -pipe -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables
-Wall -fPIC -I/home/cgness/src/svn-1.3.x/subversion/bindings/swig
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/include
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/proxy
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/proxy
-I/home/cgness/src/svn-1.3.x/subversion/include
-I/usr/local/apache2/include -I/usr/local/apache2/include -I.
-I/usr/lib/ruby/1.8/i386-linux
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/ruby/libsvn_swig_ruby
-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -I/home/cgness/src/svn-1.3.x/subversion/bindings/swig
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/include
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/proxy
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/proxy
-I/home/cgness/src/svn-1.3.x/subversion/include
-I/usr/local/apache2/include -I/usr/local/apache2/include
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/include
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/proxy
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/proxy
-I/home/cgness/src/svn-1.3.x/subversion/include
-I/usr/local/apache2/include -I/usr/local/apache2/include -I.
-I/usr/lib/ruby/1.8/i386-linux
-I/home/cgness/src/svn-1.3.x/subversion/bindings/swig/ruby/libsvn_swig_ruby
-prefer-pic -c -o subversion/bindings/swig/ruby/core.lo
subversion/bindings/swig/ruby/core.c
subversion/bindings/swig/ruby/core.c: In function
'delete_apr_pool_wrapper_t':
subversion/bindings/swig/ruby/core.c:1195: warning: implicit declaration
of function 'apr_pool_wrapper_destroy_children'
subversion/bindings/swig/ruby/core.c:1196: warning: implicit declaration
of function 'apr_pool_wrapper_remove_from_parent'
subversion/bindings/swig/ruby/core.c: At top level:
subversion/bindings/swig/ruby/core.c:1207: warning: conflicting types for
'apr_pool_wrapper_destroy_children'
subversion/bindings/swig/ruby/core.c:1207: error: static declaration of
'apr_pool_wrapper_destroy_children' follows non-static declaration
subversion/bindings/swig/ruby/core.c:1195: error: previous implicit
declaration of 'apr_pool_wrapper_destroy_children' was here
subversion/bindings/swig/ruby/core.c: In function
'apr_pool_wrapper_destroy_children':
subversion/bindings/swig/ruby/core.c:1212: warning: suggest parentheses
around assignment used as truth value
subversion/bindings/swig/ruby/core.c: At top level:
subversion/bindings/swig/ruby/core.c:1222: warning: conflicting types for
'apr_pool_wrapper_remove_from_parent'
subversion/bindings/swig/ruby/core.c:1222: error: static declaration of
'apr_pool_wrapper_remove_from_parent' follows non-static declaration
subversion/bindings/swig/ruby/core.c:1196: error: previous implicit
declaration of 'apr_pool_wrapper_remove_from_parent' was here
make: *** [subversion/bindings/swig/ruby/core.lo] Error 1

My environment looks like this:

[cgness@servicesvn svn-1.3.x]$ svnversion
18447
[cgness@servicesvn svn-1.3.x]$ svn info
Path: .
URL: http://svn.collab.net/repos/svn/branches/1.3.x
[cgness@servicesvn svn-1.3.x]$ swig -version
SWIG Version 1.3.24
[cgness@servicesvn svn-1.3.x]$ ruby --version
ruby 1.8.4 (2005-12-24) [i386-linux]

Hope this helps the maintainer.

Cheers,
Chris

-- 
http://www.nesser.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 13 16:15:10 2006

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.