Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot install Template-Toolkit-2.28 #212

Closed
vincentdd opened this issue Jan 3, 2019 · 13 comments
Closed

cannot install Template-Toolkit-2.28 #212

vincentdd opened this issue Jan 3, 2019 · 13 comments
Labels

Comments

@vincentdd
Copy link

i'm trying to install Template-Toolkit-2.28 in win7 64 but failed.
error code like this:
collect2: ld returned 1 exit status
dmake.exe: Error code 129, while making '..\blib\arch\auto\Template\Stash\XS\XS
.dll'
dmake.exe: Error code 255, while making 'subdirs'
ATOOMIC/Template-Toolkit-2.28.tar.gz
C:\Perl\site\bin\dmake.exe -- NOT OK
Failed during this command:
LEEJO/Test-LeakTrace-0.16.tar.gz : make NO
ATOOMIC/Template-Toolkit-2.28.tar.gz : make NO

please tell me how to fix it

@atoomic atoomic added the Question / Help Help / question on TT usage label Jan 4, 2019
@atoomic
Copy link
Collaborator

atoomic commented Jan 4, 2019

I do not have a lot of windows experience with Perl, from the last two lines of output it appears that the optional dependency Test::LeakTrace (only used for some specific tests) failed to install
but I'm not sure this is the source of your error

Enabling AppVeyor to smoke the distro on Windows will help detect issues.
I hope another user with more windows experience than me could help you.

@atoomic
Copy link
Collaborator

atoomic commented Jan 4, 2019

first attempt to enable appveyor
https://ci.appveyor.com/project/atoomic/template2

@vincentdd
Copy link
Author

first attempt to enable appveyor
https://ci.appveyor.com/project/atoomic/template2

thank you :)

@vincentdd
Copy link
Author

first attempt to enable appveyor
https://ci.appveyor.com/project/atoomic/template2

I have installed Test::LeakTrace. then i begin trying to install Template-Toolkit-2.28. then i come up with a mistake like this :
`t/compile1.t ................. ok
t/compile2.t ................. ok
t/compile3.t ................. ok
t/compile4.t ................. ok
t/compile5.t ................. ok
t/anycase.t .................. ok
t/args.t ..................... ok
t/assert.t ................... ok
t/base.t ..................... ok
t/binop.t .................... ok
t/block.t .................... ok
t/block_duplicate.t .......... ok
t/blocks.t ................... ok
t/capture.t .................. ok
t/case.t ..................... ok
t/cgi.t ...................... ok
t/chomp.t .................... ok
t/config.t ................... ok
t/constants.t ................ ok
t/context.t .................. ok
t/datafile.t ................. ok
t/date.t ..................... ok
t/debug.t .................... ok
t/directive.t ................ ok
t/directry.t ................. skipped: skipping tests on MS Win 32 platform
t/document.t ................. ok
t/dumper.t ................... ok
t/error.t .................... ok
t/evalperl.t ................. ok
t/exception.t ................ ok
t/factory.t .................. ok
t/file.t ..................... skipped: skipping tests on MS Win 32 platform
t/fileline.t ................. ok
t/filter.t ................... Failed 1/162 subtests
t/foreach.t .................. ok
t/format.t ................... ok
t/html.t ..................... ok
t/image.t .................... skipped: Neither Image::Info nor Image::Size inst
alled
t/include.t .................. ok
t/iterator.t ................. ok
t/leak.t ..................... ok
t/list.t ..................... ok
t/macro.t .................... ok
t/math.t ..................... ok
t/math_rand.t ................ ok
t/mtime-zero.t ............... ok
t/object.t ................... ok
t/outline.t .................. ok
t/output.t ................... ok
t/parser.t ................... 1/37 Locale 'Chinese (Simplified)_People's Republ
ic of China.936' may not work well. Some characters in it are not recognized by
Perl.
t/parser.t ................... ok
t/parser2.t .................. ok
t/plugins.t .................. ok
t/plusfile.t ................. ok
t/pod.t ...................... 1/15 Locale 'Chinese (Simplified)_People's Republ
ic of China.936' may not work well. Some characters in it are not recognized by
Perl.
t/pod.t ...................... ok
t/prefix.t ................... ok
t/proc.t ..................... ok
t/process-relative.t ......... ok
t/process.t .................. ok
t/process_dir.t .............. ok
t/provider.t ................. 47/58 Locale 'Chinese (Simplified)_People's Repub
lic of China.936' may not work well. Some characters in it are not recognized b
y Perl.
t/provider.t ................. ok
t/ref.t ...................... ok
t/scalar.t ................... ok
t/service.t .................. ok
t/skel.t ..................... ok
t/stash-xs-unicode.t ......... ok
t/stash-xs.t ................. ok
t/stash.t .................... ok
t/stashc.t ................... ok
t/stop.t ..................... ok
t/strcat.t ................... ok
t/strict.t ................... ok
t/string.t ................... 1/95 Locale 'Chinese (Simplified)_People's Republ
ic of China.936' may not work well. Some characters in it are not recognized by
Perl.
t/string.t ................... ok
t/switch.t ................... ok
t/table.t .................... ok
t/tags.t ..................... ok
t/template.t ................. ok
t/text.t ..................... ok
t/throw.t .................... ok
t/tiedhash.t ................. ok
t/trace_vars.t ............... ok
t/try.t ...................... ok
t/unicode.t .................. ok
t/url.t ...................... ok
t/vars.t ..................... ok
t/varsv1.t ................... ok
t/view.t ..................... ok
t/vmethods/hash.t ............ ok
t/vmethods/list.t ............ ok
t/vmethods/replace.t ......... ok
t/vmethods/text.t ............ ok
t/while.t .................... ok
t/wrap.t ..................... 1/13 Locale 'Chinese (Simplified)_People's Republ
ic of China.936' may not work well. Some characters in it are not recognized by
Perl.
t/wrap.t ..................... ok
t/wrapper.t .................. ok
t/zz-plugin-cycle.t .......... skipped: Developer test
t/zz-plugin-leak-rt-46691.t .. skipped: Developer test only - set RELEASE_TESTIN
G=1
t/zz-plugin-leak.t ........... skipped: Internal test for developer, add the --d
ev flag to run
t/zz-pmv.t ................... skipped: These aren't the tests you're looking fo
r... move along
t/zz-pod-coverage.t .......... skipped: Author tests not required for installati
on
t/zz-pod-kwalitee.t .......... skipped: Author tests not required for installati
on
t/zz-stash-xs-leak.t ......... skipped: Internal test for developer, add the --d
ev flag to run
t/zz-url2.t .................. skipped: We can't agree on the right joint for th
e URL plugin

Test Summary Report

t/filter.t (Wstat: 0 Tests: 162 Failed: 1)
Failed test: 85
Files=101, Tests=2869, 25 wallclock secs ( 0.36 usr + 0.14 sys = 0.50 CPU)
Result: FAIL
Failed 1/101 test programs. 1/2869 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
ATOOMIC/Template-Toolkit-2.28.tar.gz
C:\Perl64\site\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ATOOMIC/Template-Toolkit-2.28.tar.gz
Failed during this command:
ATOOMIC/Template-Toolkit-2.28.tar.gz : make_test NO
`
it seems test filter.t failed.is this because of my perl version? now my perl version is 5.26.1.please teach me how to fix this.
thank you for your attention.

