Bug 162441 - tetex package has dependencies on perl-Tk
tetex package has dependencies on perl-Tk
Product: Fedora
Classification: Fedora
Component: tetex (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-07-04 15:21 EDT by Michal Jaegermann
Modified: 2013-07-02 19:08 EDT (History)
2 users (show)

See Also:
Fixed In Version: 3.0-5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-08 09:42:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2005-07-04 15:21:55 EDT
Description of problem:

In tetex there is /usr/bin/texdoctk.  That is nice with this catch that
it starts with:

use strict;
use Tk;

which is an obvious problem as there is no 'perl-Tk' in a base.
For FC4 at least currently 'perl-Tk' package is available in extras.

This is actually a useful program and I would rather not to loose it.
One possible way out could be to replace 'use Tk;' by an equivalent,
if there is no error, construct in a style

  eval {require Tk;};
  die "This program requires perl-Tk. Try to look in fedora-extras.\n" if $@;
  import Tk;

This at least gives a useful information what to do.

Version-Release number of selected component (if applicable):
Comment 1 Jindrich Novy 2005-07-21 04:38:06 EDT
Applied, thanks.
Comment 2 Fedora Update System 2005-09-19 15:43:34 EDT
From User-Agent: XML-RPC

tetex-3.0-6.FC4 has been pushed for FC4, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.