Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 92918
Status: rejected
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: pause [...] tlinx.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.25
Fixed in: (no value)



Subject: Module doesn't build under cpan due to questions
Cannot build module under cpan due to fact that cpan is not interactive and does not take defaults. Apparently, you need to timeout your own input and apply a default, since given an exit code of '9', it might be that cpan does a kill -9 on programs that hang. Example: Ishtar:law> cpan -i Template::Toolkit CPAN: Storable loaded ok (v2.45) Reading '/home/CPAN-ishtar-build-cache/Metadata' Database was generated on Mon, 10 Feb 2014 19:06:19 GMT Warning: Cannot install Template::Toolkit, don't know what it is. Try the command i /Template::Toolkit/ to find objects with matching identifiers. CPAN: Time::HiRes loaded ok (v1.9726) Ishtar:law> cpan -i Template CPAN: Storable loaded ok (v2.45) Reading '/home/CPAN-ishtar-build-cache/Metadata' Database was generated on Mon, 10 Feb 2014 19:06:19 GMT Running install for module 'Template' Running make for A/AB/ABW/Template-Toolkit-2.25.tar.gz CPAN: Digest::SHA loaded ok (v5.85) Checksum for ok CPAN: Compress::Zlib loaded ok (v2.063) CPAN: File::Temp loaded ok (v0.2304) CPAN: Parse::CPAN::Meta loaded ok (v1.4409) CPAN: CPAN::Meta loaded ok (v2.133380) CPAN: Module::CoreList loaded ok (v3.04) CPAN.pm: Building A/AB/ABW/Template-Toolkit-2.25.tar.gz CPAN: CPAN::Reporter loaded ok (v1.2010) Template Toolkit Version 2.25 ============================= Using Unix defaults. Run 'perl Makefile.PL TT_HELP' for a summary of options. The Template Toolkit requires that the AppConfig module (version 1.56 or later) first be installed. This is used by the 'ttree' program for reading command line options and configuration files. It is available from CPAN: http://www.cpan.org/authors/Andy_Wardley/ 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. [NOTE -- none of the input I typed in "interactively" is taken for input. CPAN turns off user input ability at this point. -- you can see all the "answers I typed in " at the end of the failed make at the command problem where they were finally read...] Do you want to build the XS Stash module? [y] y n hello? broken still waiting (/home/perl/perl-5.16.3/bin/perl Makefile.PL exited with 9) CPAN::Reporter: test results were not valid, Command interrupted. No 'Makefile' createdCPAN: YAML loaded ok (v0.88) ABW/Template-Toolkit-2.25.tar.gz /home/perl/perl-5.16.3/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read metadata file. Falling back to other methods to determine prerequisites Ishtar:law> y -bash: y: command not found Ishtar:law> n -bash: n: command not found Ishtar:law> hello? -bash: hello?: command not found Ishtar:law> broken -bash: broken: command not found Ishtar:law> still waiting -bash: still: command not found Ishtar:law>
Your CPAN installation is broken. TT does accept configuration options via the CPAN module. Try re-installing CPAN and Bundle::CPAN.
On Tue Feb 11 02:26:26 2014, ABW wrote: Show quoted text
> Your CPAN installation is broken.
---- Seems like like it's been broken for 5 years now -- and not just for me: #62310: Hangs on ptee