# Can't use gitk.

16 messages from 2005-11-14 to 2008-11-03. Participants: Franck, Andreas Ericsson, Johannes Schindelin, Wayne Scott, Linus Torvalds, Paolo Ciarrocchi.
Thread: https://gitlist.dev/t/2494

## Franck, 2005-11-14 10:53

Subject: Can't use gitk.
Message-ID: <cda58cb80511140253s92f28e2g@mail.gmail.com>
URL: https://gitlist.dev/e/cda58cb80511140253s92f28e2g%40mail.gmail.com

```
Hi,

I'm trying to use gitk --all command but it fails like this:

"""
Error executing git-rev-list: couldn't execute "git-rev-list": no such
file or directory
"""

I'm running git on a fedora core 3. Can anybody give me some help ?

Thanks
--
               Franck

```

## Andreas Ericsson, 2005-11-14 11:10

Subject: Re: Can't use gitk.
Message-ID: <437870AF.8060607@op5.se>
URL: https://gitlist.dev/e/437870AF.8060607%40op5.se
In-Reply-To: <cda58cb80511140253s92f28e2g@mail.gmail.com>

```
Franck wrote:
> Hi,
> 
> I'm trying to use gitk --all command but it fails like this:
> 
> """
> Error executing git-rev-list: couldn't execute "git-rev-list": no such
> file or directory
> """
> 

Is git-rev-list in your $PATH?
Did you compile (and/or install) with

	make NO_OPENSSL=YesPlease
	make NO_OPENSSL=YesPlease install

Do other git commands work?

> I'm running git on a fedora core 3. Can anybody give me some help ?
> 

Trying to, but a bit more verbosity in the error report wouldn't hurt.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

```

## Franck, 2005-11-14 11:22

Subject: Re: Can't use gitk.
Message-ID: <cda58cb80511140322v686e4ee0g@mail.gmail.com>
URL: https://gitlist.dev/e/cda58cb80511140322v686e4ee0g%40mail.gmail.com
In-Reply-To: <437870AF.8060607@op5.se>

```
Hi Andrea

2005/11/14, Andreas Ericsson <ae@op5.se>:
> Franck wrote:
> > Hi,
> >
> > I'm trying to use gitk --all command but it fails like this:
> >
> > """
> > Error executing git-rev-list: couldn't execute "git-rev-list": no such
> > file or directory
> > """
> >
>
> Is git-rev-list in your $PATH?

yes:
            # git-rev-list HEAD
            3f1d5f26509defe2f691f5e94a2848848d1ba3a0
            cd9a0ae21e015cc25a0ea98169451a59d49c0909
            538310ad38629a1c1f983d982e52b568bc1dbe79

> Did you compile (and/or install) with
>
>         make NO_OPENSSL=YesPlease
>         make NO_OPENSSL=YesPlease install
>

nope I just did: "make; make install". I tried what you suggested but
it's still failing the same way...

> Do other git commands work?
>

yes, at least some other commands like git-diff-xxx, git-checkout....

> > I'm running git on a fedora core 3. Can anybody give me some help ?
> >
>
> Trying to, but a bit more verbosity in the error report wouldn't hurt.
>

I'm usig git v0.99.9h

Thanks
--
               Franck

```

## Andreas Ericsson, 2005-11-14 11:42

Subject: Re: Can't use gitk.
Message-ID: <43787831.3030404@op5.se>
URL: https://gitlist.dev/e/43787831.3030404%40op5.se
In-Reply-To: <cda58cb80511140322v686e4ee0g@mail.gmail.com>

```
Franck wrote:
> Hi Andrea
> 

Not sure why, but 85% of all people replying to me by email refer to me 
as "Andrea". Sort of cute I suppose, although I'm somewhat lacking in 
the TnA department.

> 2005/11/14, Andreas Ericsson <ae@op5.se>:
> 
>>Franck wrote:
>>
>>>Hi,
>>>
>>>I'm trying to use gitk --all command but it fails like this:
>>>
>>>"""
>>>Error executing git-rev-list: couldn't execute "git-rev-list": no such
>>>file or directory
>>>"""
>>>
>>
>>Is git-rev-list in your $PATH?
> 
> 
> yes:
>             # git-rev-list HEAD

This seems to imply you're running git-rev-list as root. The default 
installation directory for git is $HOME/bin which might not necessarily 
be in the $PATH once "wish" and friends have had their say.

>             3f1d5f26509defe2f691f5e94a2848848d1ba3a0
>             cd9a0ae21e015cc25a0ea98169451a59d49c0909
>             538310ad38629a1c1f983d982e52b568bc1dbe79
> 
> 
>>Did you compile (and/or install) with
>>
>>        make NO_OPENSSL=YesPlease
>>        make NO_OPENSSL=YesPlease install
>>
> 
> 
> nope I just did: "make; make install". I tried what you suggested but
> it's still failing the same way...
> 

So your binaries are installed in $HOME/bin then?

> 
>>Do other git commands work?
>>
> 
> 
> yes, at least some other commands like git-diff-xxx, git-checkout....
> 

Are you running all commands as the same user?

> 
>>>I'm running git on a fedora core 3. Can anybody give me some help ?
>>>
>>
>>Trying to, but a bit more verbosity in the error report wouldn't hurt.
>>
> 
> 
> I'm usig git v0.99.9h
> 

You could try installing from RPM. It should work nicely for all users.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

```

