Click here to get back home

Does anyone knows how to install the Time::HiRes Module?

 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
Does anyone knows how to install the Time::HiRes Module? netnews.agilent.com 02-16-2005
Posted by netnews.agilent.com on February 16, 2005, 6:22 pm
Please log in for more thread options


Hi,

I've installed Active Perl 5.6.1.638 for MSWin32-x86. Then I
tried to install the 'Time::HiRes' Package, but encounter following
error:
"Error installing package 'Time-HiRes': Read a PPD for 'Time-HiRes',
but it is not intended for this build of Perl(MSWin32-x86-multi-thread)"

Does anyone know how to get it fixed?

Thanks,




Posted by Matt Mitchell on February 16, 2005, 11:13 am
Please log in for more thread options



> Hi,
>
> I've installed Active Perl 5.6.1.638 for MSWin32-x86. Then I
> tried to install the 'Time::HiRes' Package, but encounter following
> error:
> "Error installing package 'Time-HiRes': Read a PPD for 'Time-HiRes',
> but it is not intended for this build of Perl(MSWin32-x86-multi-thread)"
>

Looks like it doesn't work on Windows...





Posted by Peter J. Acklam on February 16, 2005, 9:23 pm
Please log in for more thread options



> I've installed Active Perl 5.6.1.638 for MSWin32-x86. Then I
> tried to install the 'Time::HiRes' Package, but encounter following
> error:
> "Error installing package 'Time-HiRes': Read a PPD for 'Time-HiRes',
> but it is not intended for this build of Perl(MSWin32-x86-multi-thread)"
>
> Does anyone know how to get it fixed?

Well, it works fine with Cygwin, even installing a new version in
the cpan shell works flawlessly. I haven't regretted once that I
threw out ActivePerl and installed Cygwin perl.

Peter

--
#!/local/bin/perl5 -wp -*- mode: cperl; coding: iso-8859-1; -*-
# matlab comment stripper (strips comments from Matlab m-files)
s/^((?:(?:[])}w.]'+|[^'%])+|'[^'n]*(?:''[^'n]*)*')*).*/$1/x;


Posted by Randy Kobes on February 17, 2005, 10:29 am
Please log in for more thread options


netnews.agilent.com wrote:
> Hi,
>
> I've installed Active Perl 5.6.1.638 for MSWin32-x86. Then I
> tried to install the 'Time::HiRes' Package, but encounter following
> error:
> "Error installing package 'Time-HiRes': Read a PPD for 'Time-HiRes',
> but it is not intended for this build of Perl(MSWin32-x86-multi-thread)"
>
> Does anyone know how to get it fixed?

That error means it found a ppd file in the repository
list you have, but it didn't correspond to your version
of Perl. As Rob mentioned in another reply, Time::HiRes
is available with recent ActivePerl 8xx builds - to verify,
C:> perl -MTime::HiRes -e "print 1"
shouldn't produce an error. If you have a Perl without
Time::HiRes, or want to upgrade your version,
http://cpan.uwinnipeg.ca/dist/Time-HiRes
lists some repositories that have Time-HiRes ppm packages.

--
best regards,
randy kobes


Similar ThreadsPosted
dupe times in Time::HiRes March 18, 2005, 1:12 pm
large inaccuracies in Time::HiRes on Opteron February 25, 2005, 5:44 pm
error: no suitable installation target found for package Time-HiRes February 26, 2005, 5:55 am
only want to install one module and the depended ones, but CPAN always install the whole Perl. September 14, 2007, 5:23 pm
Module for time tracking and billing? July 28, 2005, 11:45 am
Date and time--recommended module? November 8, 2006, 3:41 pm
First time module installation - questions April 17, 2008, 9:26 am
Module to trap undefined subroutines at compile time August 7, 2008, 8:34 am
LWP module - parse one line at a time (only download part of a page) January 20, 2006, 1:50 pm
How to Install Inline:CPP module July 16, 2005, 12:49 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap