# subversion-perl missing

14 messages from 2011-09-26 to 2011-11-29. Participants: Georg-Johann Lay, Michael J Gruber, Christian Couder, Jakub Narebski, Andreas Schwab, Jason.
Thread: https://gitlist.dev/t/28497

## Georg-Johann Lay, 2011-09-26 11:48

Subject: subversion-perl missing
Message-ID: <4E8066AB.7000208@gjlay.de>
URL: https://gitlist.dev/e/4E8066AB.7000208%40gjlay.de

```
Hi, I just downloaded git and built from source, version is

git version 1.7.6.4

I am particularly interested in git-svn, but running it I get complaints

Initialized empty Git repository in /local/Downloads/v4.5.x/.git/
Can't locate SVN/Core.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
/usr/local/libexec/git-core/git-svn line 42

I found out that a module like subversion-perl is missing, but installing it
via OpenSuse 1.11 would downgrade my SVN installation, so I skipped that.

Thus, being no admin and no perl guy, I am stuck now and am asking here for
some kind help, being very well aware that it's not a git issue but just about
getting some prerequisite for git.

Where do I have to go to get the svn+perl stuff? Couldn't locate anything like
that in subversion.tigris.org, so that I am stuck and need some hints on how to
proceed.

Many thanks,

Johann

```

## Michael J Gruber, 2011-09-26 13:03

Subject: Re: subversion-perl missing
Message-ID: <4E807829.7050609@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4E807829.7050609%40drmicha.warpmail.net
In-Reply-To: <4E8066AB.7000208@gjlay.de>

```
Georg-Johann Lay venit, vidit, dixit 26.09.2011 13:48:
> Hi, I just downloaded git and built from source, version is
> 
> git version 1.7.6.4
> 
> I am particularly interested in git-svn, but running it I get complaints
> 
> Initialized empty Git repository in /local/Downloads/v4.5.x/.git/
> Can't locate SVN/Core.pm in @INC (@INC contains:
> /usr/local/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
> /usr/local/lib/perl5/site_perl/5.10.0
> /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0
> /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
> /usr/lib/perl5/site_perl/5.10.0
> /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
> /usr/local/libexec/git-core/git-svn line 42
> 
> I found out that a module like subversion-perl is missing, but installing it
> via OpenSuse 1.11 would downgrade my SVN installation, so I skipped that.

So, where did you get your svn from? If you compiled it yourself, you
should rebuild it with the perl bindings. Make sure you note where you
install this to - you may have to adjust your PERL5LIB.

> Thus, being no admin and no perl guy, I am stuck now and am asking here for
> some kind help, being very well aware that it's not a git issue but just about
> getting some prerequisite for git.
> 
> Where do I have to go to get the svn+perl stuff? Couldn't locate anything like
> that in subversion.tigris.org, so that I am stuck and need some hints on how to
> proceed.
> 
> Many thanks,
> 
> Johann

```

## Georg-Johann Lay, 2011-09-26 13:41

Subject: Re: subversion-perl missing
Message-ID: <4E80811B.4030309@gjlay.de>
URL: https://gitlist.dev/e/4E80811B.4030309%40gjlay.de
In-Reply-To: <4E807829.7050609@drmicha.warpmail.net>

