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

Re: [PATCH] perl swig bindings failure in svn 1.1.0

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-10-07 05:05:48 CEST

J Robert Ray wrote:
> Hello,
>
> I had a problem building and using the perl swig bindings that ship with
> subversion 1.1.0. I am using perl 5.8.0.

You should upgrade to 5.8.5 if at all possible (or at least to 5.8.1); there are
a number of important bug fixes.

>
> Sample error message:
> Modification of a read-only value attempted at
> subversion-1.1.0/subversion/bindings/swig/perl/native/Core.pm line 6.
> Compilation failed in require.
> BEGIN failed--compilation aborted.

I suspect that is actually a bug in perl 5.8.0, since that variable shouldn't be
readonly.

>
> In Core.pm, the 'use SVN::Base qw(Core svn_);' line seems to create a
> $SVN::Core::VERSION variable, set to '1.1.0'. The next line also tries
> to set this variable and produces the above error.

I also cannot see how this is the case; if I load Core.pm via the debugger, the
$SVN::Core::VERSION is not set before the line you commented out.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 7 05:05:35 2004

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