harry890829
V2EX  ›  问与答

git-svn 报错

  •  
  •   harry890829 · Apr 28, 2016 · 2142 views
    This topic created in 3671 days ago, the information mentioned may be changed or developed.

    在 shell 下输入

    git svn
    

    之后出现如下提示

    Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/lib/perl5/site_perl/5.8.8/Git/SVN/Utils.pm line 6. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Git/SVN/Utils.pm line 6. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/Git/SVN.pm line 32. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Git/SVN.pm line 32. Compilation failed in require at /usr/local/libexec/git-core/git-svn line 21. BEGIN failed--compilation aborted at /usr/local/libexec/git-core/git-svn line 21.

    查了一下,貌似说是 svn 缺少了一个 perl 的库,安装之后就好了,但这是公司的局域网共享的开发机,我们并没有 root 权限,有没有什么办法不用 root 权限解决这个问题啊……

    2 replies    2016-04-28 19:49:00 +08:00
    novaeye
        1
    novaeye  
       Apr 28, 2016
    楼主可以看看
    http://subgit.com

    应该比 git-svn 这个半残的玩意强多多.
    harry890829
        2
    harry890829  
    OP
       Apr 28, 2016
    @novaeye 多谢,我去研究研究
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1034 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 23:09 · PVG 07:09 · LAX 16:09 · JFK 19:09
    ♥ Do have faith in what you're doing.