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

Re: svn 13x 'make swig-rb' --> error: 'SWIG_RubyRemoveTracking' undeclared

From: David James <james82_at_gmail.com>
Date: 2005-12-22 08:15:07 CET

On 12/22/05, OpenMacNews <openmacnews@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> david,
>
> > For the 1.3.x branch ruby bindings, you'll need SWIG 1.3.25. The 1.3.x
> > branch does not currently support SWIG 1.3.27.
> >
> > On the other hand, the svn trunk has unofficial support for SWIG
> > 1.3.27. Get svn trunk from:
> > http://svn.collab.net/repos/svn/trunk
>
> per suggestion, i dropped back to swig version 1.3.25:
>
> % ./swig -version
> SWIG Version 1.3.25
>
> unfortunately, building svn r17890, 'make swig-rb' *still* fails with the same error ...
>
> ...
> In file included from
> /usr/ports/subversion13x/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:2:
> /usr/ports/subversion13x/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg: In
> function 'SWIG_Ruby_ConvertPtr':
> /usr/ports/subversion13x/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:653:
> error: 'SWIG_RubyRemoveTracking' undeclared (first use in this function)
> /usr/ports/subversion13x/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:653:
> error: (Each undeclared identifier is reported only once
> /usr/ports/subversion13x/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:653:
> error: for each function it appears in.)
> make: *** [subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo] Error 1
>
> doesn't seem to be the swig version :-/
>
> suggestions?
Looks like your old SWIG 1.3.27 headers are still there. Try running
make extraclean a few times. SWIG_RubyRemoveTracking is new in SWIG
1.3.26 so you can't get that error with a clean SWIG 1.3.25 build. If
all else fails, try a fresh checkout.

Cheers,

David

--
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 25 04:19:03 2005

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