* Can't use gitk.
@ 2005-11-14 10:53 Franck
2005-11-14 11:10 ` Andreas Ericsson
0 siblings, 1 reply; 13+ messages in thread
From: Franck @ 2005-11-14 10:53 UTC (permalink / raw)
To: Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 10:53 Can't " Franck
@ 2005-11-14 11:10 ` Andreas Ericsson
2005-11-14 11:22 ` Franck
0 siblings, 1 reply; 13+ messages in thread
From: Andreas Ericsson @ 2005-11-14 11:10 UTC (permalink / raw)
To: Franck; +Cc: Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 11:10 ` Andreas Ericsson
@ 2005-11-14 11:22 ` Franck
2005-11-14 11:42 ` Andreas Ericsson
0 siblings, 1 reply; 13+ messages in thread
From: Franck @ 2005-11-14 11:22 UTC (permalink / raw)
To: Andreas Ericsson; +Cc: Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 11:22 ` Franck
@ 2005-11-14 11:42 ` Andreas Ericsson
2005-11-14 11:55 ` Franck
0 siblings, 1 reply; 13+ messages in thread
From: Andreas Ericsson @ 2005-11-14 11:42 UTC (permalink / raw)
To: Franck; +Cc: Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 11:42 ` Andreas Ericsson
@ 2005-11-14 11:55 ` Franck
2005-11-14 12:09 ` Andreas Ericsson
2005-11-14 13:45 ` Johannes Schindelin
0 siblings, 2 replies; 13+ messages in thread
From: Franck @ 2005-11-14 11:55 UTC (permalink / raw)
To: Andreas Ericsson; +Cc: Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 11:55 ` Franck
@ 2005-11-14 12:09 ` Andreas Ericsson
2005-11-14 14:00 ` Franck
2005-11-14 13:45 ` Johannes Schindelin
1 sibling, 1 reply; 13+ messages in thread
From: Andreas Ericsson @ 2005-11-14 12:09 UTC (permalink / raw)
To: Franck; +Cc: Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 11:55 ` Franck
2005-11-14 12:09 ` Andreas Ericsson
@ 2005-11-14 13:45 ` Johannes Schindelin
2005-11-14 14:13 ` Franck
1 sibling, 1 reply; 13+ messages in thread
From: Johannes Schindelin @ 2005-11-14 13:45 UTC (permalink / raw)
To: Franck; +Cc: Andreas Ericsson, Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 12:09 ` Andreas Ericsson
@ 2005-11-14 14:00 ` Franck
2005-11-14 14:04 ` Wayne Scott
0 siblings, 1 reply; 13+ messages in thread
From: Franck @ 2005-11-14 14:00 UTC (permalink / raw)
To: Andreas Ericsson; +Cc: Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 14:00 ` Franck
@ 2005-11-14 14:04 ` Wayne Scott
2005-11-14 14:31 ` Franck
0 siblings, 1 reply; 13+ messages in thread
From: Wayne Scott @ 2005-11-14 14:04 UTC (permalink / raw)
To: Franck; +Cc: Andreas Ericsson, Git Mailing List
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
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 13:45 ` Johannes Schindelin
@ 2005-11-14 14:13 ` Franck
0 siblings, 0 replies; 13+ messages in thread
From: Franck @ 2005-11-14 14:13 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Andreas Ericsson, Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 14:04 ` Wayne Scott
@ 2005-11-14 14:31 ` Franck
2005-11-14 14:34 ` Andreas Ericsson
0 siblings, 1 reply; 13+ messages in thread
From: Franck @ 2005-11-14 14:31 UTC (permalink / raw)
To: Wayne Scott; +Cc: Andreas Ericsson, Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Can't use gitk.
2005-11-14 14:31 ` Franck
@ 2005-11-14 14:34 ` Andreas Ericsson
0 siblings, 0 replies; 13+ messages in thread
From: Andreas Ericsson @ 2005-11-14 14:34 UTC (permalink / raw)
To: Git Mailing List
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: can't use gitk
[not found] <b8d0e50d0808200145l7ec88fb1p3e551c25f045bed4@mail.gmail.com>
@ 2008-08-20 9:31 ` Andreas Ericsson
0 siblings, 0 replies; 13+ messages in thread
From: Andreas Ericsson @ 2008-08-20 9:31 UTC (permalink / raw)
To: Xin Yang, Git Mailing List
Xin Yang wrote:
> Hi Andreas Ericsson,
>
Hi Sissia. I forwarded your email to the git list (git@vger.kernel.org)
where you can hope someone will have the time and knowledge to help you.
I'm no gitk or TCL expert, so I wouldn't even know where to start.
For future reference though:
When you want help with an opensource tool you should look for its
mailing list before firing off mails to individual contributors. Mostly
all of us work with opensource on our spare time and we, as individuals,
hardly ever have neither time nor inclination to answer questions in
private. When you ask to the mailing list, the question and the answer
gets stored for all the world to see in the mailing list archives, so
that people in the future with the same problems you have can find it
without anyone having to actually spend time on answering it again.
For a more exhaustive read on that topic, see
http://catb.org/~esr/faqs/smart-questions.html. It holds an abundance
of information valuable to those who need answers for free and gratis.
> I got your name from git archives but I still can't sue gitk. I guess
> there are some environment setup issues.
> Could you give me some clues?
>
> The GIT version I installed is:
> git-1.5.3.2.tar.bz2<http://download.chinaunix.net/download.php?id=25039&ResourceID=3744>
>
> The error info I got after running gitk is:
> Error in startup script: syntax error in expression "$i >= [llength $argv]
> && $revtreeargs ne {}"
> while executing
> "if {$i >= [llength $argv] && $revtreeargs ne {}} {
> # no -- on command line, but some arguments (other than -d)
> if {[catch {
> set f [eval exec ..."
> (file "/apps/mds_lrt/git/bin/gitk" line 7912)
>
> Here is code beginning from line 7912:
> if {$i >= [llength $argv] && $revtreeargs ne {}} {
> # no -- on command line, but some arguments (other than -d)
> if {[catch {
> set f [eval exec git rev-parse --no-revs --no-flags $revtreeargs]
> set cmdline_files [split $f "\n"]
> set n [llength $cmdline_files]
> set revtreeargs [lrange $revtreeargs 0 end-$n]
> # Unfortunately git rev-parse doesn't produce an error when
> # something is both a revision and a filename. To be consistent
> # with git log and git rev-list, check revtreeargs for filenames.
> foreach arg $revtreeargs {
> if {[file exists $arg]} {
> show_error {} . "Ambiguous argument '$arg': both revision\
> and filename"
> exit 1
> }
> }
> } err]} {
> # unfortunately we get both stdout and stderr in $err,
> # so look for "fatal:".
> set i [string first "fatal:" $err]
> if {$i > 0} {
> set err [string range $err [expr {$i + 6}] end]
> }
> show_error {} . "Bad arguments to gitk:\n$err"
> exit 1
> }
> }
>
>
>
>
> I am looking forward to your reply. :) Thanks a lot.
>
> Sissia
>
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-08-20 9:33 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <b8d0e50d0808200145l7ec88fb1p3e551c25f045bed4@mail.gmail.com>
2008-08-20 9:31 ` can't use gitk Andreas Ericsson
2005-11-14 10:53 Can't " Franck
2005-11-14 11:10 ` Andreas Ericsson
2005-11-14 11:22 ` Franck
2005-11-14 11:42 ` Andreas Ericsson
2005-11-14 11:55 ` Franck
2005-11-14 12:09 ` Andreas Ericsson
2005-11-14 14:00 ` Franck
2005-11-14 14:04 ` Wayne Scott
2005-11-14 14:31 ` Franck
2005-11-14 14:34 ` Andreas Ericsson
2005-11-14 13:45 ` Johannes Schindelin
2005-11-14 14:13 ` Franck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).