```
Michael J Gruber schrieb:
> Georg-Johann Lay venit, vidit, dixit 26.09.2011 13:48:
>> Hi, I just downloaded git and built from source, version is
>>
>> git version 1.7.6.4
>>
>> I am particularly interested in git-svn, but running it I get complaints
>>
>> Initialized empty Git repository in /local/Downloads/v4.5.x/.git/
>> Can't locate SVN/Core.pm in @INC (@INC contains:
>> /usr/local/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
>> /usr/local/lib/perl5/site_perl/5.10.0
>> /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0
>> /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.10.0
>> /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
>> /usr/local/libexec/git-core/git-svn line 42
>>
>> I found out that a module like subversion-perl is missing, but installing it
>> via OpenSuse 1.11 would downgrade my SVN installation, so I skipped that.
> 
> So, where did you get your svn from? If you compiled it yourself, you
> should rebuild it with the perl bindings. Make sure you note where you
> install this to - you may have to adjust your PERL5LIB.

Hi Michael

svn identifies itself as

 > svn --version

svn, version 1.6.2 (r37639)
   compiled Jun 19 2009, 12:21:15

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

and its installed in

 > which svn

/usr/bin/svn

 > echo $PERL5LIB

<empty>

so looks like plain vanilla installation/build.

Is "perl bindings" the "subversion-perl" package (which likes to downgrade my
svn upon installing in yast)?

Is it a part of SVN (couln't find it there) or of perl?

 > perl --version    says:

This is perl, v5.10.0 built for i586-linux-thread-multi

Copyright 1987-2007, Larry Wall
...

>> Thus, being no admin and no perl guy, I am stuck now and am asking here for
>> some kind help, being very well aware that it's not a git issue but just about
>> getting some prerequisite for git.
>>
>> Where do I have to go to get the svn+perl stuff? Couldn't locate anything like
>> that in subversion.tigris.org, so that I am stuck and need some hints on how to
>> proceed.
>>
>> Many thanks,
>>
>> Johann

```

## Michael J Gruber, 2011-09-26 14:18

Subject: Re: subversion-perl missing
Message-ID: <4E8089BC.6030000@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4E8089BC.6030000%40drmicha.warpmail.net
In-Reply-To: <4E80811B.4030309@gjlay.de>

```
Georg-Johann Lay venit, vidit, dixit 26.09.2011 15:41:
> Michael J Gruber schrieb:
>> Georg-Johann Lay venit, vidit, dixit 26.09.2011 13:48:
>>> Hi, I just downloaded git and built from source, version is
>>>
>>> git version 1.7.6.4
>>>
>>> I am particularly interested in git-svn, but running it I get complaints
>>>
>>> Initialized empty Git repository in /local/Downloads/v4.5.x/.git/
>>> Can't locate SVN/Core.pm in @INC (@INC contains:
>>> /usr/local/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
>>> /usr/local/lib/perl5/site_perl/5.10.0
>>> /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0
>>> /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
>>> /usr/lib/perl5/site_perl/5.10.0
>>> /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi
>>> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
>>> /usr/local/libexec/git-core/git-svn line 42
>>>
>>> I found out that a module like subversion-perl is missing, but installing it
>>> via OpenSuse 1.11 would downgrade my SVN installation, so I skipped that.
>>
>> So, where did you get your svn from? If you compiled it yourself, you
>> should rebuild it with the perl bindings. Make sure you note where you
>> install this to - you may have to adjust your PERL5LIB.
> 
> Hi Michael
> 
> svn identifies itself as
> 
>  > svn --version
> 
> svn, version 1.6.2 (r37639)
>    compiled Jun 19 2009, 12:21:15
> 
> Copyright (C) 2000-2009 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet (http://www.Collab.Net/).
> 
> The following repository access (RA) modules are available:
> 
> * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
>   - handles 'http' scheme
>   - handles 'https' scheme
> * ra_svn : Module for accessing a repository using the svn network protocol.
>   - with Cyrus SASL authentication
>   - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
>   - handles 'file' scheme
> 
> and its installed in
> 
>  > which svn
> 
> /usr/bin/svn
> 
>  > echo $PERL5LIB
> 
> <empty>
> 
> so looks like plain vanilla installation/build.
> 
> Is "perl bindings" the "subversion-perl" package (which likes to downgrade my
> svn upon installing in yast)?

Yes, subversion-perl are the perl bindings, and if your distro has
mismatching versions of subversion and subversion perl, then they have a
problem, sorry :|

> Is it a part of SVN (couln't find it there) or of perl?
> 
>  > perl --version    says:
> 
> This is perl, v5.10.0 built for i586-linux-thread-multi
> 
> Copyright 1987-2007, Larry Wall
> ...
> 
>>> Thus, being no admin and no perl guy, I am stuck now and am asking here for
>>> some kind help, being very well aware that it's not a git issue but just about
>>> getting some prerequisite for git.
>>>
>>> Where do I have to go to get the svn+perl stuff? Couldn't locate anything like
>>> that in subversion.tigris.org, so that I am stuck and need some hints on how to
>>> proceed.
>>>
>>> Many thanks,
>>>
>>> Johann
> 

```

