threads / discuss / 38611

git mac 10.7.x

Subject: git mac 10.7.x

## tl;dr

5 messages between Feb 20, 2015 and Feb 20, 2015.

replies: 4people: 3as markdown or json

sojourner· Feb 20, 2015, 10:38 UTC · lore
Installed Git via installer. Updated path in .bash_profile. Get error Illegal instruction: 4 when trying to run Git.
Built Git from source. Searches for the compiled source unsuccessful. Which is nice: there's nothing to uninstall. 
Searching online has a lot of suggestions and ideas. Anybody have anything that actually works?
Matthew Brett· Feb 20, 2015, 16:35 UTC · re: sojourner · lore

Re: git mac 10.7.x

Hi,
On Fri, Feb 20, 2015 at 2:38 AM, sojourner <sojournerh@gmail.com> wrote:
> Installed Git via installer. Updated path in .bash_profile. Get error Illegal instruction: 4 when trying to run Git.

I've seen the installer problem - suggestions here: http://practical-neuroimaging.github.io/installation.html#if-you-are-on-osx-10-8-mountain-lion-or-below

> Built Git from source. Searches for the compiled source unsuccessful. Which is nice: there's nothing to uninstall.
I'm not sure what happened there :)
Best,
Matthew
sojourner· Feb 20, 2015, 20:06 UTC · re: Matthew Brett · lore

Re: git mac 10.7.x

Yeah, the neuroimaging site's info was unhelpful. 
Does anybody have anything that's actually worked? 
On 20 Feb 2015, at 11:35, Matthew Brett wrote:
Show 15 quoted lines
> Hi,
> 
> On Fri, Feb 20, 2015 at 2:38 AM, sojourner <sojournerh@gmail.com> wrote:
>> Installed Git via installer. Updated path in .bash_profile. Get error Illegal instruction: 4 when trying to run Git.
> 
> I've seen the installer problem - suggestions here:
> http://practical-neuroimaging.github.io/installation.html#if-you-are-on-osx-10-8-mountain-lion-or-below
> 
>> Built Git from source. Searches for the compiled source unsuccessful. Which is nice: there's nothing to uninstall.
> 
> I'm not sure what happened there :)
> 
> Best,
> 
> Matthew
Kyle J. McKay· Feb 20, 2015, 18:32 UTC · re: sojourner · lore

Re: git mac 10.7.x

On Feb 20, 2015, at 02:38, sojourner wrote:
Show 8 quoted lines
> Installed Git via installer. Updated path in .bash_profile. Get  
> error Illegal instruction: 4 when trying to run Git.
>
> Built Git from source. Searches for the compiled source  
> unsuccessful. Which is nice: there's nothing to uninstall.
>
> Searching online has a lot of suggestions and ideas. Anybody have  
> anything that actually works?--
You can get a working installer from <http://mackyle.github.io/git-osx-installer/ 
 > that should work for you on 10.7.x just fine.
-Kyle
Kyle J. McKay· Feb 20, 2015, 22:54 UTC · lore

Re: git mac 10.7.x

On Feb 20, 2015, at 12:01, sojourner wrote:
> What's the difference between this installer and the other one? Why  
> is this installer going to work?

See the website for a description. It was built to work with 10.4.8 or later. It was built using Apple's older GCC specifically to be compatible so does not contain any "illegal instructions" that only work on 10.8.x or later. Besides, I've actually run it on the older systems without problem so I'm pretty confident you won't have an issue with it.

-Kyle
Show 17 quoted lines
> On 20 Feb 2015, at 13:32, Kyle J. McKay wrote:
>
>> On Feb 20, 2015, at 02:38, sojourner wrote:
>>> Installed Git via installer. Updated path in .bash_profile. Get  
>>> error Illegal instruction: 4 when trying to run Git.
>>>
>>> Built Git from source. Searches for the compiled source  
>>> unsuccessful. Which is nice: there's nothing to uninstall.
>>>
>>> Searching online has a lot of suggestions and ideas. Anybody have  
>>> anything that actually works?--
>>
>> You can get a working installer from <http://mackyle.github.io/git-osx-installer/ 
>> > that should work for you on 10.7.x just fine.
>>
>> -Kyle
>

← back to recent threads