git-svn在OSX上死于信号10 [英] git-svn died of signal 10 on OSX

查看:168
本文介绍了git-svn在OSX上死于信号10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我原先在超级用户上问过这个问题,但最初在超级用户身上有这样的问题,不过这个问题最早出现在上。看起来我很可能在这里得到答案。我通过 Fink 安装了git和git-svn。我尝试执行以下操作:

pre $ git svn init http:// myserver / myrepo
初始化的空的Git存储库在签出/ .git /
$ git svn fetch
错误:git-svn死于信号10

为什么git-svn失败?我怎样才能解决这个问题?我已经通过vanilla SVN检出了repo,所以不应该有任何访问权限或权限问题。

解决方案

遇到与更新的1.6 CollabNet Subversion二进制文件相同的问题。确保您在〜/ .profile中设置了以下环境变量:

  export PATH = / path / to / svn / bin :.... 
export DYLD_LIBRARY_PATH = / path / to / svn / lib:...
export PERL5LIB = / path / to / svn / lib / svn-perl:...

如果你没有设置所有这些,你的更新库和本地Leopard库之间会有一些不匹配,和 git-svn 将会失败。



或者你还在使用Leopard附带的本地Subversion 1.5吗?

b

I asked this question originally on SuperUser, but it looks like I'm much more likely to get an answer here. I have git and git-svn installed via Fink. I try to do the following:

$ git svn init http://myserver/myrepo
Initialized empty Git repository in checkout/.git/
$ git svn fetch
error: git-svn died of signal 10

Why is git-svn failing? How can I fix this? I have the repo already checked out via vanilla SVN, so there shouldn't be any access or permissions issues.

解决方案

I was running into the same problem with updated 1.6 CollabNet subversion binaries. Make sure you have the following environment variables set in ~/.profile:

 export PATH=/path/to/svn/bin:....
 export DYLD_LIBRARY_PATH=/path/to/svn/lib:...
 export PERL5LIB=/path/to/svn/lib/svn-perl:...

If you don't set all these, there will be some mismatch between your updated libs and the native Leopard libs, and git-svn will fail.

Or are you still using the native subversion 1.5 that came with Leopard?

这篇关于git-svn在OSX上死于信号10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