You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Byron Hammond <bh...@ccg.murdoch.edu.au> on 2009/10/01 02:30:18 UTC
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@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&dsMessageId=2402351
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
RE: Subversion 1.6.5 bindings for Perl 5.10 on Windows
Posted by Byron Hammond <bh...@ccg.murdoch.edu.au>.
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@ccg.murdoch.edu.au]
> > Sent: Wednesday, September 30, 2009 8:30 PM
> > To: users@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@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@subversion.tigris.org].
>
>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2403931
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
RE: Subversion 1.6.5 bindings for Perl 5.10 on Windows
Posted by Byron Hammond <bh...@ccg.murdoch.edu.au>.
Ok, it worked...
Built Perl 5.10.1 with MSVC and used the svn bindings also built with
MSVC. A bit disappointing to learn I couldn't use Strawberry Perl, but
trust me...compiling Perl on Win32 is very easy and painless :)
HTH
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@ccg.murdoch.edu.au]
> > Sent: Wednesday, September 30, 2009 8:30 PM
> > To: users@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@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@subversion.tigris.org].
>
>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2404371
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
RE: Subversion 1.6.5 bindings for Perl 5.10 on Windows
Posted by Eric Miller <er...@amd.com>.
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@ccg.murdoch.edu.au]
> Sent: Wednesday, September 30, 2009 8:30 PM
> To: users@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@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@subversion.tigris.org].
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2403796
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].