-
Notifications
You must be signed in to change notification settings - Fork 94
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
Comments
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 Enabling AppVeyor to smoke the distro on Windows will help detect issues. |
first attempt to enable appveyor |
thank you :) |
I have installed Test::LeakTrace. then i begin trying to install Template-Toolkit-2.28. then i come up with a mistake like this : Test Summary Reportt/filter.t (Wstat: 0 Tests: 162 Failed: 1) |
you are right also note several warnings about your locale setting
wonder if you would have more success by setting the locale to english?
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 |
here is the complete output , hope this is usefully: cpan> install Template::Toolkit
Using Win32 defaults. Template::Stash::XSThe Template::Stash module is a core part of the Template Toolkit, There is a high speed version, Template::Stash::XS, written in C. Note that as of version 2.15 the XS Stash now supports access to tied See 'perldoc Template::Config' for further details. Do you want to build the XS Stash module? [y] y Checking if your kit is complete... Configuration complete. You should now run 'C:\Perl64\site\bin\dmake.exe', 'C:\Perl64\site\bin\dmake.exe test' and Test Summary Reportt/filter.t (Wstat: 0 Tests: 162 Failed: 1) |
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. :) |
Not sure if it's related or not, but installation of Template was failing for me with:
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. |
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! |
I also had an issue with installing Template-Toolkit-2.28 failing when testing CGI as above. John [log_extract] FAILED 4: - template text 1 process FAILED: [% USE scalar -%]\n[% USE cgi = C... FAILED 6: - template text 2 process FAILED: [% USE scalar -%]\nname: [% globa... FAILED 8: - template text 3 process FAILED: [% USE scalar -%]\n[% FOREACH key... FAILED 10: - template text 4 process FAILED: [% USE scalar -%]\n[% FOREACH key... Test Summary Reportt/cgi.t (Wstat: 0 Tests: 15 Failed: 8) |
PS. I am using ActivePerl V5.22 with CGI.pm V4.22 on Win 7 32bit. |
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. |
Template::Plugin::CGI is no longer a part of this distro, so this problem should no longer occur in new releases of Template. |
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
The text was updated successfully, but these errors were encountered: