You are not logged in.
Pages: 1
After just installing git, gitk fails to run:
$ gitk
/usr/bin/gitk: line 3: exec: wish: not foundWhich package provides wish? In general is there a way to ask this question with pacman?
Cheers!
M
Offline
$ pacman -Si git
Repository : extra
Name : git
Version : 1.7.1-1
URL : http://git-scm.com/
Licenses : GPL2
Groups : None
Provides : git-core
Depends On : curl expat>=2.0 perl-error perl>=5.10.0
Optional Deps : tk: gitk and git gui
perl-libwww: git svn
perl-term-readkey: git svn
subversion: git svn
cvsps: git cvsimporthint: optional dependencies
Last edited by wonder (2010-05-12 00:40:15)
Give what you have. To someone, it may be better than you dare to think.
Offline
So the package is compiled with tcl/tk support, but do not automatically pull in tk as a run time dependency? Is this suppose to be correct behavior of package dependency in Arch?
Cheers!
M
Offline
It is correct behavior. Optional dependencies just boost the functionality of the program.
Offline
Seems to me it makes more sense to have gitk to be separate package which depends on tk. This way the system won't install some nonfunctional part. And user who wants the boosted functionality can install gitk.
Cheers!
M
Offline
Unlike other distros, Arch almost always packages the entire upstream release in a single package. That means gitk will stay part of the git package. As not everyone needs gitk, and hence the tk dependency, that is worked around using optdepends. The optdependes are clearly printed by pacman on the first install of a package and any new ones on subsequent updates. You are expected to read the pacman output on installs/upgrades.
Offline
Pages: 1