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

Re: building Subversion 1.0.3 on Woody

From: Timothee Besset <ttimo_at_idsoftware.com>
Date: 2004-05-23 12:56:07 CEST

I have two subversion 1.0.4 installations on Woody, with the perl
bindings. You should definitely upgrade perl. You can recompile perl 5.8
in /usr/local without breaking your base perl installation in /usr. Be
sure to recompile SWIG to the point to the new perl as well, use
perl-5.8 everywhere etc.

Good luck though, cause even if you are very careful it's very easy to
forget something / do something wrong, and have your perl bindings fail
in non-obvious ways. In short, it's a pita (last time I compiled the
perl bindings, it took me 3 days of trying before getting it right)

TTimo

GCS wrote:

>Hi,
>
> I am trying to build 1.0.3 on Woody which fails with the perl bindings
>I believe. Searched the list archives, and google, but could not come up
>with anything:
>-- cut --
>build-tree/subversion-1.0.3/subversion/bindings/swig/swigutil_pl.c:
>In function `io_handle_read':
>build-tree/subversion-1.0.3/subversion/bindings/swig/swigutil_pl.c:1222:
>`PERL_MAGIC_tiedscalar' undeclared (first use in this function)
>build-tree/subversion-1.0.3/subversion/bindings/swig/swigutil_pl.c:1222:
>(Each undeclared identifier is reported only once
>build-tree/subversion-1.0.3/subversion/bindings/swig/swigutil_pl.c:1222:
>for each function it appears in.)
>build-tree/subversion-1.0.3/subversion/bindings/swig/swigutil_pl.c:
>In function `io_handle_write':
>build-tree/subversion-1.0.3/subversion/bindings/swig/swigutil_pl.c:1258:
>`PERL_MAGIC_tiedscalar' undeclared (first use in this function)
>build-tree/subversion-1.0.3/subversion/bindings/swig/swigutil_pl.c:
>In function `io_handle_close':
>build-tree/subversion-1.0.3/subversion/bindings/swig/swigutil_pl.c:1276:
>`PERL_MAGIC_tiedscalar' undeclared (first use in this function)
>make[1]: *** [subversion/bindings/swig/swigutil_pl.lo] Error 1
>make[1]: Leaving directory
>`/root/work/subversion-1.0.3/build-tree/subversion-1.0.3'
>-- cut --
>
>The offending lines:
>-- cut --
>static svn_error_t *io_handle_close (void *baton)
>{
> io_baton_t *io = baton;
> MAGIC *mg;
>
> if ((mg = SvTIED_mg((SV*)io->io, PERL_MAGIC_tiedscalar))) {
> svn_swig_pl_callback_thunk (CALL_METHOD, (void *)"CLOSE", NULL, "O",
> SvTIED_obj((SV*)io->io, mg));
> }
> else {
> PerlIO_close (IoIFP (io->io));
> }
>
> return SVN_NO_ERROR;
>}
>-- cut --
>
>Is there any way to make it work without upgrading my perl from 5.6.1 to
>5.8.x? Well, upgrading perl is not an option for me, as it may break too
>much things on our server.
>
>Thanks for any pointers in advance,
>Laszlo/GCS
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun May 23 12:50:45 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.