## Christian Couder, 2011-09-26 14:48

Subject: Re: subversion-perl missing
Message-ID: <CAP8UFD0PiiA9SxvOuuh4t8P96v+iaJ0TfcBr1-xjMh4TXBEONQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAP8UFD0PiiA9SxvOuuh4t8P96v%2BiaJ0TfcBr1-xjMh4TXBEONQ%40mail.gmail.com
In-Reply-To: <4E8066AB.7000208@gjlay.de>

```
Hi,

On Mon, Sep 26, 2011 at 1:48 PM, Georg-Johann Lay <avr@gjlay.de> wrote:
>
> Where do I have to go to get the svn+perl stuff? Couldn't locate anything like
> that in subversion.tigris.org, so that I am stuck and need some hints on how to
> proceed.

Perhaps you can try to install this module from CPAN:

http://search.cpan.org/~mschwern/Alien-SVN-v1.6.12.1/

or from it's github repo:

https://github.com/schwern/alien-svn

Regards,
Christian.

```

## Georg-Johann Lay, 2011-09-26 14:51

Subject: Re: subversion-perl missing
Message-ID: <4E80916A.9060809@gjlay.de>
URL: https://gitlist.dev/e/4E80916A.9060809%40gjlay.de
In-Reply-To: <4E8089BC.6030000@drmicha.warpmail.net>

```
Michael J Gruber schrieb:
> Georg-Johann Lay venit, vidit, dixit 26.09.2011 15:41:
>> Michael J Gruber schrieb:
>>> Georg-Johann Lay venit, vidit, dixit 26.09.2011 13:48:
>>>> Hi, I just downloaded git and built from source, version is
>>>>
>>>> git version 1.7.6.4
>>>>
>>>> I am particularly interested in git-svn, but running it I get complaints
>>>>
>>>> Initialized empty Git repository in /local/Downloads/v4.5.x/.git/
>>>> Can't locate SVN/Core.pm in @INC (@INC contains:
>>>> /usr/local/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
>>>> /usr/local/lib/perl5/site_perl/5.10.0
>>>> /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0
>>>> /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
>>>> /usr/lib/perl5/site_perl/5.10.0
>>>> /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi
>>>> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
>>>> /usr/local/libexec/git-core/git-svn line 42
>>>>
>>>> I found out that a module like subversion-perl is missing, but installing it
>>>> via OpenSuse 1.11 would downgrade my SVN installation, so I skipped that.
>>> So, where did you get your svn from? If you compiled it yourself, you
>>> should rebuild it with the perl bindings. Make sure you note where you
>>> install this to - you may have to adjust your PERL5LIB.
>> Hi Michael
>>
>> svn identifies itself as
>>
>>  > svn --version
>>
>> svn, version 1.6.2 (r37639)
>>    compiled Jun 19 2009, 12:21:15
>>
>> Copyright (C) 2000-2009 CollabNet.
>> Subversion is open source software, see http://subversion.tigris.org/
>> This product includes software developed by CollabNet (http://www.Collab.Net/).
>>
>> The following repository access (RA) modules are available:
>>
>> * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
>>   - handles 'http' scheme
>>   - handles 'https' scheme
>> * ra_svn : Module for accessing a repository using the svn network protocol.
>>   - with Cyrus SASL authentication
>>   - handles 'svn' scheme
>> * ra_local : Module for accessing a repository on local disk.
>>   - handles 'file' scheme
>>
>> and its installed in
>>
>>  > which svn
>>
>> /usr/bin/svn
>>
>>  > echo $PERL5LIB
>>
>> <empty>
>>
>> so looks like plain vanilla installation/build.
>>
>> Is "perl bindings" the "subversion-perl" package (which likes to downgrade my
>> svn upon installing in yast)?
> 
> Yes, subversion-perl are the perl bindings, and if your distro has
> mismatching versions of subversion and subversion perl, then they have a
> problem, sorry :|
>> Is it a part of SVN (couln't find it there) or of perl?


I could find
http://svn.apache.org/repos/asf/subversion/trunk/subversion/bindings/swig/INSTALL
and hope that explains the trick so that a noob like me doesn't get lost...

Many, many thanks for your help Michael!

Johann

```