@atoomic
Copy link
Collaborator

atoomic commented Jan 7, 2019

you are right t/filter.t seems to be the test failing do you have more output from it when run it with verbose option so I can understand the failure?

also note several warnings about your locale setting

Locale 'Chinese (Simplified)_People's Republic of China.936' may not work well. Some characters in it are not recognized by Perl.

wonder if you would have more success by setting the locale to english?

LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8

Depending on the filter error you might also consider installing the module by ignoring this error for now, but I would like the opportunity to understand the failure and fix it. Thanks for your return

@vincentdd
Copy link
Author

here is the complete output , hope this is usefully:

cpan> install Template::Toolkit
Reading 'C:\Perl64\cpan\Metadata'
Database was generated on Tue, 08 Jan 2019 06:29:12 GMT
Running install for module 'Template::Toolkit'
Checksum for C:\Perl64\cpan\sources\authors\id\A\AT\ATOOMIC\Template-Toolkit-2.28.tar.gz ok
Scanning cache C:\Perl64/cpan/build for sizes
............................................--------------------------------DONE
DEL(1/6): C:\Perl64\cpan\build\Test-Warnings-0.026-0
DEL(2/6): C:\Perl64\cpan\build\Test-Warnings-0.026-0.yml
DEL(3/6): C:\Perl64\cpan\build\File-Slurper-0.012-0
DEL(4/6): C:\Perl64\cpan\build\File-Slurper-0.012-0.yml
DEL(5/6): C:\Perl64\cpan\build\Pod-POM-2.01-0
DEL(6/6): C:\Perl64\cpan\build\Pod-POM-2.01-0.yml
Template-Toolkit-2.28/
Template-Toolkit-2.28/bin/
Template-Toolkit-2.28/Changes
Template-Toolkit-2.28/HACKING
Template-Toolkit-2.28/images/
Template-Toolkit-2.28/INSTALL
Template-Toolkit-2.28/lib/
Template-Toolkit-2.28/Makefile.PL
Template-Toolkit-2.28/MANIFEST
Template-Toolkit-2.28/META.json
Template-Toolkit-2.28/META.yml
Template-Toolkit-2.28/parser/
Template-Toolkit-2.28/README
Template-Toolkit-2.28/t/
Template-Toolkit-2.28/testrules.yml
Template-Toolkit-2.28/TODO
Template-Toolkit-2.28/xs/
Template-Toolkit-2.28/xs/Makefile.PL
Template-Toolkit-2.28/xs/MANIFEST
Template-Toolkit-2.28/xs/ppport.h
Template-Toolkit-2.28/xs/README
Template-Toolkit-2.28/xs/Stash.xs
Template-Toolkit-2.28/t/anycase.t
Template-Toolkit-2.28/t/args.t
Template-Toolkit-2.28/t/assert.t
Template-Toolkit-2.28/t/base.t
Template-Toolkit-2.28/t/binop.t
Template-Toolkit-2.28/t/block.t
Template-Toolkit-2.28/t/block_duplicate.t
Template-Toolkit-2.28/t/blocks.t
Template-Toolkit-2.28/t/capture.t
Template-Toolkit-2.28/t/case.t
Template-Toolkit-2.28/t/cgi.t
Template-Toolkit-2.28/t/chomp.t
Template-Toolkit-2.28/t/compile1.t
Template-Toolkit-2.28/t/compile2.t
Template-Toolkit-2.28/t/compile3.t
Template-Toolkit-2.28/t/compile4.t
Template-Toolkit-2.28/t/compile5.t
Template-Toolkit-2.28/t/config.t
Template-Toolkit-2.28/t/constants.t
Template-Toolkit-2.28/t/context.t
Template-Toolkit-2.28/t/datafile.t
Template-Toolkit-2.28/t/date.t
Template-Toolkit-2.28/t/debug.t
Template-Toolkit-2.28/t/directive.t
Template-Toolkit-2.28/t/directry.t
Template-Toolkit-2.28/t/document.t
Template-Toolkit-2.28/t/dumper.t
Template-Toolkit-2.28/t/error.t
Template-Toolkit-2.28/t/evalperl.t
Template-Toolkit-2.28/t/exception.t
Template-Toolkit-2.28/t/factory.t
Template-Toolkit-2.28/t/file.t
Template-Toolkit-2.28/t/fileline.t
Template-Toolkit-2.28/t/filter.t
Template-Toolkit-2.28/t/foreach.t
Template-Toolkit-2.28/t/format.t
Template-Toolkit-2.28/t/html.t
Template-Toolkit-2.28/t/image.t
Template-Toolkit-2.28/t/include.t
Template-Toolkit-2.28/t/iterator.t
Template-Toolkit-2.28/t/leak.t
Template-Toolkit-2.28/t/lib/
Template-Toolkit-2.28/t/list.t
Template-Toolkit-2.28/t/macro.t
Template-Toolkit-2.28/t/math.t
Template-Toolkit-2.28/t/math_rand.t
Template-Toolkit-2.28/t/mtime-zero.t
Template-Toolkit-2.28/t/object.t
Template-Toolkit-2.28/t/outline.t
Template-Toolkit-2.28/t/output.t
Template-Toolkit-2.28/t/parser.t
Template-Toolkit-2.28/t/parser2.t
Template-Toolkit-2.28/t/plugins.t
Template-Toolkit-2.28/t/plusfile.t
Template-Toolkit-2.28/t/pod.t
Template-Toolkit-2.28/t/prefix.t
Template-Toolkit-2.28/t/proc.t
Template-Toolkit-2.28/t/process-relative.t
Template-Toolkit-2.28/t/process.t
Template-Toolkit-2.28/t/process_dir.t
Template-Toolkit-2.28/t/provider.t
Template-Toolkit-2.28/t/README
Template-Toolkit-2.28/t/ref.t
Template-Toolkit-2.28/t/scalar.t
Template-Toolkit-2.28/t/service.t
Template-Toolkit-2.28/t/skel.t
Template-Toolkit-2.28/t/stash-xs-unicode.t
Template-Toolkit-2.28/t/stash-xs.t
Template-Toolkit-2.28/t/stash.t
Template-Toolkit-2.28/t/stashc.t
Template-Toolkit-2.28/t/stop.t
Template-Toolkit-2.28/t/strcat.t
Template-Toolkit-2.28/t/strict.t
Template-Toolkit-2.28/t/string.t
Template-Toolkit-2.28/t/switch.t
Template-Toolkit-2.28/t/table.t
Template-Toolkit-2.28/t/tags.t
Template-Toolkit-2.28/t/template.t
Template-Toolkit-2.28/t/test/
Template-Toolkit-2.28/t/text.t
Template-Toolkit-2.28/t/throw.t
Template-Toolkit-2.28/t/tiedhash.t
Template-Toolkit-2.28/t/trace_vars.t
Template-Toolkit-2.28/t/try.t
Template-Toolkit-2.28/t/unicode.t
Template-Toolkit-2.28/t/url.t
Template-Toolkit-2.28/t/vars.t
Template-Toolkit-2.28/t/varsv1.t
Template-Toolkit-2.28/t/view.t
Template-Toolkit-2.28/t/vmethods/
Template-Toolkit-2.28/t/while.t
Template-Toolkit-2.28/t/wrap.t
Template-Toolkit-2.28/t/wrapper.t
Template-Toolkit-2.28/t/zz-plugin-cycle.t
Template-Toolkit-2.28/t/zz-plugin-leak-rt-46691.t
Template-Toolkit-2.28/t/zz-plugin-leak.t
Template-Toolkit-2.28/t/zz-pmv.t
Template-Toolkit-2.28/t/zz-pod-coverage.t
Template-Toolkit-2.28/t/zz-pod-kwalitee.t
Template-Toolkit-2.28/t/zz-stash-xs-leak.t
Template-Toolkit-2.28/t/zz-url2.t
Template-Toolkit-2.28/t/vmethods/hash.t
Template-Toolkit-2.28/t/vmethods/list.t
Template-Toolkit-2.28/t/vmethods/replace.t
Template-Toolkit-2.28/t/vmethods/text.t
Template-Toolkit-2.28/t/test/dir/
Template-Toolkit-2.28/t/test/lib/
Template-Toolkit-2.28/t/test/plugin/
Template-Toolkit-2.28/t/test/pod/
Template-Toolkit-2.28/t/test/src/
Template-Toolkit-2.28/t/test/tmp/
Template-Toolkit-2.28/t/test/tmp/README
Template-Toolkit-2.28/t/test/src/bar/
Template-Toolkit-2.28/t/test/src/baz
Template-Toolkit-2.28/t/test/src/benchmark
Template-Toolkit-2.28/t/test/src/blam
Template-Toolkit-2.28/t/test/src/complex
Template-Toolkit-2.28/t/test/src/divisionbyzero
Template-Toolkit-2.28/t/test/src/evalperl
Template-Toolkit-2.28/t/test/src/foo
Template-Toolkit-2.28/t/test/src/foobar
Template-Toolkit-2.28/t/test/src/golf
Template-Toolkit-2.28/t/test/src/leak1
Template-Toolkit-2.28/t/test/src/leak2
Template-Toolkit-2.28/t/test/src/metadata
Template-Toolkit-2.28/t/test/src/mywrap
Template-Toolkit-2.28/t/test/src/README
Template-Toolkit-2.28/t/test/src/recurse
Template-Toolkit-2.28/t/test/src/bar/baz
Template-Toolkit-2.28/t/test/src/bar/baz.txt
Template-Toolkit-2.28/t/test/pod/test1.pod
Template-Toolkit-2.28/t/test/plugin/MyPlugs/
Template-Toolkit-2.28/t/test/plugin/MyPlugs/Bar.pm
Template-Toolkit-2.28/t/test/plugin/MyPlugs/Baz.pm
Template-Toolkit-2.28/t/test/plugin/MyPlugs/Foo.pm
Template-Toolkit-2.28/t/test/lib/after
Template-Toolkit-2.28/t/test/lib/badrawperl
Template-Toolkit-2.28/t/test/lib/barfed
Template-Toolkit-2.28/t/test/lib/before
Template-Toolkit-2.28/t/test/lib/blockdef
Template-Toolkit-2.28/t/test/lib/chomp
Template-Toolkit-2.28/t/test/lib/config
Template-Toolkit-2.28/t/test/lib/content
Template-Toolkit-2.28/t/test/lib/default
Template-Toolkit-2.28/t/test/lib/dos_newlines
Template-Toolkit-2.28/t/test/lib/error
Template-Toolkit-2.28/t/test/lib/footer
Template-Toolkit-2.28/t/test/lib/header
Template-Toolkit-2.28/t/test/lib/header.tt2
Template-Toolkit-2.28/t/test/lib/incblock
Template-Toolkit-2.28/t/test/lib/inner
Template-Toolkit-2.28/t/test/lib/menu
Template-Toolkit-2.28/t/test/lib/one/
Template-Toolkit-2.28/t/test/lib/outer
Template-Toolkit-2.28/t/test/lib/process
Template-Toolkit-2.28/t/test/lib/README
Template-Toolkit-2.28/t/test/lib/simple2
Template-Toolkit-2.28/t/test/lib/trimme
Template-Toolkit-2.28/t/test/lib/two/
Template-Toolkit-2.28/t/test/lib/udata1
Template-Toolkit-2.28/t/test/lib/udata2
Template-Toolkit-2.28/t/test/lib/warning
Template-Toolkit-2.28/t/test/lib/two/bar
Template-Toolkit-2.28/t/test/lib/two/foo
Template-Toolkit-2.28/t/test/lib/one/foo
Template-Toolkit-2.28/t/test/dir/file1
Template-Toolkit-2.28/t/test/dir/file2
Template-Toolkit-2.28/t/test/dir/sub_one/
Template-Toolkit-2.28/t/test/dir/sub_two/
Template-Toolkit-2.28/t/test/dir/xyzfile
Template-Toolkit-2.28/t/test/dir/sub_two/waz.html
Template-Toolkit-2.28/t/test/dir/sub_two/wiz.html
Template-Toolkit-2.28/t/test/dir/sub_one/bar
Template-Toolkit-2.28/t/test/dir/sub_one/foo
Template-Toolkit-2.28/t/lib/Template/
Template-Toolkit-2.28/t/lib/Template/Plugin/
Template-Toolkit-2.28/t/lib/Template/Plugin/ProcBar.pm
Template-Toolkit-2.28/t/lib/Template/Plugin/ProcFoo.pm
Template-Toolkit-2.28/t/lib/Template/Plugin/Simple.pm
Template-Toolkit-2.28/parser/Grammar.pm.skel
Template-Toolkit-2.28/parser/Parser.yp
Template-Toolkit-2.28/parser/README
Template-Toolkit-2.28/parser/yc
Template-Toolkit-2.28/lib/Template/
Template-Toolkit-2.28/lib/Template.pm
Template-Toolkit-2.28/lib/Template/Base.pm
Template-Toolkit-2.28/lib/Template/Config.pm
Template-Toolkit-2.28/lib/Template/Constants.pm
Template-Toolkit-2.28/lib/Template/Context.pm
Template-Toolkit-2.28/lib/Template/Directive.pm
Template-Toolkit-2.28/lib/Template/Document.pm
Template-Toolkit-2.28/lib/Template/Exception.pm
Template-Toolkit-2.28/lib/Template/FAQ.pod
Template-Toolkit-2.28/lib/Template/Filters.pm
Template-Toolkit-2.28/lib/Template/Grammar.pm
Template-Toolkit-2.28/lib/Template/Iterator.pm
Template-Toolkit-2.28/lib/Template/Manual/
Template-Toolkit-2.28/lib/Template/Manual.pod
Template-Toolkit-2.28/lib/Template/Modules.pod
Template-Toolkit-2.28/lib/Template/Namespace/
Template-Toolkit-2.28/lib/Template/Parser.pm
Template-Toolkit-2.28/lib/Template/Plugin/
Template-Toolkit-2.28/lib/Template/Plugin.pm
Template-Toolkit-2.28/lib/Template/Plugins.pm
Template-Toolkit-2.28/lib/Template/Provider.pm
Template-Toolkit-2.28/lib/Template/Service.pm
Template-Toolkit-2.28/lib/Template/Stash/
Template-Toolkit-2.28/lib/Template/Stash.pm
Template-Toolkit-2.28/lib/Template/Test.pm
Template-Toolkit-2.28/lib/Template/Toolkit.pm
Template-Toolkit-2.28/lib/Template/Tools/
Template-Toolkit-2.28/lib/Template/Tools.pod
Template-Toolkit-2.28/lib/Template/Tutorial/
Template-Toolkit-2.28/lib/Template/Tutorial.pod
Template-Toolkit-2.28/lib/Template/View.pm
Template-Toolkit-2.28/lib/Template/VMethods.pm
Template-Toolkit-2.28/lib/Template/Tutorial/Datafile.pod
Template-Toolkit-2.28/lib/Template/Tutorial/Web.pod
Template-Toolkit-2.28/lib/Template/Tools/tpage.pod
Template-Toolkit-2.28/lib/Template/Tools/ttree.pod
Template-Toolkit-2.28/lib/Template/Stash/Context.pm
Template-Toolkit-2.28/lib/Template/Stash/XS.pm
Template-Toolkit-2.28/lib/Template/Plugin/Assert.pm
Template-Toolkit-2.28/lib/Template/Plugin/CGI.pm
Template-Toolkit-2.28/lib/Template/Plugin/Datafile.pm
Template-Toolkit-2.28/lib/Template/Plugin/Date.pm
Template-Toolkit-2.28/lib/Template/Plugin/Directory.pm
Template-Toolkit-2.28/lib/Template/Plugin/Dumper.pm
Template-Toolkit-2.28/lib/Template/Plugin/File.pm
Template-Toolkit-2.28/lib/Template/Plugin/Filter.pm
Template-Toolkit-2.28/lib/Template/Plugin/Format.pm
Template-Toolkit-2.28/lib/Template/Plugin/HTML.pm
Template-Toolkit-2.28/lib/Template/Plugin/Image.pm
Template-Toolkit-2.28/lib/Template/Plugin/Iterator.pm
Template-Toolkit-2.28/lib/Template/Plugin/Math.pm
Template-Toolkit-2.28/lib/Template/Plugin/Pod.pm
Template-Toolkit-2.28/lib/Template/Plugin/Procedural.pm
Template-Toolkit-2.28/lib/Template/Plugin/Scalar.pm
Template-Toolkit-2.28/lib/Template/Plugin/String.pm
Template-Toolkit-2.28/lib/Template/Plugin/Table.pm
Template-Toolkit-2.28/lib/Template/Plugin/URL.pm
Template-Toolkit-2.28/lib/Template/Plugin/View.pm
Template-Toolkit-2.28/lib/Template/Plugin/Wrap.pm
Template-Toolkit-2.28/lib/Template/Namespace/Constants.pm
Template-Toolkit-2.28/lib/Template/Manual/Config.pod
Template-Toolkit-2.28/lib/Template/Manual/Credits.pod
Template-Toolkit-2.28/lib/Template/Manual/Directives.pod
Template-Toolkit-2.28/lib/Template/Manual/Filters.pod
Template-Toolkit-2.28/lib/Template/Manual/Internals.pod
Template-Toolkit-2.28/lib/Template/Manual/Intro.pod
Template-Toolkit-2.28/lib/Template/Manual/Plugins.pod
Template-Toolkit-2.28/lib/Template/Manual/Syntax.pod
Template-Toolkit-2.28/lib/Template/Manual/Variables.pod
Template-Toolkit-2.28/lib/Template/Manual/Views.pod
Template-Toolkit-2.28/lib/Template/Manual/VMethods.pod
Template-Toolkit-2.28/images/tt2power.gif
Template-Toolkit-2.28/images/ttdotorg.gif
Template-Toolkit-2.28/bin/README
Template-Toolkit-2.28/bin/tpage
Template-Toolkit-2.28/bin/tt-bench.pl
Template-Toolkit-2.28/bin/tt2inst
Template-Toolkit-2.28/bin/ttree
Configuring A/AT/ATOOMIC/Template-Toolkit-2.28.tar.gz with Makefile.PL

                Template Toolkit Version 2.28
                =============================

