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

building Subversion 1.0.3 on Woody

From: GCS <gcs_at_lsc.hu>
Date: 2004-05-23 12:08:45 CEST

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
Received on Sun May 23 12:11:03 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.