git/list[1] front-page[2] threads[3] people[4] search[5] about
 

gitk doesn't start due to cygwin wish not following symlinks?

From
Kees-Jan Dijkzeul <k.j.dijkzeul@gmail.com>
Date
Jul 3, 2007, 19:02 UTC
Message-ID
<fa0b6e200707031202g4a1248d8na22fbf99b215804@mail.gmail.com>
Hi,

I'm using "stow" to manage several versions of git on my cygwin system. As a result, my /usr/local/bin contains a bunch of symlinks to the actual binaries in /usr/local/stow/git-1.5.2.2/bin.

This works like a charm, except that gitk won't start up, claiming, in turn, that it is unable to start git itself. After some investigation, I found that the "wish" that is supplied with cygwin isn't a true cygwin one, and hence doesn't understand cygwin style simlinks, and thus cannot start the /usr/local/bin/git symlink. It needs the true binary.

So for now, I've worked around this by updating the first few lines of the gitk script to read:

   #!/bin/sh
   # Tcl ignores the next line -*- tcl -*- \
   export PATH=$PATH:/usr/local/stow/git-1.5.2.2/bin
   # Tcl ignores the next line also \
   exec wish "$0" -- "$@"

This works for me, but is admittedly butt-ugly. Any tips on how to handle this kind of situation?

Thanks a lot!
Groetjes,
Kees-Jan
Next: Jan Hudec
Message 1 of 2 in “gitk doesn't start due to cygwin wish not following symlinks?”
  1. Kees-Jan DijkzeulJul 3, 2007
  2. Jan HudecJul 6, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.