Re: Compiling git svn from source

2013-12-10 Thread Jonathan Nieder
Hi,

avinash r wrote:

I followed the installation instructions at
 git-scm.com, but somehow the sub-command svn (git svn) is not being
 installed.
[...]
 Here is how i'm compiling:

 $ make all

 $ sudo make install

What is the content of config.mak?  Is there a file named
config.mak.autogen?  What is the output of git help -a | grep svn?

Curious,
Jonathan
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Compiling git svn from source

2013-12-10 Thread avinash r
Hi Jonathan,

I managed to get `git svn` installed using old school commands
executed before the commands I mentioned.

$ make configure
$ ./configure

I wrote before:
 $ make all

 $ sudo make install

thanks for asking about the config.

Jonathan Nieder wrote:
 What is the content of config.mak?  Is there a file named
 config.mak.autogen?  What is the output of git help -a | grep svn?

 Curious,
 Jonathan

but running the command,

$ git svn init --username=username http://mydomain.com/myrepo causes
the command to fail with the following error:

Can't locate SVN/Core.pm in @INC (@INC contains:
/usr/local/share/perl/5.14.2 /etc/perl /usr/local/lib/perl/5.14.2
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14
/usr/share/perl/5.14 /usr/local/lib/site_perl .) at
/usr/local/share/perl/5.14.2/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at
/usr/local/share/perl/5.14.2/Git/SVN/Utils.pm line 6.
Compilation failed in require at
/usr/local/share/perl/5.14.2/Git/SVN.pm line 33.
BEGIN failed--compilation aborted at
/usr/local/share/perl/5.14.2/Git/SVN.pm line 33.
Compilation failed in require at /usr/local/libexec/git-core/git-svn line 25.
BEGIN failed--compilation aborted at
/usr/local/libexec/git-core/git-svn line 25.

I'm using the version 1.8.5.1.

--
Avinash R
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Compiling git svn from source

2013-12-10 Thread Jeff King
On Wed, Dec 11, 2013 at 01:54:26AM +0530, avinash r wrote:

 but running the command,
 
 $ git svn init --username=username http://mydomain.com/myrepo causes
 the command to fail with the following error:
 
 Can't locate SVN/Core.pm in @INC (@INC contains:
 /usr/local/share/perl/5.14.2 /etc/perl /usr/local/lib/perl/5.14.2
 [...]

git-svn relies on having subversion's own perl libraries installed by
the system. If you are on a debian/ubuntu-based system, apt-get install
libsvn-perl should do it; I don't know the package-name offhand for
other systems.

-Peff
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html