## Michael J Gruber, 2011-09-26 14:54

Subject: Re: subversion-perl missing
Message-ID: <4E809235.2080401@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4E809235.2080401%40drmicha.warpmail.net
In-Reply-To: <4E80916A.9060809@gjlay.de>

```
Georg-Johann Lay venit, vidit, dixit 26.09.2011 16:51:
> Michael J Gruber schrieb:
>> Georg-Johann Lay venit, vidit, dixit 26.09.2011 15:41:
>>> Michael J Gruber schrieb:
>>>> Georg-Johann Lay venit, vidit, dixit 26.09.2011 13:48:
>>>>> Hi, I just downloaded git and built from source, version is
>>>>>
>>>>> git version 1.7.6.4
>>>>>
>>>>> I am particularly interested in git-svn, but running it I get complaints
>>>>>
>>>>> Initialized empty Git repository in /local/Downloads/v4.5.x/.git/
>>>>> Can't locate SVN/Core.pm in @INC (@INC contains:
>>>>> /usr/local/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
>>>>> /usr/local/lib/perl5/site_perl/5.10.0
>>>>> /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0
>>>>> /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
>>>>> /usr/lib/perl5/site_perl/5.10.0
>>>>> /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi
>>>>> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
>>>>> /usr/local/libexec/git-core/git-svn line 42
>>>>>
>>>>> I found out that a module like subversion-perl is missing, but installing it
>>>>> via OpenSuse 1.11 would downgrade my SVN installation, so I skipped that.
>>>> So, where did you get your svn from? If you compiled it yourself, you
>>>> should rebuild it with the perl bindings. Make sure you note where you
>>>> install this to - you may have to adjust your PERL5LIB.
>>> Hi Michael
>>>
>>> svn identifies itself as
>>>
>>>  > svn --version
>>>
>>> svn, version 1.6.2 (r37639)
>>>    compiled Jun 19 2009, 12:21:15
>>>
>>> Copyright (C) 2000-2009 CollabNet.
>>> Subversion is open source software, see http://subversion.tigris.org/
>>> This product includes software developed by CollabNet (http://www.Collab.Net/).
>>>
>>> The following repository access (RA) modules are available:
>>>
>>> * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
>>>   - handles 'http' scheme
>>>   - handles 'https' scheme
>>> * ra_svn : Module for accessing a repository using the svn network protocol.
>>>   - with Cyrus SASL authentication
>>>   - handles 'svn' scheme
>>> * ra_local : Module for accessing a repository on local disk.
>>>   - handles 'file' scheme
>>>
>>> and its installed in
>>>
>>>  > which svn
>>>
>>> /usr/bin/svn
>>>
>>>  > echo $PERL5LIB
>>>
>>> <empty>
>>>
>>> so looks like plain vanilla installation/build.
>>>
>>> Is "perl bindings" the "subversion-perl" package (which likes to downgrade my
>>> svn upon installing in yast)?
>>
>> Yes, subversion-perl are the perl bindings, and if your distro has
>> mismatching versions of subversion and subversion perl, then they have a
>> problem, sorry :|
>>> Is it a part of SVN (couln't find it there) or of perl?
> 
> 
> I could find
> http://svn.apache.org/repos/asf/subversion/trunk/subversion/bindings/swig/INSTALL
> and hope that explains the trick so that a noob like me doesn't get lost...

That requires you to build swig and subversion, which I thought you
wanted to avoid. But if that does not scare you - by all means go ahead :)

> Many, many thanks for your help Michael!
> 
> Johann

Cheers,
Michael

```

## Georg-Johann Lay, 2011-09-26 16:49

