Opened 13 years ago
Closed 7 years ago
#32305 closed defect (fixed)
catdoc doesn't depend on tk
Reported by: | Lars.Rasmusson@… | Owned by: | julian@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | catdoc |
Description
catdoc doesn't depend on tk
When I tried to build it, it started pulling in tons sorts of unnecessary stuff. When I removed the runtime dependency for tk it built (and ran) without any problems.
Change History (2)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to julian@… |
---|
comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The port says:
and has done so ever since the port was added. See #5167. At first these lines seemed contradictory, but comments in #5167 suggest that
--without-wish
just disables a build-time test forwish
, but that presumablywish
will still be used at runtime.I think
wish
is only meant to be used bywordview
. But the first line of /opt/local/bin/wordview is:and of course trying to run it results in:
If I fix the shebang line to read:
then
wordview
opens fine. So I think the tk dependency is still needed, and the shebang line needs to be fixed by the port.Note that
wish
should already exist on your system as /usr/bin/wish, so MacPorts shouldn't be trying to install the tk port anyway. If you don't have /usr/bin/wish, that would seem unusual to me, and might indicate a problem with your OS X installation.