threads / discuss / 2494

Can't use gitk.

Subject: Can't use gitk.

## tl;dr

16 messages between Nov 14, 2005 and Nov 3, 2008.

replies: 15people: 6as markdown or json

Franck· Nov 14, 2005, 10:53 UTC · lore
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· Nov 14, 2005, 11:10 UTC · re: Franck · lore

Re: Can't use gitk.

Franck wrote:
Show 9 quoted lines
> 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· Nov 14, 2005, 11:22 UTC · re: Andreas Ericsson · lore

Re: Can't use gitk.

Hi Andrea
2005/11/14, Andreas Ericsson <ae@op5.se>:
Show 12 quoted lines
> 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
Show 5 quoted lines
> 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....
Show 5 quoted lines
> > 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· Nov 14, 2005, 11:42 UTC · re: Franck · lore

Re: Can't use gitk.

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.

Show 19 quoted lines
> 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.

Show 15 quoted lines
>             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?
Show 7 quoted lines
> 
>>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?
Show 10 quoted lines
> 
>>>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· Nov 14, 2005, 11:55 UTC · re: Andreas Ericsson · lore

Re: Can't use gitk.

2005/11/14, Andreas Ericsson <ae@op5.se>:
Show 6 quoted lines
> 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· Nov 14, 2005, 12:09 UTC · re: Franck · lore

Re: Can't use gitk.

Franck wrote:
Show 9 quoted lines
> 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
Franck· Nov 14, 2005, 14:00 UTC · re: Andreas Ericsson · lore

Re: Can't use gitk.

Andreas
2005/11/14, Andreas Ericsson <ae@op5.se>:
Show 8 quoted lines
> 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· Nov 14, 2005, 14:04 UTC · re: Franck · lore

Re: Can't use gitk.

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:
Show 28 quoted lines
> 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· Nov 14, 2005, 14:31 UTC · re: Wayne Scott · lore

Re: Can't use gitk.

2005/11/14, Wayne Scott <wsc9tt@gmail.com>:
Show 8 quoted lines
> 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· Nov 14, 2005, 14:34 UTC · re: Franck · lore

Re: Can't use gitk.

Franck wrote:
Show 11 quoted lines
> 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
Johannes Schindelin· Nov 14, 2005, 13:45 UTC · re: Franck · lore

Re: Can't use gitk.

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· Nov 14, 2005, 14:13 UTC · re: Johannes Schindelin · lore

Re: Can't use gitk.

Hi Johannes
2005/11/14, Johannes Schindelin <Johannes.Schindelin@gmx.de>:
Show 13 quoted lines
> 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
Linus Torvalds· Nov 14, 2005, 18:24 UTC · re: Franck · lore

Offtopic [Re: Can't use gitk.]

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· Nov 14, 2005, 18:52 UTC · re: Linus Torvalds · lore

Re: Offtopic [Re: Can't use gitk.]

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. ;)

Show 5 quoted lines
> 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· Nov 2, 2008, 19:28 UTC · re: Linus Torvalds · lore

Re: Offtopic [Re: Can't use gitk.]

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 :-)

Show 12 quoted lines
>> 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· Nov 3, 2008, 10:50 UTC · re: Paolo Ciarrocchi · lore

Re: Offtopic [Re: Can't use gitk.]

Paolo Ciarrocchi wrote:
Show 21 quoted lines
> 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

← back to recent threads