Subject: Re: subversion-perl missing
Message-ID: <4E80AD1B.3080700@gjlay.de>
URL: https://gitlist.dev/e/4E80AD1B.3080700%40gjlay.de
In-Reply-To: <CAP8UFD0PiiA9SxvOuuh4t8P96v+iaJ0TfcBr1-xjMh4TXBEONQ@mail.gmail.com>

```
Christian Couder schrieb:
> Hi,
> 
> On Mon, Sep 26, 2011 at 1:48 PM, Georg-Johann Lay <spam@spam.com> wrote:
>> Where do I have to go to get the svn+perl stuff? Couldn't locate anything like
>> that in subversion.tigris.org, so that I am stuck and need some hints on how to
>> proceed.
> 
> Perhaps you can try to install this module from CPAN:
> 
> http://search.cpan.org/~mschwern/Alien-SVN-v1.6.12.1/
> 
> or from it's github repo:
> 
> https://github.com/schwern/alien-svn

Hi Christian,

thanks for that hint.

After getting that piece of software, running ./Build.PL and ./Build I just
don't know what to do next.  The README doesn't say anything about how to use
the built modules or how to do an install.

As git-svn complains

...Can't locate SVN/Core.pm in @INC (@INC contains: ...

and

 schwern-alien-svn-9298884>find . -name 'Core.pm'
./src/subversion/subversion/bindings/swig/perl/native/Core.pm
./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Core.pm

the question is how to do the final trick of telling git how to use Core.pm
(and which of the two?) and do the connexion between git and alien-svn.

Sorry for the noob questions, never used perl or git before...

Johann

> Regards,
> Christian.

p.s. is it possible not to open quote e-mail addresses in mailing lists?

```

## Jakub Narebski, 2011-09-26 17:17

Subject: Re: subversion-perl missing
Message-ID: <m3k48vp6l7.fsf@localhost.localdomain>
URL: https://gitlist.dev/e/m3k48vp6l7.fsf%40localhost.localdomain
In-Reply-To: <4E80AD1B.3080700@gjlay.de>

```
Georg-Johann Lay writes:
> Christian Couder schrieb:
> > On Mon, Sep 26, 2011 at 1:48 PM, Georg-Johann Lay <spam@spam.com> wrote:

> > > Where do I have to go to get the svn+perl stuff? Couldn't locate anything like
> > > that in subversion.tigris.org, so that I am stuck and need some hints on how to
> > > proceed.
> > 
> > Perhaps you can try to install this module from CPAN:
> > 
> > http://search.cpan.org/~mschwern/Alien-SVN-v1.6.12.1/
> > 
> > or from it's github repo:
> > 
> > https://github.com/schwern/alien-svn
> 
> Hi Christian,
> 
> thanks for that hint.
> 
> After getting that piece of software, running ./Build.PL and ./Build I just
> don't know what to do next.  The README doesn't say anything about how to use
> the built modules or how to do an install.

If you don't have admin privileges on the box, the best solution would
be to use local::lib[1] to install Perl modules in your home directory
for you (#perl IRC channel on FreeNode, or perlmonks are really helpful).

I really recommend it, together with cpanm[2] (which can configure
local::lib for you, via --local-lib option), though the latter is not
necessary.

[1]: http://search.cpan.org/~apeiron/local-lib-1.008004/lib/local/lib.pm
[2]: http://search.cpan.org/~miyagawa/App-cpanminus-1.4008/bin/cpanm


If you have admin privileges, I think the best solution would be
either find repository which has subversion-perl that matches your
version of Subversion, or compile subversion-perl from a source
package... though this might be more difficult, it has advantage of
being in package management.
 
> As git-svn complains
> 
> ...Can't locate SVN/Core.pm in @INC (@INC contains: ...
> 
> and
> 
>  schwern-alien-svn-9298884>find . -name 'Core.pm'
> ./src/subversion/subversion/bindings/swig/perl/native/Core.pm
> ./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Core.pm
> 
> the question is how to do the final trick of telling git how to use Core.pm
> (and which of the two?) and do the connexion between git and alien-svn.
> 
> Sorry for the noob questions, never used perl or git before...

You have to install subversion-perl somewhere, not only build it.
Though you could fiddle with PERL5LIB (which is PATH-like environmtne
variable to specify where to search for Perl modules) to make Perl
find your built but not installed Alien::SVN.

HTH
-- 
Jakub Narębski

```