## Franck, 2005-11-14 11:55

Subject: Re: Can't use gitk.
Message-ID: <cda58cb80511140355q1add0ba5n@mail.gmail.com>
URL: https://gitlist.dev/e/cda58cb80511140355q1add0ba5n%40mail.gmail.com
In-Reply-To: <43787831.3030404@op5.se>

```
2005/11/14, Andreas Ericsson <ae@op5.se>:
> Franck wrote:
> > Hi Andrea
>
> Not sure why, but 85% of all people replying to me by email refer to me
> as "Andrea". Sort of cute I suppose, although I'm somewhat lacking in
> the TnA department.

oops, sorry Andreas for that ! I use to spelling this name without 's'
that's why I did the mistake I think.

> This seems to imply you're running git-rev-list as root. The default
> installation directory for git is $HOME/bin which might not necessarily
> be in the $PATH once "wish" and friends have had their say.

nope every commands I'm running are not run as root. $HOME/bin is in my path.

> > nope I just did: "make; make install". I tried what you suggested but
> > it's still failing the same way...
>
> So your binaries are installed in $HOME/bin then?

yes.

> Are you running all commands as the same user?
>

yes

> You could try installing from RPM. It should work nicely for all users.

well, I would prefer to use gt repository instead since GIT is in
active developpement.

Thanks
--
               Franck

```

## Andreas Ericsson, 2005-11-14 12:09

Subject: Re: Can't use gitk.
Message-ID: <43787E6E.8030702@op5.se>
URL: https://gitlist.dev/e/43787E6E.8030702%40op5.se
In-Reply-To: <cda58cb80511140355q1add0ba5n@mail.gmail.com>

```
Franck wrote:
> 2005/11/14, Andreas Ericsson <ae@op5.se>:
> 
>> The default
>>installation directory for git is $HOME/bin which might not necessarily
>>be in the $PATH once "wish" and friends have had their say.
> 
> 
> nope every commands I'm running are not run as root. $HOME/bin is in my path.
> 

Yes, but wish or some such might strip $HOME/bin away from it.

Try doing

make clean; make prefix=/usr
sudo make prefix=/usr install

and see if it works.

If it does, some program somewhere is manipulating your $PATH.
Otherwise I'm at my wits end. Perhaps someone more clever than myself 
will take a stab at answering tonight when it's daytime in the US.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

```

## Johannes Schindelin, 2005-11-14 13:45

Subject: Re: Can't use gitk.
Message-ID: <Pine.LNX.4.63.0511141442310.8531@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0511141442310.8531%40wbgn013.biozentrum.uni-wuerzburg.de
In-Reply-To: <cda58cb80511140355q1add0ba5n@mail.gmail.com>

```
Hi,

On Mon, 14 Nov 2005, Franck wrote:

> nope every commands I'm running are not run as root. $HOME/bin is in my 
> path.

Is it possible that your wish is stripping away $HOME/bin from your PATH? 
Could you try the following?

	$ wish
	% git-rev-list

(If a lot of SHA1s are whizzing by, you can Ctrl-C it, and I am wrong.)

Hth,
Dscho

```

## Franck, 2005-11-14 14:00

Subject: Re: Can't use gitk.
Message-ID: <cda58cb80511140600k2c0188c4i@mail.gmail.com>
URL: https://gitlist.dev/e/cda58cb80511140600k2c0188c4i%40mail.gmail.com
In-Reply-To: <43787E6E.8030702@op5.se>

```
Andreas

2005/11/14, Andreas Ericsson <ae@op5.se>:
> Yes, but wish or some such might strip $HOME/bin away from it.
>
> Try doing
>
> make clean; make prefix=/usr
> sudo make prefix=/usr install
>
> and see if it works.

it works.

>
> If it does, some program somewhere is manipulating your $PATH.

It seems that once wish is executed, $PATH does not include anymore my
$HOME/bin directory. Do you have any idea why ?

Thanks
--
               Franck

```

## Wayne Scott, 2005-11-14 14:04

