Tk Source Code

View Ticket
Login
Ticket UUID: 509974
Title: pkg_mkIndex libtk.so requires DISPLAY
Type: Bug Version: obsolete: 8.4a4
Submitter: dgp Created on: 2002-01-29 01:31:47
Subsystem: 63. Tk_Win Functions Assigned To: dgp
Priority: 2 Severity: Minor
Status: Open Last Modified: 2018-01-11 13:56:05
Resolution: None Closed By: nobody
    Closed on: 2002-01-29 01:39:59
Description:
To be able to create a package index for Tk as
a loadable package using [pkg_mkIndex], one
must be able to load Tk.  That, in turn,
requires an X DISPLAY on Unix.

This means one cannot create an index during
an install of Tk as a loadable package in the
conventional way on a headless box -- common
installation practice on Unix.
User Comments: dgp added on 2018-01-11 13:56:05:
Please leave this open as a gentle reminder
that we should finish the conversion of Tk
into a proper package that doesn't create
windows until asked to. That would solve this
issue.

stu added on 2018-01-10 07:48:45:
This ticket has closed by/on filled in but status is still open.
I think this ticket can be closed.

andreas_kupries added on 2002-07-03 22:53:09:
Logged In: YES 
user_id=75003

This issue still affects any package dependent on Tk and 
trying to use [pkg_mkIndex] to create their index file.

I concede that this is the minority, i.e. most packages come 
with a manually crafted "pkgIndex.tcl". An exception is 
TkHTML which does use [pkg_mkIndex].

dgp added on 2002-07-03 10:13:32:
Logged In: YES 
user_id=80530

This is less important now, since Tk comes with
a pkgIndex.tcl file.

hobbs added on 2002-01-29 08:39:59:
Logged In: YES 
user_id=72656

I personally think that the requirement for installing Tk 
(a UI toolkit) to need a display is logical, and one that 
we don't want to work around.  The obvious work-around is 
to create a working pkgIndex.tcl for the install case, 
which may be the sensical things to do anyway.