[20310] in Athena Bugs
fix for latex2html platform dependency
daemon@ATHENA.MIT.EDU (Jamie Morris)
Thu Apr 25 18:19:40 2002
Message-Id: <200204252219.SAA24676@feathers-or-lead.mit.edu>
To: bug-infoagents@MIT.EDU
Date: Thu, 25 Apr 2002 18:19:35 -0400
From: Jamie Morris <jemorris@MIT.EDU>
~infoagents/share/latex2html/latex2html lines 156-157 are
# Uncomment the following statement if your Linux system requires it.
# use GDBM_File;
and doing so lets it run peachy-keen on Linux (AFAICT) instead of hanging
forever as it normally (AFAICT) does.
OTOH uncommenting the line makes it fail outright on a Sun instead of
running fine, for lack of the module.
So I stuck
eval { require GDBM_File; import GDBM_File };
in my .latex2html-init and now get peachy-keenness for both platforms
(I imagine for others too but haven't tried it).
Sticking that into the actual latex2html script ought to increase the
amount of peachy-keenness in the world. (Or maybe some nicer way of
handling the conditional 'use' but whatever.)
Jamie