git Intall problem: cannot stat `lib/tclIndex'
Apologies in advance.. I’m not experienced at installing SW packages
and I could not find anything in the FAQs about this…
I’m trying to install git and I have run the following steps:
make configure
./configure --prefix=/p/tools/git
make all
make install
Everything works OK up until the “make install” step at which point I get the following error:
... stuff deleted
install -d -m755 '/p/nhm/rtl/tools/git/share//git-gui/lib'
install -m644 lib/tclIndex '/p/nhm/rtl/tools/git/share//git-gui/lib'
install: cannot stat `lib/tclIndex': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/nfs/site/disks/nhm.work.658/testing/git/git-gui'
make: *** [install] Error 2
=======
Note: it works OK if I don’t try to install the gui.. and I have been able to setup
a git repo and I ran through the git tutorial (no gui required).
Quoted 7 lines · free cycle
I’m trying to install git and I have run the following steps:
make configure ./configure --prefix=/p/tools/git make all make install
Quoted 5 lines
Everything works OK up until the “make install” step at which point I get the following error:
install -m644 lib/tclIndex '/p/nhm/rtl/tools/git/share//git-gui/lib'
install: cannot stat `lib/tclIndex': No such file or directory
Sounds like you are trying to build a version of Git that doesn't gracefully fallback when tclsh isn't available. So I'm guessing you don't have a tclsh in your $PATH, and that is why git-gui could not create its lib/tclIndex.
Hmmph. Even as far back as Git 1.5.2 git-gui used a fallback for its lib/tclIndex when tclsh wasn't available or working properly. We're currently on 1.5.2.3 (just released).
Please consider upgrading to the latest stable Git (1.5.2.3 or 1.5.2.2 if the .3 isn't available on your mirror of choice yet).
Signature · 1 line
Shawn.