Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /usr/lib64/latex2html/latex2html.pl line 489. Compilation failed in require at /usr/bin/latex2html line 39.
I have the same issue. Removing some "defined" in seems to solve the issue. I will attach a patch.
Created attachment 419888 [details, diff] latex2html-defined-hash.patch With this patch the "Can't use 'defined(%hash)'" issue disappears.
Created attachment 420732 [details] latex2html-2015.ebuild There is also a new latex2html-2015 release at: https://www.ctan.org/tex-archive/support/latex2html See attached ebuild.
@dilfridge: Your ${PN}-match-multiline.patch fails for the 2015 release. As I am no Perl expert, could you check if it can be simply skipped or if we need an updated patch there?
Created attachment 429018 [details] Ebuild that applies the defined-hash patch Leaving alone the 2015 version for now, it would be nice to have the defined-hash patch applied. Otherwise latex2html doesn't work when Perl 5.22 is installed. I tested the patch and created a new ebuild if anyone is interested.
I'be bumped version 2015. That has both the defined-hash patch and the match-multiline patch already applied. Please test...
> This document was generated using the LaTeX2HTML translator Version 2008 (1.71) hmmm
@dilfridge: Other than not reporting that it's the new version like @zl29ah said, the 2015 version worked for me.
(In reply to Cengiz Gunay from comment #8) > @dilfridge: Other than not reporting that it's the new version like @zl29ah > said, the 2015 version worked for me. Ah that's what he meant... seems upstream is weird.
(In reply to Sergey 'L29Ah' Alirzaev from comment #7) > > This document was generated using the LaTeX2HTML translator > > Version 2008 (1.71) Has somebody reported this upstream? The release is set in config/config.pl: # This is the central place to modify the release name!!! my $RELEASE = '2008'; The various revisions (like 1.71 above) are generated from CVS keyword substitution, e.g. in latex2html.pin: # $Id: latex2html.pin,v 1.71 2004/01/06 23:49:54 RRM Exp $ my ($REVISION) = q$Revision: 1.71 $ =~ /:\s*(\S+)/; These should probably be cleaned up too, since upstream doesn't appear to use CVS any longer.