[tex-live] minor problems with install-tl

Werner LEMBERG wl at gnu.org
Tue Oct 28 16:55:44 CET 2008


> > The problem is that the warning messages w.r.t. to Perl-Tk should
> > *immediately* appear after starting the script, before doing
> > anything else.  IMHO, it's always a good idea to check the
> > prerequisites,
> 
> Ok, but since we continue either way in text mode we have to load
> the tlpdb in any case ... right?

Of course.  I just ask you to change the order.

> I see that point and will try to find a solution for that.  It is
> not that trivial since the install-tl script can be used for many
> other things, too.

Hmm, -gui always starts up the GUI, doesn't it?  Then you always have
to check for perl-tk, right?

> So what you want is that if you ask 
> 	install-tl -gui
> and the gui cannot be loaded, then
> 	1) give a warning message that we drop into text mode

Perhaps with a

  proceed? Y/N

waiting for user input.

> 	2) then start loading the tlpdb
> this way you could cancel the loading and first reinstall missing
> perl-tk, and then restart, without the need to download the tlpdb
> two times, the first time completely useless.

Exactly.  BTW, are there plans to introduce a caching mechanism, for
example, having an MD5 checksum of the tlpdb (in a separate file) to
check whether it should be downloaded again?

> > If I start with -gui, I would like that a windows pops up
> > immediately (similar to, say, Emacs), and all future messages are
> > echoed in that window.  It would be fully sufficient to have
> > something like this:
> 
> Uhhh, maybe, but the messages would scroll by *very* fast.

Ha!  Not for my bad connection in the train :-)

> I will see if I can add a temporary window that pops up that informs
> users that the tlpdb is being loaded and that it might take some
> time.

Very good.


   Werner


More information about the tex-live mailing list