[tex-live] tlmgr gui fails in Mate Desktop on Scientic Linux 7, perl 5.16.3

George N. White III gnwiii at gmail.com
Thu Oct 23 18:18:49 CEST 2014


On Thu, Oct 23, 2014 at 5:28 AM, Siep Kroonenberg <siepo at cybercomm.nl>
wrote:

> On Thu, Oct 23, 2014 at 08:24:10AM +0900, Norbert Preining wrote:
> > On Wed, 22 Oct 2014, George N. White III wrote:
> > > $ tlmgr gui
> > > 32ba1f8 is not a hash at /usr/lib64/perl5/vendor_perl/Tk/MainWindow.pm
> line
> > > 53.
> >
> > Is line 53 that one:
> >
> >    my $top = eval { bless Create($package->CreateArgs(\%args)), $package
> };
> >
> > If yes, than this is surprising, and I would say perl/tk needs
> > a rebuild on that platform.
> >
>

The problem appears to come thru nonsense application defaults in xrdb.

$ tlmgr gui
2595620 is not a hash at /usr/lib64/perl5/vendor_perl/Tk/MainWindow.pm line
53.
Aborted (core dumped)
$ xrdb > defaults.ad
$ xrdb -load < /dev/null
$ tlmgr gui
Loading local TeX Live database
  (/usr/local/texlive/2014/tlpkg/texlive.tlpdb)
This may take some time, please be patient ...
... done loading.
$ xrdb -load < defaults.ad
$ tlmgr gui
2c19620 is not a hash at /usr/lib64/perl5/vendor_perl/Tk/MainWindow.pm line
53.
Aborted (core dumped)

Looking at "defaults.ad" there many lines with values given as uppercase
constants that are almost certainly cpp macros, so it looks like the app
defaults are effectively being loaded with "xrdb --nocpp ...".   Emacs also
has a problem with the default
(e.g., nonsense) values:

$ emacs ; echo $?
Undefined color: "FOREGROUND"
255

There is relevant (as well as mostly nonsense) discussion in <
https://bugzilla.redhat.com/show_bug.cgi?id=1053891>.
The quick answer is that Red Hat was using a now defunct preprocessor so has
removed preprocessing from xrdb.  They won't use GNU cpp because that would
require a developer package and they want to have workstations that don't
install development tools.  Most applications seem to work with the
nonsense entries from
xrdb so probably take settings from elsewhere.



> > I don't know what to do, we don't select any special font, but use
> > the default that is provided, so if this is really a font issue,
> > then it is a problem of your distribution :-(
>
> Fonts may also be defined in ~/.Xresources.
>
> --
> Siep Kroonenberg
>



-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20141023/a4222576/attachment.html>


More information about the tex-live mailing list