Subject: Re: Can't use gitk.
Message-ID: <59a6e5830511140604o12af40fdp1b05cc84962d5903@mail.gmail.com>
URL: https://gitlist.dev/e/59a6e5830511140604o12af40fdp1b05cc84962d5903%40mail.gmail.com
In-Reply-To: <cda58cb80511140600k2c0188c4i@mail.gmail.com>

```
Probably you need to fix your .profile or .bashrc.   Set your PATH
unconditionally and not just for interactive shells. In general
anytime you make some setup in your shell conditional on being
interactive it is just asking for problems.

Test like this:
   ssh localhost 'echo $PATH'

-Wayne

On 11/14/05, Franck <vagabon.xyz@gmail.com> wrote:
> Andreas
>
> 2005/11/14, Andreas Ericsson <ae@op5.se>:
> > Yes, but wish or some such might strip $HOME/bin away from it.
> >
> > Try doing
> >
> > make clean; make prefix=/usr
> > sudo make prefix=/usr install
> >
> > and see if it works.
>
> it works.
>
> >
> > If it does, some program somewhere is manipulating your $PATH.
>
> It seems that once wish is executed, $PATH does not include anymore my
> $HOME/bin directory. Do you have any idea why ?
>
> Thanks
> --
>                Franck
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

```

## Franck, 2005-11-14 14:13

Subject: Re: Can't use gitk.
Message-ID: <cda58cb80511140613s51676f8eu@mail.gmail.com>
URL: https://gitlist.dev/e/cda58cb80511140613s51676f8eu%40mail.gmail.com
In-Reply-To: <Pine.LNX.4.63.0511141442310.8531@wbgn013.biozentrum.uni-wuerzburg.de>

```
Hi Johannes

2005/11/14, Johannes Schindelin <Johannes.Schindelin@gmx.de>:
> Hi,
>
> On Mon, 14 Nov 2005, Franck wrote:
>
> > nope every commands I'm running are not run as root. $HOME/bin is in my
> > path.
>
> Is it possible that your wish is stripping away $HOME/bin from your PATH?
> Could you try the following?
>
>         $ wish
>         % git-rev-list
>

That's what I'm thinking too, but what you suggested is failing as
well (I added HEAD parameter to giv-rev-list command thought).

thanks
--
               Franck

```

## Franck, 2005-11-14 14:31

Subject: Re: Can't use gitk.
Message-ID: <cda58cb80511140631n46fdce52n@mail.gmail.com>
URL: https://gitlist.dev/e/cda58cb80511140631n46fdce52n%40mail.gmail.com
In-Reply-To: <59a6e5830511140604o12af40fdp1b05cc84962d5903@mail.gmail.com>

```
2005/11/14, Wayne Scott <wsc9tt@gmail.com>:
> Probably you need to fix your .profile or .bashrc.   Set your PATH
> unconditionally and not just for interactive shells. In general
> anytime you make some setup in your shell conditional on being
> interactive it is just asking for problems.
>
> Test like this:
>    ssh localhost 'echo $PATH'
>

well I found a fix, but I don't know why it actually fixes things :)

I replaced in .bash_profile
        PATH=~/bin:$PATH
by
        PATH=$HOME/bin:$PATH

Any ideas ?

Thanks
--
               Franck

```

## Andreas Ericsson, 2005-11-14 14:34

Subject: Re: Can't use gitk.
Message-ID: <4378A064.3000200@op5.se>
URL: https://gitlist.dev/e/4378A064.3000200%40op5.se
In-Reply-To: <cda58cb80511140631n46fdce52n@mail.gmail.com>

```
Franck wrote:
> 2005/11/14, Wayne Scott <wsc9tt@gmail.com>:
> 
> well I found a fix, but I don't know why it actually fixes things :)
> 
> I replaced in .bash_profile
>         PATH=~/bin:$PATH
> by
>         PATH=$HOME/bin:$PATH
> 
> Any ideas ?
> 

~ is only interpolated as $HOME when bash (or /bin/sh) is run as an 
interactive shell. Tab-completion won't work from non-interactive shells 
either.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

```

## Linus Torvalds, 2005-11-14 18:24

