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@…

The port says:

depends_run		bin:wish:tk
configure.args	--without-wish

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 for wish, but that presumably wish will still be used at runtime.

I think wish is only meant to be used by wordview. But the first line of /opt/local/bin/wordview is:

#! no

and of course trying to run it results in:

-bash: /opt/local/bin/wordview: no: bad interpreter: No such file or directory

If I fix the shebang line to read:

#!/usr/bin/env wish

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.

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

In 923c5d45e4e94f04530a3285db21d9b1634c82a1/macports-ports:

catdoc: Update to 0.95

Closes: #54526

Also fixes path to wish in wordview

Closes: #32305

Note: See TracTickets for help on using tickets.