Subject: pkg/22151: teTeX2 requires "dialog" but looks for "tcdialog".
To: None <gnats-bugs@gnats.netbsd.org>
From: Richard Rauch <rkr@hermes.olib.org>
List: netbsd-bugs
Date: 07/15/2003 19:14:04
>Number:         22151
>Category:       pkg
>Synopsis:       teTeX2 uses dialog pkg, but needs "tcdialog" binary.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 16 00:15:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Richard Rauch
>Release:        NetBSD 1.6
>Organization:
  "I probably don't know what I'm talking about."  http://www.olib.org/~rkr/
>Environment:
System: NetBSD hermes 1.6 NetBSD 1.6 (hermes) #0: Sun Dec 1 00:03:04 CST 2002 root@hermes:/usr/src/sys/arch/i386/compile/hermes i386
Architecture: i386
Machine: i386
>Description:
	I wanted to reinstall Lyx, and it now requires teTeX2, so I bit the
	bullet and upgraded my TeX installation.

	I found that texconfig no longer worked.  There was no informational
	message that I saw about why.  (Well, it kind of worked, but forced
	you to a command-line usage contrary to the man-page.  It was unclear
	how to do some things and obviously was a step back from the old
	texconfig tool.)

	After using "texconfig conf", however, I noticed (embedded in the
	middle) a comment about "tcdialog".  I knew that texconfig used
	dialog for the interaction in the previous version of teTeX, so
	I tried adding a hard link:

		ln /usr/pkg/bin/dialog /usr/pkg/bin/tcdialog

	...and all was well.

	Note that teTeX2 *does* require the dialog package.

	Note that the dialog package installs as dialog, NOT tcdialog.

>How-To-Repeat:
	On a clean system, install teTeX2 and try to run texconfig.

>Fix:
	Workaround: Link the real dialog to tcdialog.

	Fix: Uncertain.  I don't know why teTeX2 has suddenly decided to
	use "tcdialog", so whether it is better to change teTeX2, change
	dialog, I am not sure.
>Release-Note:
>Audit-Trail:
>Unformatted: