wwcoderecife / git-osx-installer

Automatically exported from code.google.com/p/git-osx-installer
0 stars 0 forks source link

Tried to install git on a second machine, installation ran through, but not working #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.done install of git 1.7.0.6 on a Mac Pro (install looks fine (all stuff 
installed)) 
2. get -bash: git: command not found
3. install works fine on a MacBookpro, can't find any difference, even the 
evironment.plist 
seemes to be identical

What is the expected output? What do you see instead?

tried git giu, git status, etc. always 
get -bash: git: command not found

What version of the product are you using? On what operating system?

git version 1.6.4.1 on the MacBookPro, 1.7.0.6 on a Mac Pro

OS on both 10.6.3

Please provide any additional information below.

Any test procedure, to understand the install problems would be nice .  

Original issue reported on code.google.com by stefanma...@googlemail.com on 29 Apr 2010 at 1:43

GoogleCodeExporter commented 8 years ago
can't find git; if i put the path to the git binary in the command line it 
works ...

Original comment by stefanma...@googlemail.com on 29 Apr 2010 at 1:55

GoogleCodeExporter commented 8 years ago
your /etc/paths.d path is not being loaded.  

Your /etc/profile should contain this:

{{{
if [ -x /usr/libexec/path_helper ]; then
    eval `/usr/libexec/path_helper -s`
fi

}}}

if it does, it's not working. I don't know why, but some configuration on your
machine is likely obstructing it.

Original comment by timchar...@gmail.com on 29 Apr 2010 at 4:10

GoogleCodeExporter commented 8 years ago
thanks for your help ...

working system:

# System-wide .profile for sh(1)

if [ -x /usr/libexec/path_helper ]; then
        eval `/usr/libexec/path_helper -s`
fi

if [ "${BASH-no}" != "no" ]; then
        [ -r /etc/bashrc ] && . /etc/bashrc
fi

not working system 

# System-wide .profile for sh(1)

PATH="/bin:/sbin:/usr/bin:/usr/sbin"
export PATH

if [ "${BASH-no}" != "no" ]; then
        [ -r /etc/bashrc ] && . /etc/bashrc
fi
## setloginpath added /usr/local/bin start at Tue Oct  9 16:59:22 CEST 2007
## Do not remove the previous line
if [ `whoami` != "root" ]
then
  PATH="$PATH:/usr/local/bin"
  export PATH
fi
## Do not remove the next line
## setloginpath added /usr/local/bin end at Tue Oct  9 16:59:22 CEST 2007
## TeX added /usr/texbin start at Tue Oct  9 16:59:22 CEST 2007
## Do not remove the previous line
if [ `whoami` != "root" ]
then
  PATH="$PATH:/usr/texbin"
  export PATH
fi
## Do not remove the next line
## TeX added /usr/texbin end at Tue Oct  9 16:59:22 CEST 2007

no idea why they are different, they have pretty much the same software 
packages installed ...., 

Original comment by stefanma...@googlemail.com on 30 Apr 2010 at 6:26