{"thread":{"id":"35514","subject":"Compiling git svn from source","startedAt":"2013-12-10T13:57:24Z","lastAt":"2013-12-10T22:34:58Z","messageCount":4,"participants":["avinash r","Jonathan Nieder","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"231856","messageId":"CAHCisteVsy4_GX_1PNZfO44w1WmW28vAY0PBfwo9CL_Ze8fw2A@mail.gmail.com","threadId":"35514","inReplyTo":null,"subject":"Compiling git svn from source","fromName":"avinash r","fromEmail":"nashpapa@gmail.com","sentAt":"2013-12-10T13:57:24Z","receivedAt":"2013-12-10T13:57:24Z","isPatch":false,"sender":{"key":"nashpapa@gmail.com","avatar":null},"body":"Hi,\nI'm compiling git from source due to outdated binaries in\nLinux-flavour 'X'. I followed the installation instructions at\ngit-scm.com, but somehow the sub-command svn (git svn) is not being\ninstalled.\n\nHow us it that I would be able to install it from source?\n\nI have Googled for this,  and the top result suggests to ask here.\n\nHere is how i'm compiling:\n\n$ make all\n\n$ sudo make install\n\nI'm hoping that I'm in the right place.\n\nThank you,\nAvinash R\n"},{"id":"231866","messageId":"20131210190129.GD2311@google.com","threadId":"35514","inReplyTo":"CAHCisteVsy4_GX_1PNZfO44w1WmW28vAY0PBfwo9CL_Ze8fw2A@mail.gmail.com","subject":"Re: Compiling git svn from source","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2013-12-10T19:01:29Z","receivedAt":"2013-12-10T19:01:29Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi,\n\navinash r wrote:\n\n>                    I followed the installation instructions at\n> git-scm.com, but somehow the sub-command svn (git svn) is not being\n> installed.\n[...]\n> Here is how i'm compiling:\n>\n> $ make all\n>\n> $ sudo make install\n\nWhat is the content of \"config.mak\"?  Is there a file named\n\"config.mak.autogen\"?  What is the output of \"git help -a | grep svn\"?\n\nCurious,\nJonathan\n"},{"id":"231873","messageId":"CAHCistfcBt0oOz=whsrifSB3M6cN8Bk=UHOq-G_+EYOHhrXjkw@mail.gmail.com","threadId":"35514","inReplyTo":"20131210190129.GD2311@google.com","subject":"Re: Compiling git svn from source","fromName":"avinash r","fromEmail":"nashpapa@gmail.com","sentAt":"2013-12-10T20:24:26Z","receivedAt":"2013-12-10T20:24:26Z","isPatch":false,"sender":{"key":"nashpapa@gmail.com","avatar":null},"body":"Hi Jonathan,\n\nI managed to get `git svn` installed using old school commands\nexecuted before the commands I mentioned.\n\n$ make configure\n$ ./configure\n\nI wrote before:\n> $ make all\n>\n> $ sudo make install\n\nthanks for asking about the config.\n\nJonathan Nieder wrote:\n> What is the content of \"config.mak\"?  Is there a file named\n> \"config.mak.autogen\"?  What is the output of \"git help -a | grep svn\"?\n>\n> Curious,\n> Jonathan\n\nbut running the command,\n\n$ git svn init --username=<username> http://mydomain.com/myrepo causes\nthe command to fail with the following error:\n\nCan't locate SVN/Core.pm in @INC (@INC contains:\n/usr/local/share/perl/5.14.2 /etc/perl /usr/local/lib/perl/5.14.2\n/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14\n/usr/share/perl/5.14 /usr/local/lib/site_perl .) at\n/usr/local/share/perl/5.14.2/Git/SVN/Utils.pm line 6.\nBEGIN failed--compilation aborted at\n/usr/local/share/perl/5.14.2/Git/SVN/Utils.pm line 6.\nCompilation failed in require at\n/usr/local/share/perl/5.14.2/Git/SVN.pm line 33.\nBEGIN failed--compilation aborted at\n/usr/local/share/perl/5.14.2/Git/SVN.pm line 33.\nCompilation failed in require at /usr/local/libexec/git-core/git-svn line 25.\nBEGIN failed--compilation aborted at\n/usr/local/libexec/git-core/git-svn line 25.\n\nI'm using the version 1.8.5.1.\n\n--\nAvinash R\n"},{"id":"231875","messageId":"20131210223456.GA7643@sigill.intra.peff.net","threadId":"35514","inReplyTo":"CAHCistfcBt0oOz=whsrifSB3M6cN8Bk=UHOq-G_+EYOHhrXjkw@mail.gmail.com","subject":"Re: Compiling git svn from source","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2013-12-10T22:34:58Z","receivedAt":"2013-12-10T22:34:58Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Dec 11, 2013 at 01:54:26AM +0530, avinash r wrote:\n\n> but running the command,\n> \n> $ git svn init --username=<username> http://mydomain.com/myrepo causes\n> the command to fail with the following error:\n> \n> Can't locate SVN/Core.pm in @INC (@INC contains:\n> /usr/local/share/perl/5.14.2 /etc/perl /usr/local/lib/perl/5.14.2\n> [...]\n\ngit-svn relies on having subversion's own perl libraries installed by\nthe system. If you are on a debian/ubuntu-based system, \"apt-get install\nlibsvn-perl\" should do it; I don't know the package-name offhand for\nother systems.\n\n-Peff\n"}]}