Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106877 - grass-6.0.1 should require tcltk, because it uses the wish command
Summary: grass-6.0.1 should require tcltk, because it uses the wish command
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 03:53 UTC by namelesspirate
Modified: 2005-10-13 00:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description namelesspirate 2005-09-22 03:53:45 UTC
grass-6.0.1 has tcltk as a use flag, but it always uses the wish command, which
is missing if you don't have tcltk

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Steve Arnold archtester gentoo-dev 2005-09-24 10:57:26 UTC
I'm not sure I understand this; yes Grass has USE flag for tcltk, which installs 
both the tcl and tk packages.  This is required for some of the Grass GUI 
features, however, I believe X is the only hard requirement.  There are reasons 
to build without tcltk support (eg, libgrass support for gdal), so what exactly 
is the problem?
Comment 2 namelesspirate 2005-09-25 01:52:50 UTC
I emerged grass-6.0.1 without the USE flag for tcltk set and the grass startup
script (grass60) complained about the missing "wish" command, which seems to be
part of tcltk, so it think this should be hard requirement.
Comment 3 Olivier Fisette (RETIRED) gentoo-dev 2005-10-01 09:36:03 UTC
By "complaining", do you mean that installation failed, or was it just a 
warning? If installation failed, please post the resulting error message. 
Comment 4 namelesspirate 2005-10-01 10:37:37 UTC
it installs fine, but if you try to run the grass60 start-script at some point
it fails and tells you that the wish command is missing. so grass60 is unusable
without tcl/tk enabled.
to reproduce rename the wish command to some other name and try running grass60.
Comment 5 Steve Arnold archtester gentoo-dev 2005-10-13 00:26:46 UTC
It looks like Grass 6.x now indeed requires the wish tcl shell; it's no longer a 
USE flag in newer Grass (6.0.1 to be precise).