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

2 messages from 2007-07-02 to 2007-07-02. Participants: free cycle, Shawn O. Pearce.
Thread: https://gitlist.dev/t/8822

## free cycle, 2007-07-02 22:16

Subject: git Intall problem: cannot stat `lib/tclIndex'
Message-ID: <594387.97825.qm@web56006.mail.re3.yahoo.com>
URL: https://gitlist.dev/e/594387.97825.qm%40web56006.mail.re3.yahoo.com

```

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, 2007-07-02 22:30

Subject: Re: git Intall problem: cannot stat `lib/tclIndex'
Message-ID: <20070702223055.GC4495@spearce.org>
URL: https://gitlist.dev/e/20070702223055.GC4495%40spearce.org
In-Reply-To: <594387.97825.qm@web56006.mail.re3.yahoo.com>

```
free cycle <freecycler23@yahoo.com> wrote:
>    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.

```
