----- Original Message ----- 
From: "Axel Gerstmair" <[EMAIL PROTECTED]>
> This is a known problem with release 2.09 and has been fixed in the
> current CVS version. You can ignore this error and force the
> installation if you want to. It has no effect on TT's functionality.


Following on from this I get the following errors if I answer 'y' to 'Do you
want to build the XS Stash module? [y]':

t/compile3..........ok 10/13FAILED 12:  - template text 2 did not match
expected
t/compile3..........FAILED test 12
        Failed 1/13 tests, 92.31% okay
t/filter............FAILED test 87
        Failed 1/146 tests, 99.32% okay
t/provider..........ok 32/56Template process failed:
Template::Constants::ERROR_FILE error -
/usr/local/home/httpd/vhtdocs/barbie/temp/Template-Toolkit-2.09/t/test/src/f
oo: absolute paths are not allowed (set ABSOLUTE option)
FAILED 33:  - template text 5 process FAILED: [% TRY %]\n[% INCLUDE
$relfile -%...
FAILED 34:  - (obviously did not match expected)
t/provider..........ok 38/56Template process failed:
Template::Constants::ERROR_FILE error - ./t/test/src/foo: relative paths are
not allowed (set RELATIVE option)
FAILED 39:  - template text 8 process FAILED: [% TRY %]\n[% INCLUDE $absfile
%]...
FAILED 40:  - (obviously did not match expected)
t/provider..........ok 55/56FAILED 56:  - template text 16 did not match
expected
t/provider..........FAILED tests 33-34, 39-40, 56
        Failed 5/56 tests, 91.07% okay


In addition to the above, I get the following errors if I answer 'n' to the
Stash::XS question:

t/stash-xs..........Couldn't load Template::Stash::XS 2.09:

Can't locate loadable object for module Template::Stash::XS in @INC (@INC
contains: ./lib ../lib ../blib/lib ../blib/arch blib/arch blib/lib
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at
/usr/lib/perl5/5.6.1/i386-linux-thread-multi/DynaLoader.pm line 27

BEGIN failed--compilation aborted at lib/Template/Stash/XS.pm line 27.
Compilation failed in require at t/stash-xs.t line 28.
skipped: cannot load Template::Stash::XS

t/tiedhash..........Couldn't load Template::Stash::XS 2.09:

Can't locate loadable object for module Template::Stash::XS in @INC (@INC
contains: blib/lib blib/arch lib ../blib/lib ../blib/arch ../lib
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at
/usr/lib/perl5/5.6.1/i386-linux-thread-multi/DynaLoader.pm line 27

BEGIN failed--compilation aborted at blib/lib/Template/Stash/XS.pm line 27.
Compilation failed in require at t/tiedhash.t line 26.
skipped: cannot load Template::Stash::XS


Both versions I deleted the installation directory completely and
unzipped/untar from scratched, so there should be no hangups of files to
confuse the issue between the two attempts at installing.

Are these fixed in the CVS version?

Also on another note, I'm trying to load TT locally as I don't have access
on the box I'm using to install TT in the /usr/lib. The following bit of
code fails:

my $template = Template->new({RELATIVE => 1})
 || die "Failed to create Template object: ".DumperX($template)."\n";

It appears its something to do with not finding Template::Stash::XS.pm in
@INC, even though the directory its in './lib' is second in the list! Anyone
has similar experiences know whether this is simply some configuration
setting that I've missed out that causing it to not create the object?

BTW:
'Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.11 OpenSSL/0.9.7a
PHP/3.0.19 mod_perl/1.26 FrontPage/4.0.4.3'
Perl: 5.6.1

Barbie.


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to