On 30 Oct 2002, Simon Wilcox wrote: > Template Toolkit 2.08 fails to build on my new Redhat 8.0 box with perl > 5.8.0
Funny, it built fine on my new Debian Sid box with perl 5.8.0. ;-) > t/autoform.t fails but this seems to be a known, and unresolved, problem > with Text::Autoformat [ http://makeashorterlink.com/?C3C252942 ] Right, so there is or isn't a problem with TT? Did Text::Autoformat build and pass tests on your system? I haven't got Text::Autoformat installed on my system at all. Send us the details of the problem, we should shove it in the FAQ or INSTALL guide if nothing else. > t/html.t fails with an error. > > MATCH FAILED > input: [[% TRY; > "Léon Brocard" | html_entity; > CATCH; > error; > END > %] > ] > expect: [Léon Brocard] > output: [Léon Brocard] > FAILED 10: - template text 3 did not match expected > not ok 10 - template text 3 did not match expected > > é is the same as é but for some reason it's not being encoded > in the same way. I don't have Apache::Util installed on this system so > it must be using HTML::Entities. Okay, I have Apache::Util installed, so I guess it's using that. Let's try building it on a identical debian box without Apache::Util installed. *whrrrr* click Okay, that passes on my machine. Must be something up with your machine then, or a module problem... Can you send the version of HTML::Entities you have installed? I have version 1.23 installed. > I don't think either of these are fatal so I will just force an install > but it probably needs fixing. When it comes down to it is this actually an error or an erroneous test? I think in this circumstance either is an acceptable output. Patching the test suite so it can match either isn't trivial, but I can have a go if that's what we think it is... Mark. -- s'' Mark Fowler London.pm Bath.pm http://www.twoshortplanks.com/ [EMAIL PROTECTED] ';use Term'Cap;$t=Tgetent Term'Cap{};print$t->Tputs(cl);for$w(split/ +/ ){for(0..30){$|=print$t->Tgoto(cm,$_,$y)." $w";select$k,$k,$k,.03}$y+=2} _______________________________________________ templates mailing list [EMAIL PROTECTED] http://www.template-toolkit.org/mailman/listinfo/templates
