Git for Mac无法启动:“非法指令” [英] Git for Mac fails to launch: "illegal instruction"

查看:123
本文介绍了Git for Mac无法启动:“非法指令”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

...我仔细看过(我相信),并且在为我的Mac安装Git时未能成功。



由于各种原因,我正在运行10.6.8的Mac OS X,并且不会很快改变这种情况。



我已经收集并安装了暴露于此处的软件包:



https://help.github.com/articles/set- up-git



安装说明非常清晰,对我来说显然安装了该软件包。但任何尝试从命令行使用git客户端都会导致非法指令错误。



我仔细查看了以下信息:



http://git-scm.com/ book / en / Getting-Started-Installing-Git



还有另一个似乎可用的包。它被称为GitHub for Mac 1.7.5,但似乎需要Mac OS X 10.7或更高版本。



其他人遇到过这个困难吗? ?



我有几个小时的阅读和黑客入侵这项工作吗?有没有明显的我没有考虑过?

解决方案

是的,我有同样的确切问题,我做的是从这里安装早期版本:
https://code.google.com/p/git-osx-installer/



我正在运行10.6.8,并在那里安装了最新版本,1.8.4.2

SourceForge只有1.9.0和1.8.5.2
http://sourceforge.net/projects/git-osx-installer/reviews?source= navbar



有人评论说他们遇到了麻烦,并且回到了1.7,我会试试看,如果1.8.4.2无法运行。



至少,我能够运行配置命令而不会出现非法指令错误。

...I've looked pretty carefully (I believe), and have been unsuccessful at getting an installation of Git for my Mac.

For various reasons, I'm running 10.6.8 of Mac OS X and will not be changing that anytime soon.

I've already gathered and installed the bundle exposed here:

https://help.github.com/articles/set-up-git

The installation instructions are pretty clear, and it's obvious to me that the package installed. But any attempts to use the git client from the command line result in an "Illegal Instruction" error.

I've sifted pretty carefully through information available here:

http://git-scm.com/book/en/Getting-Started-Installing-Git

There is another bundle that seems to be available. It is called "GitHub for Mac 1.7.5, but it appears to require Mac OS X 10.7 or later.

Has anyone else encountered this difficulty? Must I build from source?

I'm a couple of hours of reading and hacking into this effort? Is there something obvious that I've not considered?

解决方案

Yes, I've had the same exact problem, and what I did is installed an earlier build from here: https://code.google.com/p/git-osx-installer/

I'm running 10.6.8 and installed the newest build there, 1.8.4.2

SourceForge only has 1.9.0 and 1.8.5.2 http://sourceforge.net/projects/git-osx-installer/reviews?source=navbar

Someone on the reviews said they had trouble with both and went back to 1.7. I would try that if 1.8.4.2 doesn't work.

I was able to run the config commands without an illegal instruction error, at least.

这篇关于Git for Mac无法启动:“非法指令”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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