On Tue, 29 Dec 2015 05:59:57 -0800 (PST)
Igor Sluge <sl...@mail.ru> wrote:
> On RHEL6 I get latest git sources from git clone
> complite it and test:
> $ ./git --version
> git version 2.7.0.rc3
> I copied the git to the /usr/local/bin
> But then I tryed to launch difftoll I failed:
> $ ./git difftool
> git: 'difftool' is not a git command. See 'git --help'.
Run it while having GIT_TRACE=1 in the environment -- what actual
command did the top-level Git executable try to spawn?
I'm afraid Git, being a POSIX program, *encodes* certain paths --
configured at the build phase -- in the binaries it compiles, so if you
compiled Git with some default settings and then "copied" it somewhere,
I bet it won't work.
If you insist on building Git from the sources, at least take your time
to inspect the Git's build system and figure out how to compile it
properly. And if you're not using at least ad-hoc packaging (I mean
tools like checkinstall or stow), I'd recommend building and installing
"the Windows way" -- placing everything under /opt/git to save your
neck for a later time when you'll need to uninstall or update Git.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.