Home > Archive > PERL Modules > February 2005 > Does anyone knows how to install the Time::HiRes Module?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Does anyone knows how to install the Time::HiRes Module?
|
|
| netnews.agilent.com 2005-02-16, 8:57 am |
| 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,
| |
| Matt Mitchell 2005-02-16, 8:57 am |
|
"netnews.agilent.com" <jian-hui_wang@agilent.com> wrote in message
news:1108545776.594095@cswreg.cos.agilent.com...
> 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...
| |
| Sisyphus 2005-02-16, 8:57 am |
| Matt Mitchell wrote:
> "netnews.agilent.com" <jian-hui_wang@agilent.com> wrote in message
> news:1108545776.594095@cswreg.cos.agilent.com...
>
>
>
> Looks like it doesn't work on Windows...
>
No, it works ok on windows - I think the problem lies with the ppm
configuration - but I'm not sure.
What does 'ppm set' produce ?
(Incidentally, Time::HiRes is included with the 5.8 builds of Active Perl .)
Cheers,
Rob
--
To reply by email u have to take out the u in kalinaubears.
| |
| Peter J. Acklam 2005-02-16, 3:57 pm |
| "netnews.agilent.com" <jian-hui_wang@agilent.com> wrote:
> 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;
| |
| netnews.agilent.com 2005-02-17, 3:57 am |
| Hi, all
'ppm set' get the following output:
C:\ccviews\my_view5\wpa_decode\Decode\wo
rk>ppm set
Commands will be confirmed.
Temporary files will be deleted.
Download status will be updated every 16384 bytes.
Case-insensitive searches will be performed.
Package installations will continue if a dependency cannot be installed.
Tracing info will not be written.
Screens will pause after 24 lines.
Query/search results will be verbose.
Current PPD repository paths:
ActiveState Package Repository:
http://ppm.ActiveState.com/cgibin/PPM/pp
mserver.pl?urn:/PPMServer
Packages will be built under: C:\DOCUME~1\user\LOCALS~1\Temp
HTML documentation will not be rebuilt after installing each package.
BTW, I've also tried "ActivePerl-5.8.6.811-MSWin32-x86-122208" but have
the same problem on Windows XP.
Thanks a lot
"Sisyphus" <kalinaubears@iinet.net.au> wrote in message
news:42132982$0$12282$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
> Matt Mitchell wrote:
>
> No, it works ok on windows - I think the problem lies with the ppm
> configuration - but I'm not sure.
>
> What does 'ppm set' produce ?
>
> (Incidentally, Time::HiRes is included with the 5.8 builds of Active Perl
..)
>
> Cheers,
> Rob
>
>
> --
> To reply by email u have to take out the u in kalinaubears.
>
| |
| Randy Kobes 2005-02-17, 4:00 pm |
| 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
| |
| Sisyphus 2005-02-17, 4:00 pm |
| Randy Kobes wrote:
> netnews.agilent.com wrote:
>
>
>
> That error means it found a ppd file in the repository
> list you have, but it didn't correspond to your version
> of Perl.
Yeah - but it looks to me that it *should* have corresponded.
The following is the 5.6 ppm server (I think):
http://ppm.ActiveState.com/cgibin/P...?urn:/PPMServer
Besides, since Time::HiRes ships with 5.8, they probably don't have a
ppm for 5.8.
Then again that proxy/firewall problem I referred to usually has
different symptoms to the ones reported, doesn't it ?
So ... dunno .... could be wrong ... often am :-)
Cheers,
Rob
--
To reply by email u have to take out the u in kalinaubears.
| |
| netnews.agilent.com 2005-02-18, 3:56 am |
| Hi all,
Thank you all for the information. I got Active Perl 5.8.6 reinstalled
and it works fine.
Thanks again,
Jianhui
"Sisyphus" <kalinaubears@iinet.net.au> wrote in message
news:4214de69$0$2065$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
> Randy Kobes wrote:
Perl(MSWin32-x86-multi-thread)"[color=darkred]
>
> Yeah - but it looks to me that it *should* have corresponded.
> The following is the 5.6 ppm server (I think):
> http://ppm.ActiveState.com/cgibin/P...?urn:/PPMServer
>
> Besides, since Time::HiRes ships with 5.8, they probably don't have a
> ppm for 5.8.
>
> Then again that proxy/firewall problem I referred to usually has
> different symptoms to the ones reported, doesn't it ?
>
> So ... dunno .... could be wrong ... often am :-)
>
> Cheers,
> Rob
>
> --
> To reply by email u have to take out the u in kalinaubears.
>
| |
| Peter J. Acklam 2005-02-21, 3:56 am |
| "netnews.agilent.com" <jian-hui_wang@agilent.com> wrote:
> 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;
|
|
|
|
|