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

Re: svn_load_dirs.pl error

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-09 10:50:27 CEST

On Oct 9, 2007, at 02:37, Giulio Troccoli wrote:

>>> I am trying to use the svn_load_dirs.pl script. I have downloaded id
>>> from the subversion website and chmod 744 it.
>>>
>>> When I do
>>>
>>> ./svn_load_dirs.pl <URL to branch> . <temp dir>
>>>
>>> I get
>>>
>>> ./svn_load_dirs.pl: ./svn_load_dirs.pl: cannot execute binary file
>>>
>>> What's wrong?
>>
>> If you downloaded svn_load_dirs.pl.in from the Subversion repository,
>> then you should replace "@SVN_BINDIR@" with the directory where
>> Subversion is installed on your system, and save the file as
>> svn_load_dirs.pl.
>>
>> The first line of the script is "#!/usr/bin/perl -w" which means if
>> you give svn_load_dirs.pl the execute bit (as you've done with your
>> chmod command) and try to run it, it will try to run /usr/bin/perl.
>> Does perl exist and work on your system?
>>
>> What is your OS? What version of Subversion?
>
> Thanks for your answer. I have replaced @SVN_BINDIR@ with the proper
> directory (/usr/bin/ in my case) but I still have the same problem.
> Perl
> is installed and working. What does the -w mean? I don't know anything
> about perl sorry.
>
> ln1sub01 svn> perl -v
>
> This is perl, v5.8.5 built for i386-linux-thread-multi
>
> ln1sub01 svn> svn --version
> svn, version 1.4.4 (r25188)
> compiled Jun 30 2007, 10:31:29
>
> ln1sub01 svn> uname -a
> Linux xxxxx.xxxxx.xxxxx 2.6.9-22.0.2.ELsmp #1 SMP Thu Jan 5
> 17:13:01 EST
> 2006 i686 i686 i386 GNU/Linux

According to "man perl", "-w" turns on warnings.

This is not really a Subversion problem at this point. Googling that
error message, I see suggestions like these:

http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/2002-
August/003788.html

Off the top of my head: does the file perhaps have the wrong line
endings? Like, DOS line endings when it should have LF line endings?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 9 10:52:58 2007

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.