cloud1105 / git-osx-installer

Automatically exported from code.google.com/p/git-osx-installer
0 stars 0 forks source link

git-gui failure can't find tk.framework #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install: git-1.6.5-intel-leopard.dmg
2. shell execute: git gui

What is the expected output? What do you see instead?
Unknown, I've never seen git gui before, but I get:
Nightfall:Git 1.6.5 Intel Leopard whoughton$ git gui
dyld: Library not loaded: 
/Library/Frameworks/Tk.framework/Versions/8.5/Tk
  Referenced from: /usr/local/git/share/git-gui/lib/Git 
Gui.app/Contents/MacOS/Wish
  Reason: image not found
error: git-gui died of signal 5

What version of the product are you using? On what operating system?
git 1.6.5 on OS X 10.5.8 (intel)

Please provide any additional information below.

Original issue reported on code.google.com by whough...@gmail.com on 13 Oct 2009 at 3:46

GoogleCodeExporter commented 8 years ago
Hmm... very interesting.  Do you have the folder 
/Library/Frameworks/Tk.framework ? if so, what do you have in 
there?

Original comment by timchar...@gmail.com on 13 Oct 2009 at 3:48

GoogleCodeExporter commented 8 years ago
please post the results of find /Library/Frameworks/Tk.framework

Then, try installing the latest TclAqua, available here: 
http://tcltkaqua.sourceforge.net/

Original comment by timchar...@gmail.com on 13 Oct 2009 at 3:49

GoogleCodeExporter commented 8 years ago
Nothing found:
Nightfall:~ whoughton$ find /Library/Frameworks/Tk.framework
find: /Library/Frameworks/Tk.framework: No such file or directory

Yet:
Nightfall:~ whoughton$ find /Developer -iname "tk.framework"
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Tk.framework
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Tk.framework

I'll install the tcltk stuff next. thanks!

Original comment by whough...@gmail.com on 13 Oct 2009 at 4:02

GoogleCodeExporter commented 8 years ago
Ok, it appears that git is binding against the latest TclAqua I've installed in 
/Library/Frameworks/Tk.framework, rather than the system installed one in 
/System/Library/Frameworks/Tk.framework.

This is really weird though, because I didn't have to rebuild git in order for 
it's gui tools to take advantage of 
the enhancements of the latest TclAqua.

I'm sure there is some flag to set to specify where to look for Tk.framework.

I will look in to setting a flag.

Please let me know if latest TclAqua solves your problem (it really is worth 
the upgrade, there's been a lot of 
improvement in TclAqua since the release shipped with your mac).

Tim

Original comment by timchar...@gmail.com on 13 Oct 2009 at 4:09

GoogleCodeExporter commented 8 years ago
It is installed now:
Nightfall:~ whoughton$ find /Library/Frameworks/Tk.framework
/Library/Frameworks/Tk.framework
/Library/Frameworks/Tk.framework/Headers
...

But I'm now getting a Wish error:
Nightfall:~ whoughton$ git gui
dyld: Library not loaded: /Library/Frameworks/Tk.framework/Versions/8.5/Tk
  Referenced from: /usr/local/git/share/git-gui/lib/Git 
Gui.app/Contents/MacOS/Wish
  Reason: image not found
error: git-gui died of signal 5

Original comment by whough...@gmail.com on 13 Oct 2009 at 4:15

GoogleCodeExporter commented 8 years ago
Oh duh, I got 8.6 not 8.5 I guess.

Original comment by whough...@gmail.com on 13 Oct 2009 at 4:32

GoogleCodeExporter commented 8 years ago
I've tried this on several fresh-installed machines, and it worked.  I can't
reproduce this issue.  Until I get a way that I can reproduce it, I'm going to 
mark
this as invalid.

Original comment by timchar...@gmail.com on 9 Dec 2009 at 11:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm seeing this issue as well, however my machine is not running from a fresh
install.  Incidentally, I don't have Tcl installed at all.  I'm running OS 
10.5.8 and
am about to install TclAqua as specified above.

Original comment by bront...@gmail.com on 5 Jan 2010 at 10:05

GoogleCodeExporter commented 8 years ago
It seems that I should probably add a note about this and that readme file for 
the
installer. When you install tclaqua, you should be able to run the gui without 
any
problems.

Original comment by timchar...@gmail.com on 6 Jan 2010 at 4:19

GoogleCodeExporter commented 8 years ago
Just a note, I see the issue on Leopard and not Snow Leopard. With the 
developer tools installed the only place I 
see tk.framework is in the sdks.

Original comment by matt.far...@gmail.com on 24 Feb 2010 at 3:13

GoogleCodeExporter commented 8 years ago
I will add a note about this in the readme file, thank you. I don't think it's
appropriate to bundle tcl-aqua as most computer seem to have it (I swear that 
I've
used it on a computer that didn't have developer tools installed).

Original comment by timchar...@gmail.com on 1 Mar 2010 at 3:44

GoogleCodeExporter commented 8 years ago
Very helpful.  Thanks!  When I installed 8.5, the error went away.

Minor update:

The site:
    http://tcltkaqua.sourceforge.net/
redirects to:
    http://www.categorifiedcoder.info/tcltk/
which reports 404 Object not found.

The site:
    http://sourceforge.net/projects/tcltkaqua/
offers only 8.4, not 8.5.

The site:
     http://wiki.tcl.tk/12987
suggests downloading from:
     http://www.activestate.tcl
which does not exist.  They probably meant:
     http://www.activestate.com
so I reported the typo to them.

The site:
    http://www.activestate.com
works fine.  I downloaded:
    ActiveTcl8.5.8.2.292682-macosx-universal-threaded.dmg
and it works fine.  Error now gone.  Thanks!

--Fred Stluka

Original comment by FredStl...@gmail.com on 3 Jun 2010 at 6:10

GoogleCodeExporter commented 8 years ago
I see the same error from Comment 5:
dyld: Library not loaded: /Library/Frameworks/Tk.framework/Versions/8.5/Tk
  Referenced from: /usr/local/git/share/git-gui/lib/Git Gui.app/Contents/MacOS/Wish
  Reason: image not found
error: git-gui died of signal 5

This is with OS 10.5.8, git installed from git-1.7.1-intel-leopard.dmg

I have no /Library/Frameworks/Tk.framework, but do have 
/System/Library/Frameworks/Tk.framework/Versions/8.4/

--Nathaniel

Original comment by nathanie...@gmail.com on 8 Jul 2010 at 4:15

GoogleCodeExporter commented 8 years ago
Just downloaded from:
http://www.activestate.com/activetcl/downloads

Have fun!

Original comment by derlei...@web.de on 23 Oct 2010 at 9:06