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

RE: Subversion 1.6.5 bindings for Perl 5.10 on Windows

From: Byron Hammond <bhammond_at_ccg.murdoch.edu.au>
Date: Tue, 06 Oct 2009 11:02:50 +0800

Woefully out of date :(

Well, I think the problem I was having was that I was building my svn
libs and dependencies with Microsoft Visual Studio Express, and trying
to use those with a Perl that was built with gcc.

Two options here...

1. Compile svn + dependent libs with gcc
2. Compile perl (5.10.1) with msvc

I took the second approach last night.
Will test my svn perl bindings built with msvc today/tonite and update
on success/failure :)

Oh, when you say woefully out of date...
Is there a TODO for them that I can have a peek at?

Cheers
Byron

On Mon, 2009-10-05 at 09:24 -0700, Miller, Eric wrote:
> I don't have any suggestions other than to say that the perl bindings
> are woefully out of date and with John Peacock taking a leave of absence
> they are not likely to get better any time soon.
>
> You may want to consider using python and the ctypes bindings instead.
>
> Eric
>
> > -----Original Message-----
> > From: Byron Hammond [mailto:bhammond_at_ccg.murdoch.edu.au]
> > Sent: Wednesday, September 30, 2009 8:30 PM
> > To: users_at_subversion.tigris.org
> > Subject: Subversion 1.6.5 bindings for Perl 5.10 on Windows
> >
> > Hi all...
> >
> > I've just managed to get a dynamically linked Subversion 1.6.5 built
> > and running on Windows. I now want to build the Perl bindings for my
> > Strawberry Perl 5.10.
> >
> > I had problems during linking of the __SWIG_PERL__ project however as
> > Perl doesn't have perl510.lib. No probs I say, I'll just modify the
> > project files and replace perl510.lib for libperl510.a
> >
> > perl -pli.bak -e 's/perl510\.lib/libperl510\.a/g' \
> > build/win32/vcnet-proj/*.vcproj
> >
> > So now it builds, no errors, just heaps of warnings (hopefully
> benign).
> > I copy the .pm .dll .lib and .pdb files to the directories as
> specified
> > in the INSTALL file.
> >
> > I go to run a small test script that works under linux and cygwin, but
> > when I get this message...
> >
> > The procedure entry point _apr_time_ansi_put_at_12 could not be located
> > in the dynamic link library libapr-1.dll
> >
> > I remembered having PATH issues earlier when testing svn.exe so I then
> > decided to prepend the directory containing all my dll lib and pdb
> > files to my PATH (apr,apr-iconv,apr-util,subversion). When I run the
> > same script again I get a dialog saying perl.exe has stopped working.
> >
> > I prepended the lib dirs to my PATH because I didn't want it to find
> > libs installed from the binary installs of Apache 2.2 and Subversion
> > 1.6.5. Apache 2.2 and Subversion dir were already in the path.
> >
> > Eek! What to do? Anybody else built bindings for Strawberry 5.10?
> > Any and all help appreciated.
> >
> > Byron
> >
> > ------------------------------------------------------
> >
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
> d=
> > 2402351
> >
> > To unsubscribe from this discussion, e-mail: [users-
> > unsubscribe_at_subversion.tigris.org].
>
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2403931

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-06 05:03:58 CEST

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.