Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Installing a missing module - Perl 5.8.3

by syphilis (Archbishop)
on Jan 24, 2020 at 04:26 UTC ( [id://11111809]=note: print w/replies, xml ) Need Help??


in reply to Installing a missing module - Perl 5.8.3

You're much better off grabbing either strawberry-perl-5.30.0.1-32bit-portable.zip or strawberry-perl-5.30.0.1-64bit-portable.zip from http://strawberryperl.com/releases.html.
(I can't give you the full link because I can't actually access http://strawberryperl.com/releases.html at the moment.)
I believe that the more common choice is for the 64bit version.

Then you just unzip the package to your choice of location, cd to that location, execute portableshell.bat .... and start running whatever perl commands you like.
Strawberry Perl ships with latest Time::Piece so you won't even have to install it. (But even if you did have to inatall it, it's as simple as cpan -i Time::Piece)

To answer your question:
1) tar zxvf Time-Piece-1.33.tar.gz
2) cd Time-Piece-1.33
3) perl Makefile.PL
4) nmake test
5) nmake install

You'll need a Microsoft C compiler, and also nmake (which will probably ship with the package that contains the C compiler).

You may need that Microsoft Compiler to be VS 6.0, as that's the compiler that built your perl 5.8.6. (OTOH, other more recent versions of Microsoft compilers might suffice.)
If you run cl you can see the version of the compiler that you have. For VS 6.0, it will be 12.00.something:
C:\>cl Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80 +x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ]
Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Installing a missing module - Perl 5.8.3
by davies (Prior) on Feb 08, 2020 at 21:37 UTC

    If you upgrade that far, you may find you need to change all scripts & modules to use lib '.';. I have that scar, but no others, from a recent major upgrade.

    Regards,

    John Davies

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11111809]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-03-29 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found