Click here to get back home

install HTML::Template - Problem reading cache file / Bad file number

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
install HTML::Template - Problem reading cache file / Bad file number bettyann 07-24-2004
Posted by bettyann on July 24, 2004, 7:55 pm
Please log in for more thread options
i get the following error when i try to install HTML::Template to my
local space, ie, not as root:

+----------------------------
% perl -MCPAN -e 'install HTML::Template'
CPAN: Storable loaded ok
Going to read /home/bettyann/.cpan/Metadata
Database was generated on Sat, 24 Jul 2004 04:11:44 GMT
Running install for module HTML::Template
Running make for S/SA/SAMTREGAR/HTML-Template-2.7.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for
/home/bettyann/.cpan/sources/authors/id/S/SA/SAMTREGAR/HTML-Template-2.7.tar.gz
ok
Scanning cache /home/bettyann/.cpan/build for sizes
x HTML-Template-2.7, 0 bytes, 0 tape blocks
x HTML-Template-2.7/templates, 0 bytes, 0 tape blocks
[snip]
x HTML-Template-2.7/Template.pm, 115408 bytes, 226 tape blocks
x HTML-Template-2.7/ARTISTIC, 6111 bytes, 12 tape blocks

CPAN.pm: Going to build S/SA/SAMTREGAR/HTML-Template-2.7.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for HTML::Template
cp Template.pm blib/lib/HTML/Template.pm
Manifying blib/man3/HTML::Template.3
/usr/local/bin/gmake -j3 -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/99-old-test-pl....ok 37/0HTML::Template::new() - Problem reading
cache file blib/temp_cache_dir/c2/97ba276ecd19a94dd2dbfadf4669ec
(file_cache => 1) : can't get shared lock on
blib/temp_cache_dir/c2/97ba276ecd19a94dd2dbfadf4669ec: Bad file number
at /home/bettyann/.cpan/build/HTML-Template-2.7/blib/lib/HTML/Template.pm
line 1343
at t/99-old-test-pl.t line 500
# Looks like your test died just after 37.
t/99-old-test-pl....dubious
Test returned status 255 (wstat 65280, 0xff00)
after all the subtests completed successfully
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/99-old-test-pl.t 255 65280 37 0 0.00% ??
2 subtests skipped.
Failed 1/1 test scripts, 0.00% okay. 0/37 subtests failed, 100.00%
okay.
gmake: *** [test_dynamic] Error 2
/usr/local/bin/gmake test -- NOT OK
Running make install
make test had returned bad status, won't install without force
+----------------------------

i have installed six other modules with success so installing to my
local space works.

when i look at file blib/temp_cache_dir/c2/97ba276ecd19a94dd2dbfadf4669ec,
it seems to have some garbage in it, ie, it is not all ascii text as i
would expect an .html file to be:

% cat ./HTML-Template-2.7/blib/temp_cache_dir/c2/97ba276ecd19a94dd2dbfadf4669ec
pst0432:??HTML::Template::VAR adjective
F<HTML>
<HEAD>
<TITLE>
Simple Template
</TITLE>

any help with this problem is greatly appreciated. thanks. -bettyann


Similar ThreadsPosted
Reading contents of an excel file from a test file May 15, 2007, 2:49 am
file upload, multipart form, and cgi::cache April 21, 2006, 7:01 am
IIS + Cache + W2003 + HTML header problem May 8, 2006, 8:24 am
Increase file reading efficiency March 19, 2008, 1:26 pm
I want an perl module for conver large html page file to multi little pages November 14, 2004, 3:02 am
A do-file location: how the code inside that do-file find it? January 20, 2008, 12:32 am
Problem with CPAN and tar file headers May 16, 2007, 4:57 am
Problem Parsing Huge XML file using XML::Twig April 23, 2007, 10:24 pm
HTML::Template March 5, 2008, 2:40 pm
Problem printing a file uing Win32::Printer September 30, 2006, 3:36 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap