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

Re: Problem using perl bindings under cygwin

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-09-27 13:50:55 CEST

Mathias.Weinert@gfa-net.de wrote:
> Hi there,
>
> I want to use the subversion perl bindings under cygwin but always get an
> Win32 error. If I e. g. want to call svn-pusher (from Shlomi Fish's
> SVN::Pusher, based on Gerlad Richter's SVN::Push) I get the following
> output:
>
> $ svn-pusher
> Can't load '/usr/lib/perl5/site_perl/5.8/cygwin/auto/SVN/_Core/_Core.dll'
> for module SVN::_Core: dlopen, Win32 error 127 at
> /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230.
> at /usr/lib/perl5/site_perl/5.8/cygwin/SVN/Base.pm line 59
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.8/cygwin/SVN/Core.pm line 5.
> Compilation failed in require at /usr/bin/svn-pusher line 7.
> BEGIN failed--compilation aborted at /usr/bin/svn-pusher line 7.
>
> The error occurs when the _Core.dll should be loaded (as far as I know
> error 127 means that a function cannot be found). This happens with the
> "official" subversion 1.2.3 for cygwin (thanks for the patches, Max) as
> well as if I build subversion 1.3.0 (trunk revision 16227) with perl
> bindings by using the "official" cygwin patches.
>
> Any idea what I do wrong or what I can do to make programs using the
> subversion perl-bindings run?

My tentative suggestion is that you are having problems with mixed versions
of Subversion DLLs being found.
Try ensuring that you really only have a single version of Cygwin-Subversion
installed, or setting $PATH to just "/usr/bin", to test this hypothesis.

> By the way, when making svn-pusher I get the following warning:
>
> $ perl Makefile.PL
> Warning: prerequisite SVN::Core 0.37.0 not found.
> Writing Makefile for SVN::Pusher
> SVN::Core 0.37.0 must be manually installed at Makefile.PL line 22.
>
> Is this the cause of the problem or is this only a problem of MakeMaker
> which can't find my SVN::Core module?

Same problem, manifesting a different error message.

A simple test case not involving SVN::Pusher:

$ perl -MSVN::Core -e'print "ok\n";'

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 27 14:32:54 2005

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

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