Using Win32 defaults.
Run 'perl Makefile.PL TT_HELP' for a summary of options.

Template::Stash::XS

The Template::Stash module is a core part of the Template Toolkit,
implementing the magic for accessing data using the dot notation.

There is a high speed version, Template::Stash::XS, written in C.
This makes the Template Toolkit run about twice as fast as when using
the regular Template::Stash written in Perl. If you've got a C
compiler on your system then you can elect to have the XS Stash built.
You can also specify that you want to use the XS Stash by default.

Note that as of version 2.15 the XS Stash now supports access to tied
hashes and arrays.

See 'perldoc Template::Config' for further details.

Do you want to build the XS Stash module? [y] y
Do you want to use the XS Stash by default? [y] y

Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing MYMETA.yml and MYMETA.json
Generating a dmake-style Makefile
Writing Makefile for Template
Writing MYMETA.yml and MYMETA.json

Configuration complete. You should now run 'C:\Perl64\site\bin\dmake.exe', 'C:\Perl64\site\bin\dmake.exe test' and
then 'C:\Perl64\site\bin\dmake.exe install'. See the README file for further information.
ATOOMIC/Template-Toolkit-2.28.tar.gz
C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site -- OK
Running make for A/AT/ATOOMIC/Template-Toolkit-2.28.tar.gz
cp lib/Template/FAQ.pod blib\lib\Template\FAQ.pod
cp lib/Template/Directive.pm blib\lib\Template\Directive.pm
cp lib/Template/Manual/Filters.pod blib\lib\Template\Manual\Filters.pod
cp lib/Template/Iterator.pm blib\lib\Template\Iterator.pm
cp lib/Template.pm blib\lib\Template.pm
cp lib/Template/Manual/Credits.pod blib\lib\Template\Manual\Credits.pod
cp lib/Template/Document.pm blib\lib\Template\Document.pm
cp lib/Template/Grammar.pm blib\lib\Template\Grammar.pm
cp lib/Template/Manual.pod blib\lib\Template\Manual.pod
cp lib/Template/Constants.pm blib\lib\Template\Constants.pm
cp lib/Template/Manual/Intro.pod blib\lib\Template\Manual\Intro.pod
cp lib/Template/Exception.pm blib\lib\Template\Exception.pm
cp lib/Template/Filters.pm blib\lib\Template\Filters.pm
cp lib/Template/Manual/Directives.pod blib\lib\Template\Manual\Directives.pod
cp lib/Template/Manual/Syntax.pod blib\lib\Template\Manual\Syntax.pod
cp lib/Template/Manual/Plugins.pod blib\lib\Template\Manual\Plugins.pod
cp lib/Template/Config.pm blib\lib\Template\Config.pm
cp lib/Template/Manual/Config.pod blib\lib\Template\Manual\Config.pod
cp lib/Template/Base.pm blib\lib\Template\Base.pm
cp lib/Template/Context.pm blib\lib\Template\Context.pm
cp lib/Template/Manual/Internals.pod blib\lib\Template\Manual\Internals.pod
cp lib/Template/Plugin.pm blib\lib\Template\Plugin.pm
cp lib/Template/Plugin/Filter.pm blib\lib\Template\Plugin\Filter.pm
cp lib/Template/Plugin/HTML.pm blib\lib\Template\Plugin\HTML.pm
cp lib/Template/Plugin/CGI.pm blib\lib\Template\Plugin\CGI.pm
cp lib/Template/Plugin/File.pm blib\lib\Template\Plugin\File.pm
cp lib/Template/Namespace/Constants.pm blib\lib\Template\Namespace\Constants.pm
cp lib/Template/Plugin/Dumper.pm blib\lib\Template\Plugin\Dumper.pm
cp lib/Template/Manual/VMethods.pod blib\lib\Template\Manual\VMethods.pod
cp lib/Template/Plugin/Datafile.pm blib\lib\Template\Plugin\Datafile.pm
cp lib/Template/Plugin/Format.pm blib\lib\Template\Plugin\Format.pm
cp lib/Template/Plugin/Iterator.pm blib\lib\Template\Plugin\Iterator.pm
cp lib/Template/Manual/Views.pod blib\lib\Template\Manual\Views.pod
cp lib/Template/Modules.pod blib\lib\Template\Modules.pod
cp lib/Template/Plugin/Directory.pm blib\lib\Template\Plugin\Directory.pm
cp lib/Template/Manual/Variables.pod blib\lib\Template\Manual\Variables.pod
cp lib/Template/Plugin/Image.pm blib\lib\Template\Plugin\Image.pm
cp lib/Template/Plugin/Assert.pm blib\lib\Template\Plugin\Assert.pm
cp lib/Template/Plugin/Date.pm blib\lib\Template\Plugin\Date.pm
cp lib/Template/Parser.pm blib\lib\Template\Parser.pm
cp lib/Template/Plugins.pm blib\lib\Template\Plugins.pm
cp lib/Template/Plugin/View.pm blib\lib\Template\Plugin\View.pm
cp lib/Template/Stash.pm blib\lib\Template\Stash.pm
cp lib/Template/Plugin/Procedural.pm blib\lib\Template\Plugin\Procedural.pm
cp lib/Template/Plugin/Wrap.pm blib\lib\Template\Plugin\Wrap.pm
cp lib/Template/Plugin/Pod.pm blib\lib\Template\Plugin\Pod.pm
cp lib/Template/Service.pm blib\lib\Template\Service.pm
cp lib/Template/Test.pm blib\lib\Template\Test.pm
cp lib/Template/Plugin/Table.pm blib\lib\Template\Plugin\Table.pm
cp lib/Template/Plugin/Scalar.pm blib\lib\Template\Plugin\Scalar.pm
cp lib/Template/Tools/tpage.pod blib\lib\Template\Tools\tpage.pod
cp lib/Template/Tools.pod blib\lib\Template\Tools.pod
cp lib/Template/Plugin/String.pm blib\lib\Template\Plugin\String.pm
cp lib/Template/Plugin/Math.pm blib\lib\Template\Plugin\Math.pm
cp lib/Template/Plugin/URL.pm blib\lib\Template\Plugin\URL.pm
cp lib/Template/Provider.pm blib\lib\Template\Provider.pm
cp lib/Template/Stash/Context.pm blib\lib\Template\Stash\Context.pm
cp lib/Template/Tutorial.pod blib\lib\Template\Tutorial.pod
cp lib/Template/Toolkit.pm blib\lib\Template\Toolkit.pm
cp lib/Template/Tools/ttree.pod blib\lib\Template\Tools\ttree.pod
cp lib/Template/Stash/XS.pm blib\lib\Template\Stash\XS.pm
cp lib/Template/View.pm blib\lib\Template\View.pm
cp lib/Template/VMethods.pm blib\lib\Template\VMethods.pm
cp lib/Template/Tutorial/Datafile.pod blib\lib\Template\Tutorial\Datafile.pod
cp lib/Template/Tutorial/Web.pod blib\lib\Template\Tutorial\Web.pod
Running Mkbootstrap for XS ()
"C:\Perl64\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "XS.bs"
"C:\Perl64\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs ..\blib\arch\auto\Template\Stash\XS\XS.bs 644
"C:\Perl64\bin\perl.exe" "C:\Perl64\lib\ExtUtils\xsubpp" -typemap C:\Perl64\lib\ExtUtils\typemap Stash.xs > Stash.xsc
"C:\Perl64\bin\perl.exe" -MExtUtils::Command -e mv -- Stash.xsc Stash.c
C:\Perl64\site\bin\gcc.exe -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DP
ERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION="2.28" -DXS_
VERSION="2.28" "-IC:\Perl64\lib\CORE" Stash.c
"C:\Perl64\bin\perl.exe" -MExtUtils::Mksymlists
-e "Mksymlists('NAME'=>"Template::Stash::XS", 'DLBASE' => 'XS', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => {
}, 'DL_VARS' => []);"
C:\Perl64\site\bin\g++.exe XS.def -o ..\blib\arch\auto\Template\Stash\XS\XS.dll -mdll -s -static-libgcc -static-libstdc++ -L"
C:\Perl64\lib\CORE" -L"C:\MinGW\x86_64-w64-mingw32\lib" Stash.o "C:\Perl64\lib\CORE\libperl526.a" -lmoldname -lkernel32 -lu
ser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversio
n -lodbc32 -lodbccp32 -lcomctl32 -Wl,--enable-auto-image-base
"C:\Perl64\bin\perl.exe" -MExtUtils::Command -e chmod -- 755 ..\blib\arch\auto\Template\Stash\XS\XS.dll
"C:\Perl64\bin\perl.exe" -MExtUtils::Command -e cp -- bin/tpage blib\script\tpage
pl2bat.bat blib\script\tpage
"C:\Perl64\bin\perl.exe" -MExtUtils::Command -e cp -- bin/ttree blib\script\ttree
pl2bat.bat blib\script\ttree
ATOOMIC/Template-Toolkit-2.28.tar.gz
C:\Perl64\site\bin\dmake.exe -- OK
Running make test
"C:\Perl64\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs ..\blib\arch\auto\Template\Stash\XS\XS.bs 644
"C:\Perl64\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs ..\blib\arch\auto\Template\Stash\XS\XS.bs 644
'No tests defined for Template::Stash::XS extension.'
"C:\Perl64\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'b
lib\lib', 'blib\arch')" t/anycase.t t/args.t t/assert.t t/base.t t/binop.t t/block.t t/block_duplicate.t t/blocks.t t/capture
.t t/case.t t/cgi.t t/chomp.t t/compile1.t t/compile2.t t/compile3.t t/compile4.t t/compile5.t t/config.t t/constants.t t/con
text.t t/datafile.t t/date.t t/debug.t t/directive.t t/directry.t t/document.t t/dumper.t t/error.t t/evalperl.t t/exception.
t t/factory.t t/file.t t/fileline.t t/filter.t t/foreach.t t/format.t t/html.t t/image.t t/include.t t/iterator.t t/leak.t t/
list.t t/macro.t t/math.t t/math_rand.t t/mtime-zero.t t/object.t t/outline.t t/output.t t/parser.t t/parser2.t t/plugins.t t
/plusfile.t t/pod.t t/prefix.t t/proc.t t/process-relative.t t/process.t t/process_dir.t t/provider.t t/ref.t t/scalar.t t/se
rvice.t t/skel.t t/stash-xs-unicode.t t/stash-xs.t t/stash.t t/stashc.t t/stop.t t/strcat.t t/strict.t t/string.t t/switch.t
t/table.t t/tags.t t/template.t t/text.t t/throw.t t/tiedhash.t t/trace_vars.t t/try.t t/unicode.t t/url.t t/vars.t t/varsv1.
t t/view.t t/while.t t/wrap.t t/wrapper.t t/zz-plugin-cycle.t t/zz-plugin-leak-rt-46691.t t/zz-plugin-leak.t t/zz-pmv.t t/zz-
pod-coverage.t t/zz-pod-kwalitee.t t/zz-stash-xs-leak.t t/zz-url2.t t/vmethods/hash.t t/vmethods/list.t t/vmethods/replace.t
t/vmethods/text.t
t/compile1.t ................. ok
t/compile2.t ................. ok
t/compile3.t ................. ok
t/compile4.t ................. ok
t/compile5.t ................. ok
t/anycase.t .................. ok
t/args.t ..................... ok
t/assert.t ................... ok
t/base.t ..................... ok
t/binop.t .................... ok
t/block.t .................... ok
t/block_duplicate.t .......... ok
t/blocks.t ................... ok
t/capture.t .................. ok
t/case.t ..................... ok
t/cgi.t ...................... ok
t/chomp.t .................... ok
t/config.t ................... ok
t/constants.t ................ ok
t/context.t .................. ok
t/datafile.t ................. ok
t/date.t ..................... ok
t/debug.t .................... ok
t/directive.t ................ ok
t/directry.t ................. skipped: skipping tests on MS Win 32 platform
t/document.t ................. ok
t/dumper.t ................... ok
t/error.t .................... ok
t/evalperl.t ................. ok
t/exception.t ................ ok
t/factory.t .................. ok
t/file.t ..................... skipped: skipping tests on MS Win 32 platform
t/fileline.t ................. ok
t/filter.t ................... Failed 1/162 subtests
t/foreach.t .................. ok
t/format.t ................... ok
t/html.t ..................... ok
t/image.t .................... skipped: Neither Image::Info nor Image::Size installed
t/include.t .................. ok
t/iterator.t ................. ok
t/leak.t ..................... ok
t/list.t ..................... ok
t/macro.t .................... ok
t/math.t ..................... ok
t/math_rand.t ................ ok
t/mtime-zero.t ............... ok
t/object.t ................... ok
t/outline.t .................. ok
t/output.t ................... ok
t/parser.t ................... 1/37 Locale 'Chinese (Simplified)_People's Republic of China.936' may not work well. Some cha
racters in it are not recognized by Perl.
t/parser.t ................... ok
t/parser2.t .................. ok
t/plugins.t .................. ok
t/plusfile.t ................. ok
t/pod.t ...................... 1/15 Locale 'Chinese (Simplified)_People's Republic of China.936' may not work well. Some cha
racters in it are not recognized by Perl.
t/pod.t ...................... ok
t/prefix.t ................... ok
t/proc.t ..................... ok
t/process-relative.t ......... ok
t/process.t .................. ok
t/process_dir.t .............. ok
t/provider.t ................. 47/58 Locale 'Chinese (Simplified)_People's Republic of China.936' may not work well. Some ch
aracters in it are not recognized by Perl.
t/provider.t ................. ok
t/ref.t ...................... ok
t/scalar.t ................... ok
t/service.t .................. ok
t/skel.t ..................... ok
t/stash-xs-unicode.t ......... ok
t/stash-xs.t ................. ok
t/stash.t .................... ok
t/stashc.t ................... ok
t/stop.t ..................... ok
t/strcat.t ................... ok
t/strict.t ................... ok
t/string.t ................... 1/95 Locale 'Chinese (Simplified)_People's Republic of China.936' may not work well. Some cha
racters in it are not recognized by Perl.
t/string.t ................... ok
t/switch.t ................... ok
t/table.t .................... ok
t/tags.t ..................... ok
t/template.t ................. ok
t/text.t ..................... ok
t/throw.t .................... ok
t/tiedhash.t ................. ok
t/trace_vars.t ............... ok
t/try.t ...................... ok
t/unicode.t .................. ok
t/url.t ...................... ok
t/vars.t ..................... ok
t/varsv1.t ................... ok
t/view.t ..................... ok
t/vmethods/hash.t ............ ok
t/vmethods/list.t ............ ok
t/vmethods/replace.t ......... ok
t/vmethods/text.t ............ ok
t/while.t .................... ok
t/wrap.t ..................... 1/13 Locale 'Chinese (Simplified)_People's Republic of China.936' may not work well. Some cha
racters in it are not recognized by Perl.
t/wrap.t ..................... ok
t/wrapper.t .................. ok
t/zz-plugin-cycle.t .......... skipped: Developer test
t/zz-plugin-leak-rt-46691.t .. skipped: Developer test only - set RELEASE_TESTING=1
t/zz-plugin-leak.t ........... skipped: Internal test for developer, add the --dev flag to run
t/zz-pmv.t ................... skipped: These aren't the tests you're looking for... move along
t/zz-pod-coverage.t .......... skipped: Author tests not required for installation
t/zz-pod-kwalitee.t .......... skipped: Author tests not required for installation
t/zz-stash-xs-leak.t ......... skipped: Internal test for developer, add the --dev flag to run
t/zz-url2.t .................. skipped: We can't agree on the right joint for the URL plugin

