Illegal Instruction:4 when Running git on OSX 10.7.5
I download the latest git package for Mac OSX. The file I downloaded is: git-2.0.1-intel-universal-snow-leopard.dmg I run that ok, and I get a directory with the file named: git-2.0.1-intel-universal-snow-leopard.pkg The install goes fine, but then with I attempt to run: git --version, I get : Illegal Instruction: 4 I searched Google for this error message and found the following link on Stackoverflow http://stackoverflow.com/questions/14268887/what-is-the-illegal-instruction-4-error-and-why-does-mmacosx-version-min-10 From what I can tell from this set of threads, git needed to be compiled with a special directive that will allow it to run on older versions of OSX. However, the package name of the install file says universal-snow-leopard, which is OSX version 10.6, or the dot rev before what I am running (10.7.x). I'm not sure I believe what was written on stackoverflow, and if the only option for me is to recompile git with this control setting, then I'm probably not going to be using git on my old Macbook Air (I cannot update OSX to any later version - this was decided by Apple, not me). Any thoughts from anyone? Was git compiled with the wrong directives?
Thanks for the quick reply. I'll let you know how it goes.
I, too, was experiencing the same problem with running Git on my Mac(10.7.5). In case anyone out there is wondering, I followed the advice of 'orbrey', first by doing a restart of my machine (as suggested by this page http://www.devinbaldwin.com/2011/10/...s-x-10-7-lion/). That did not work for me. So I took his first suggestion of downloading version 2.0.0 from https://www.wandisco.com/git/download. After googling how to uninstall my previously installed version of git, and then uninstalling it. I installed version 2.0.0. I followed the pkg install instructions to do this in the terminal: export PATH=/opt/git/bin:$PATH That was successful. I then typed git into the terminal and it ran properly with no errors. I didn't even know what git was prior to 30 minutes ago, but I have it successfully installed on my Early 2008 Macbook now and am ready to start learning. Thank you 'orbrey'.!
1-5 of 5
Reply to this discussion
You cannot edit posts or make replies: You should be logged in before you can post.