## Andreas Schwab, 2011-09-26 21:11

Subject: Re: subversion-perl missing
Message-ID: <m2vcsf80vh.fsf@igel.home>
URL: https://gitlist.dev/e/m2vcsf80vh.fsf%40igel.home
In-Reply-To: <4E80811B.4030309@gjlay.de>

```
Georg-Johann Lay <avr@gjlay.de> writes:

> svn identifies itself as
>
>  > svn --version
>
> svn, version 1.6.2 (r37639)
>    compiled Jun 19 2009, 12:21:15

openSUSE 11.1 contained subversion 1.5.2 (and 1.5.7 as an update), so
this is definitely not vanilla.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

```

## Georg-Johann Lay, 2011-09-28 10:06

Subject: Re: subversion-perl missing
Message-ID: <4E82F18E.9080304@gjlay.de>
URL: https://gitlist.dev/e/4E82F18E.9080304%40gjlay.de
In-Reply-To: <m3k48vp6l7.fsf@localhost.localdomain>

```
Jakub Narebski schrieb:
> Georg-Johann Lay writes:
>> Christian Couder schrieb:
>>> On Mon, Sep 26, 2011 at 1:48 PM, Georg-Johann Lay <spam@spam.com> wrote:
> 
>>>> Where do I have to go to get the svn+perl stuff? Couldn't locate anything like
>>>> that in subversion.tigris.org, so that I am stuck and need some hints on how to
>>>> proceed.
>>> Perhaps you can try to install this module from CPAN:
>>>
>>> http://search.cpan.org/~mschwern/Alien-SVN-v1.6.12.1/
>>>
>>> or from it's github repo:
>>>
>>> https://github.com/schwern/alien-svn
>> Hi Christian,
>>
>> thanks for that hint.
>>
>> After getting that piece of software, running ./Build.PL and ./Build I just
>> don't know what to do next.  The README doesn't say anything about how to use
>> the built modules or how to do an install.
> 
> If you don't have admin privileges on the box, the best solution would
> be to use local::lib[1] to install Perl modules in your home directory
> for you (#perl IRC channel on FreeNode, or perlmonks are really helpful).
> 
> I really recommend it, together with cpanm[2] (which can configure
> local::lib for you, via --local-lib option), though the latter is not
> necessary.
> 
> [1]: http://search.cpan.org/~apeiron/local-lib-1.008004/lib/local/lib.pm
> [2]: http://search.cpan.org/~miyagawa/App-cpanminus-1.4008/bin/cpanm
> 
> 
> If you have admin privileges, I think the best solution would be
> either find repository which has subversion-perl that matches your
> version of Subversion, or compile subversion-perl from a source
> package... though this might be more difficult, it has advantage of
> being in package management.
>  
>> As git-svn complains
>>
>> ...Can't locate SVN/Core.pm in @INC (@INC contains: ...
>>
>> and
>>
>>  schwern-alien-svn-9298884>find . -name 'Core.pm'
>> ./src/subversion/subversion/bindings/swig/perl/native/Core.pm
>> ./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Core.pm
>>
>> the question is how to do the final trick of telling git how to use Core.pm
>> (and which of the two?) and do the connexion between git and alien-svn.
>>
>> Sorry for the noob questions, never used perl or git before...
> 
> You have to install subversion-perl somewhere, not only build it.

Unfortunately, that package comes without hints on doing that.

As far as I understand, alien-svn comes with SVN sources which it uses for its
own perl packages to provide svn stuff to perl, but don't install/build new svn
version.

> Though you could fiddle with PERL5LIB (which is PATH-like environmtne

 > find . -name '*.pm'

./src/subversion/subversion/bindings/swig/perl/native/Delta.pm
./src/subversion/subversion/bindings/swig/perl/native/Base.pm
./src/subversion/subversion/bindings/swig/perl/native/Ra.pm
./src/subversion/subversion/bindings/swig/perl/native/Repos.pm
./src/subversion/subversion/bindings/swig/perl/native/Core.pm
./src/subversion/subversion/bindings/swig/perl/native/Wc.pm
./src/subversion/subversion/bindings/swig/perl/native/Client.pm
./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Delta.pm
./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Base.pm
./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Ra.pm
./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Repos.pm
./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Core.pm
./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Wc.pm
./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Client.pm
./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Fs.pm
./src/subversion/subversion/bindings/swig/perl/native/Fs.pm
./inc/My/SVN/Builder.pm
./lib/Alien/SVN.pm
./blib/lib/Alien/SVN.pm

and so I added the paths to PERL5LIB:
  export PERL5LIB=\
  <alien-svn>/blib/lib/Alien\
  :<alien-svn>/src/subversion/subversion/bindings/swig/perl/native/blib/lib\
  :<alien-svn>/src/subversion/subversion/bindings/swig/perl/native
where "." is the source directory of alien-svn and where the ./Build.PL and
./Build scripts ran.

Running git-svn with that complains

Can't locate loadable object for module SVN::_Core in @INC (@INC contains:
...
<alien-svn>/blib/lib/Alien
<alien-svn>/src/subversion/subversion/bindings/swig/perl/native/blib/lib
<alien-svn>/src/subversion/subversion/bindings/swig/perl/native
...) at
<alien-svn>/src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Base.pm
line 59
BEGIN failed--compilation aborted at
<alien-svn>/src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Core.pm
line 5.
Compilation failed in require at /usr/local/libexec/git-core/git-svn line 42.

git-svn:42 is mumbling about some problems:

sub _req_svn {
	require SVN::Core; # use()-ing this causes segfaults for me... *shrug*

Or is there needed even more like a _Core.pm? alien-svn should build it,
doesn't it?

> variable to specify where to search for Perl modules) to make Perl
> find your built but not installed Alien::SVN.

How do I install that?

Sorry for all these question. Admin left the company some weeks ago and I am
struggling to get this to work somehow between my everyday work...

```