Test Summary Report

t/filter.t (Wstat: 0 Tests: 162 Failed: 1)
Failed test: 85
Files=101, Tests=2866, 25 wallclock secs ( 0.25 usr + 0.11 sys = 0.36 CPU)
Result: FAIL
Failed 1/101 test programs. 1/2866 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
ATOOMIC/Template-Toolkit-2.28.tar.gz
C:\Perl64\site\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ATOOMIC/Template-Toolkit-2.28.tar.gz
Failed during this command:
ATOOMIC/Template-Toolkit-2.28.tar.gz : make_test NO

@vincentdd
Copy link
Author

I think I just found the reason. Today i tried to install Template2 by Strawberry Perl, than this error was gone.this error only appear when install Template2 by ActivePerl . I think maybe there is something wrong with the environment or dependents witch ActivePerl provide.There is nothing wrong with your code. thank you for your help. :)

@whosgonna
Copy link

Not sure if it's related or not, but installation of Template was failing for me with:

Template process failed: undef error - Undefined subroutine CGI::scalar

I updated CGI from v 4.09 to v4.40, and then Template installed successfully. Solution may be as simple as updating the dependency requirements.

@Richardxm2062
Copy link

Richardxm2062 commented Apr 8, 2019

Unfortunately I cannot install this package either. Maybe the ActivePerl causes the problem. But I don't want to uninstall the ActivePerl then install the Strawberry Perl. It's so troublesome for me, I just want to run the example code!