Subject: Offtopic [Re: Can't use gitk.]
Message-ID: <Pine.LNX.4.64.0511141005590.3263@g5.osdl.org>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0511141005590.3263%40g5.osdl.org
In-Reply-To: <cda58cb80511140355q1add0ba5n@mail.gmail.com>

```


On Mon, 14 Nov 2005, Franck wrote:
> 
> oops, sorry Andreas for that ! I use to spelling this name without 's'
> that's why I did the mistake I think.

In Finland and Sweden Andrea without the "s" is a girls name, while 
Andreas with the "s" (or André without "-as") is a boy.

It's not even very rare. "Andrea" was the 84th most popular female name in 
Sweden in 2000.

It can be confusing, since in Italy (and, I think, southern Germany and 
much of Eastern Europe), "Andrea" is a boy, and in fact, the name 
originally comes from the Greek meaning "man".

In the rest of the world, Andrea seems to mostly female, but it probably 
depends on where the cultural influences come from.

So leaving off the "s" can be very strange to the recipient.

			Linus
```

## Andreas Ericsson, 2005-11-14 18:52

Subject: Re: Offtopic [Re: Can't use gitk.]
Message-ID: <4378DD06.2000505@op5.se>
URL: https://gitlist.dev/e/4378DD06.2000505%40op5.se
In-Reply-To: <Pine.LNX.4.64.0511141005590.3263@g5.osdl.org>

```
Linus Torvalds wrote:
> It can be confusing, since in Italy (and, I think, southern Germany and 
> much of Eastern Europe), "Andrea" is a boy, and in fact, the name 
> originally comes from the Greek meaning "man".
> 

While we're working up the trivia section here we might as well be anal 
about it.

Andrea does indeed mean 'man' in the sense of 'human being' (think 
android). It was a form of flattery in ancient Greece, where being, with 
every breath, as human (or humane, which was originally the same) as 
possible was considered the best anyone could hope to be. Alas, that 
meaning has long since been somewhat watered.

Andreas stems from Andros and means "powerful protective guardian" in 
the sense of a totem. Chicks dig that. ;)

> In the rest of the world, Andrea seems to mostly female, but it probably 
> depends on where the cultural influences come from.
> 
> So leaving off the "s" can be very strange to the recipient.
> 

Personally I don't mind. I just thought it weird that so many are doing 
it. Thanks for the clarification though. It killed a full ten minutes of 
dull late-monday work of debugging other peoples perl-scripts.

Oh well. Back to it, I suppose.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

```

## Paolo Ciarrocchi, 2008-11-02 19:28

Subject: Re: Offtopic [Re: Can't use gitk.]
Message-ID: <4d8e3fd30811021128q5f172a97pbc8e657d08f9ac8c@mail.gmail.com>
URL: https://gitlist.dev/e/4d8e3fd30811021128q5f172a97pbc8e657d08f9ac8c%40mail.gmail.com
In-Reply-To: <Pine.LNX.4.64.0511141005590.3263@g5.osdl.org>

```
On Mon, Nov 14, 2005 at 7:24 PM, Linus Torvalds <torvalds@osdl.org> wrote:
>
> On Mon, 14 Nov 2005, Franck wrote:

Sorry for commenting on this email only now but I found it in my
archive while looking for a different thread :-)

>> oops, sorry Andreas for that ! I use to spelling this name without 's'
>> that's why I did the mistake I think.
>
> In Finland and Sweden Andrea without the "s" is a girls name, while
> Andreas with the "s" (or André without "-as") is a boy.
>
> It's not even very rare. "Andrea" was the 84th most popular female name in
> Sweden in 2000.
>
> It can be confusing, since in Italy (and, I think, southern Germany and
> much of Eastern Europe), "Andrea" is a boy, and in fact, the name
> originally comes from the Greek meaning "man".

In Italy Andrea might be a girl as well even if that name is often
used for a boy.

Ciao,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/

```

## Andreas Ericsson, 2008-11-03 10:50

Subject: Re: Offtopic [Re: Can't use gitk.]
Message-ID: <490ED78F.3010005@op5.se>
URL: https://gitlist.dev/e/490ED78F.3010005%40op5.se
In-Reply-To: <4d8e3fd30811021128q5f172a97pbc8e657d08f9ac8c@mail.gmail.com>

```
Paolo Ciarrocchi wrote:
> On Mon, Nov 14, 2005 at 7:24 PM, Linus Torvalds <torvalds@osdl.org> wrote:
>> On Mon, 14 Nov 2005, Franck wrote:
> 
> Sorry for commenting on this email only now but I found it in my
> archive while looking for a different thread :-)
> 
>>> oops, sorry Andreas for that ! I use to spelling this name without 's'
>>> that's why I did the mistake I think.
>> In Finland and Sweden Andrea without the "s" is a girls name, while
>> Andreas with the "s" (or André without "-as") is a boy.
>>
>> It's not even very rare. "Andrea" was the 84th most popular female name in
>> Sweden in 2000.
>>
>> It can be confusing, since in Italy (and, I think, southern Germany and
>> much of Eastern Europe), "Andrea" is a boy, and in fact, the name
>> originally comes from the Greek meaning "man".
> 
> In Italy Andrea might be a girl as well even if that name is often
> used for a boy.
> 

Little did my parents know that the name they gave me would spawn a
discussion lasting very nearly three years.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

```