## Jakub Narebski, 2011-09-28 12:59

Subject: Re: subversion-perl missing
Message-ID: <201109281459.31689.jnareb@gmail.com>
URL: https://gitlist.dev/e/201109281459.31689.jnareb%40gmail.com
In-Reply-To: <4E82F18E.9080304@gjlay.de>

```
On Wed, 28 Sep 2011, Georg-Johann Lay wrote:
> Jakub Narebski schrieb:
>> Georg-Johann Lay writes:
>>> Christian Couder schrieb:
>>>> On Mon, Sep 26, 2011 at 1:48 PM, Georg-Johann Lay <spam@spam.com> wrote:
 
>>>>> Where do I have to go to get the svn+perl stuff? Couldn't locate anything like
>>>>> that in subversion.tigris.org, so that I am stuck and need some hints on how to
>>>>> proceed.
>>>>
>>>> Perhaps you can try to install this module from CPAN:
>>>>
>>>> http://search.cpan.org/~mschwern/Alien-SVN-v1.6.12.1/
>>>>
>>>> or from it's github repo:
>>>>
>>>> https://github.com/schwern/alien-svn
>>>
>>> thanks for that hint.
>>>
>>> After getting that piece of software, running ./Build.PL and ./Build I just
>>> don't know what to do next.  The README doesn't say anything about how to use
>>> the built modules or how to do an install.
>> 
>> If you don't have admin privileges on the box, the best solution would
>> be to use local::lib[1] to install Perl modules in your home directory
>> for you (#perl IRC channel on FreeNode, or perlmonks are really helpful).
>> 
>> I really recommend it, together with cpanm[2] (which can configure
>> local::lib for you, via --local-lib option), though the latter is not
>> necessary.
>> 
>> [1]: http://search.cpan.org/~apeiron/local-lib-1.008004/lib/local/lib.pm
>> [2]: http://search.cpan.org/~miyagawa/App-cpanminus-1.4008/bin/cpanm
>> 
>> 
>> If you have admin privileges, I think the best solution would be
>> either find repository which has subversion-perl that matches your
>> version of Subversion, or compile subversion-perl from a source
>> package... though this might be more difficult, it has advantage of
>> being in package management.
>>  
>>> As git-svn complains
>>>
>>> ...Can't locate SVN/Core.pm in @INC (@INC contains: ...
>>>
>>> and
>>>
>>>  schwern-alien-svn-9298884>find . -name 'Core.pm'
>>> ./src/subversion/subversion/bindings/swig/perl/native/Core.pm
>>> ./src/subversion/subversion/bindings/swig/perl/native/blib/lib/SVN/Core.pm
>>>
>>> the question is how to do the final trick of telling git how to use Core.pm
>>> (and which of the two?) and do the connexion between git and alien-svn.
>>>
>>> Sorry for the noob questions, never used perl or git before...
>> 
>> You have to install subversion-perl somewhere, not only build it.
> 
> Unfortunately, that package comes without hints on doing that.
> 
> As far as I understand, alien-svn comes with SVN sources which it uses for its
> own perl packages to provide svn stuff to perl, but don't install/build new svn
> version.

Step by step instruction.

1. Follow instructions on local::lib manpage
   http://search.cpan.org/perldoc?local::lib

   c.f. http://perl.jonallen.info/writing/articles/install-perl-modules-without-root

2. (Optional). Follow instructions on cpanm manpage, e.g. http://cpanmin.us
   or http://search.cpan.org/perldoc?cpanm

3. Install Alien::SVN from CPAN using 'cpan' client or 'cpanm', e.g.

   $ cpanm Alien::SVN

Now you are able to install Perl modules in your home directory.
-- 
Jakub Narebski
Poland

```

## Georg-Johann Lay, 2011-09-28 15:54

Subject: Re: subversion-perl missing
Message-ID: <4E83433E.9000702@gjlay.de>
URL: https://gitlist.dev/e/4E83433E.9000702%40gjlay.de
In-Reply-To: <201109281459.31689.jnareb@gmail.com>

```
Jakub Narebski schrieb:
> On Wed, 28 Sep 2011, Georg-Johann Lay wrote:
>> As far as I understand, alien-svn comes with SVN sources which it uses for its
>> own perl packages to provide svn stuff to perl, but don't install/build new svn
>> version.
> 
> Step by step instruction.
> 
> 1. Follow instructions on local::lib manpage
>    http://search.cpan.org/perldoc?local::lib
> 
>    c.f. http://perl.jonallen.info/writing/articles/install-perl-modules-without-root
> 
> 2. (Optional). Follow instructions on cpanm manpage, e.g. http://cpanmin.us
>    or http://search.cpan.org/perldoc?cpanm
> 
> 3. Install Alien::SVN from CPAN using 'cpan' client or 'cpanm', e.g.
> 
>    $ cpanm Alien::SVN
> 
> Now you are able to install Perl modules in your home directory.

Thank you very much, I never would have found the way through all that jungle
alone!

After steps 1-3 succeeded (as far as I can tell) I can run git svn (but not
git-svn) now.

With an SVN repo I can do

$ svn list http://repo/path

archive/
branches/
tags/
trunk/

and

$ svn checkout http://repo/path

but git svn complains:

$ git svn clone -s --username=georg http://repo/path

Initialized empty Git repository in /local/georg/path/.git/
Bad URL passed to RA layer: Unrecognized URL scheme for 'http://repo/path' at
/usr/local/libexec/git-core/git-svn line 1941

Does git svn not support http?

>From what I read in git svn --help this should suffice to checkout from SVN and
http is mentioned explicitly in an example.

So is my git-svn still broken/not functional or am I missing something from the
docs?

Johann

```

## Jason, 2011-11-29 15:39

Subject: Re: subversion-perl missing
Message-ID: <loom.20111129T163826-35@post.gmane.org>
URL: https://gitlist.dev/e/loom.20111129T163826-35%40post.gmane.org
In-Reply-To: <4E83433E.9000702@gjlay.de>

```
Hi Johann,
Were you able to get this working?  I'm also getting the "Bad URL passed to RA
layer: Unrecognized URL scheme" error when trying to run "git svn clone".  

```