@jmcm54
Copy link

jmcm54 commented Apr 21, 2019

I also had an issue with installing Template-Toolkit-2.28 failing when testing CGI as above.
See log extract below.
The issue seems to be an undefined subroutine "CGI::scalar" which I could not find in CGI.pm.
I suspect the failure to be in the CGI.t script, but am not sufficiently familiar with these scripts to
detect it. I was able to successfully install using the "--force" command as suggested in the log.

John

[log_extract]
t/capture.t .................. ok
t/case.t ..................... ok
Template process failed: undef error - Undefined subroutine CGI::scalar
at input text line 3.

FAILED 4: - template text 1 process FAILED: [% USE scalar -%]\n[% USE cgi = C...
FAILED 5: - (obviously did not match expected)
Template process failed: undef error - Undefined subroutine CGI::scalar
at input text line 2.

FAILED 6: - template text 2 process FAILED: [% USE scalar -%]\nname: [% globa...
FAILED 7: - (obviously did not match expected)
Template process failed: undef error - Undefined subroutine CGI::scalar
at input text line 3.

FAILED 8: - template text 3 process FAILED: [% USE scalar -%]\n[% FOREACH key...
FAILED 9: - (obviously did not match expected)
Template process failed: undef error - Undefined subroutine CGI::scalar
at input text line 3.

FAILED 10: - template text 4 process FAILED: [% USE scalar -%]\n[% FOREACH key...
FAILED 11: - (obviously did not match expected)
t/cgi.t ......................
Failed 8/15 subtests
t/chomp.t .................... ok
t/config.t ................... ok
...

Test Summary Report

t/cgi.t (Wstat: 0 Tests: 15 Failed: 8)
Failed tests: 4-11
Files=101, Tests=2866, 102 wallclock secs ( 2.89 usr + 1.61 sys = 4.49 CPU)
Result: FAIL
Failed 1/101 test programs. 8/2866 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
-> FAIL Installing Template::Toolkit failed.
See C:\Users\John.cpanm\work\1555872976.2252\build.log for details.
Retry with --force to force install it.
[/log_extract]

@jmcm54
Copy link

jmcm54 commented Apr 21, 2019

PS. I am using ActivePerl V5.22 with CGI.pm V4.22 on Win 7 32bit.
John

@toddr
Copy link
Collaborator

toddr commented Dec 20, 2019

The tests are known to be unstable and it's not clear if they have ever been stable on windows. I suspect you can install it and it'll be fine. See #222 for further progress.

@toddr
Copy link
Collaborator

toddr commented Jun 9, 2022

Template::Plugin::CGI is no longer a part of this distro, so this problem should no longer occur in new releases of Template.

@toddr toddr closed this as completed Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants