threads / discuss / 8822

git Intall problem: cannot stat `lib/tclIndex'

Subject: git Intall problem: cannot stat `lib/tclIndex'

## tl;dr

2 messages between Jul 2, 2007 and Jul 2, 2007.

replies: 1people: 2as markdown or json

free cycle· Jul 2, 2007, 22:16 UTC · lore
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).
     
   
Shawn O. Pearce· Jul 2, 2007, 22:30 UTC · re: free cycle · lore

Re: git Intall problem: cannot stat `lib/tclIndex'

free cycle <freecycler23@yahoo.com> wrote:
Show 12 quoted lines
>    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:
>      
>    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).

-- 
Shawn.

← back to recent threads