# Re: requirements to compile git-svn support

3 messages from 2009-07-02 to 2009-07-03. Participants: Anders Kaseorg, Graeme Geldenhuys.
Thread: https://gitlist.dev/t/20008

## Anders Kaseorg, 2009-07-02 17:55

Subject: Re: requirements to compile git-svn support
Message-ID: <alpine.DEB.2.00.0907021352300.24169@vinegar-pot.mit.edu>
URL: https://gitlist.dev/e/alpine.DEB.2.00.0907021352300.24169%40vinegar-pot.mit.edu

```
On Thu, 2009-07-02 at 16:02 +0200, Graeme Geldenhuys wrote:
> I'm running Ubuntu 8.04 and compiled Git 1.6.2.2 and previously some 
> other 1.6.x release and every time git-svn is nowhere to be found. What 
> do I need to do / install to get git-svn available?

I maintain up-to-date Git packages for Ubuntu 8.04, 8.10, and 9.04 at
https://launchpad.net/~git-core/+archive/ppa
including a git-svn package.

Note that the command you actually need to run is `git svn`, not 
`git-svn`.

Anders

```

## Graeme Geldenhuys, 2009-07-03 09:34

Subject: Re: requirements to compile git-svn support
Message-ID: <h2kjg8$5at$1@ger.gmane.org>
URL: https://gitlist.dev/e/h2kjg8%245at%241%40ger.gmane.org
In-Reply-To: <alpine.DEB.2.00.0907021352300.24169@vinegar-pot.mit.edu>

```
Anders Kaseorg wrote:
> 
> I maintain up-to-date Git packages for Ubuntu 8.04, 8.10, and 9.04 at

Thanks, I'll take a look at that. If I apt-get install the original git 
(v1.5.x) from the apt repository, 'git svn' works fine, but when using 
my own compiled git, I get the following output.


Yes I know that the command is 'git svn', but I followed the syntax as 
used in the documentation, adding the hyphen followed by the command. If 
I run 'git svn', I get the following output on my system.

==============================
$ git svn
Can't locate SVN/Core.pm in @INC (@INC contains: 
/usr/local/share/perl/5.8.8 /etc/perl /usr/local/lib/perl/5.8.8 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 
/usr/local/lib/site_perl .) at /usr/local/libexec/git-core/git-svn line 29.
==============================


Regards,
   - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

```

## Graeme Geldenhuys, 2009-07-03 09:51

Subject: Re: requirements to compile git-svn support
Message-ID: <h2kkec$7ra$1@ger.gmane.org>
URL: https://gitlist.dev/e/h2kkec%247ra%241%40ger.gmane.org
In-Reply-To: <h2kjg8$5at$1@ger.gmane.org>

```
Graeme Geldenhuys wrote:
> I run 'git svn', I get the following output on my system.
> 
> ==============================
> $ git svn
> Can't locate SVN/Core.pm in @INC (@INC contains: 
> /usr/local/share/perl/5.8.8 /etc/perl /usr/local/lib/perl/5.8.8 
> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 
> /usr/local/lib/site_perl .) at /usr/local/libexec/git-core/git-svn line 29.
> ==============================


I did some more Google'ing and finally found the answer. All that was 
missing was libsvn-perl.  The following command installed it and solved 
my problem. :-)

  $ sudo apt-get install libsvn-perl


Regards,
   - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

```
