[Templates] BUG - template 2.15b - Template.pm line 36 - the "b" is the problem.

duane_ellis@franklin.com duane_ellis@franklin.com
Fri, 17 Nov 2006 10:37:17 -0500


<br><font size=2 face="sans-serif">I'm setting up a BUGZILLA - and installing
all the Perl Modules ....</font>
<br>
<br><font size=2 face="sans-serif">I first ran into a problem with &quot;Template&quot;
where &quot;make test&quot; failed</font>
<br><font size=2 face="sans-serif">&nbsp;I forget what it was, but - the
google search landed me in a mail</font>
<br><font size=2 face="sans-serif">that was exactly my problem, the solution
was &quot;Try 2.15b&quot;</font>
<br>
<br><font size=2 face="sans-serif">That fixed it - &nbsp;Next problem -
when installing: Template-GD-2.66 - </font>
<br><font size=2 face="sans-serif">(another optional thing for Bugzilla)</font>
<br>
<br><font size=2 face="sans-serif">I do this:</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; tar
xfz ./Template-GD-2.66.tar.gz</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cd
Template-GD-2.66</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; perl
./Makefile.PL</font>
<br>
<br><font size=2 face="sans-serif">It *DIES* with:</font>
<br>
<br><font size=2 face="sans-serif">&gt;&gt; Argument &quot;2.15b&quot;
isn't numeric in numeric lt (&lt;) at /usr/lib/perl5/5.8.5/ExtUtils/MakeMaker.pm
line 390.</font>
<br>
<br><font size=2 face="sans-serif">I believe, and I'm not a CPAN Perl person...
just a casual Perl Hack.. that the problem is caused by</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Template.pm</font>
<br>
<br><font size=2 face="sans-serif">which comes from Template-2.15b.</font>
<br>
<br><font size=2 face="sans-serif">Specifically Line: 37, where the $VERSION='2.15b'</font>
<br>
<br><font size=2 face="sans-serif">Perhaps your patch numbering scheme
is wrong... or something... &nbsp;I don't know enough about it</font>
<br><font size=2 face="sans-serif"><br>
But to work around this problem I hand-edited the above &nbsp;file and
change it to &quot;2.15&quot;</font>
<br><font size=2 face="sans-serif">and the problem goes away.</font>
<br>
<br><font size=2 face="sans-serif">BTW - I'm not on the template.org mailing
lists.</font>
<br><font size=2 face="sans-serif"><br>
Duane Ellis<br>
Principal Engineer<br>
Franklin Electronic Publishers<br>
One Franklin Plaza<br>
Burlington NJ 08016<br>
</font>