×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

New installation of activeperl - install modules??

New installation of activeperl - install modules??

New installation of activeperl - install modules??

(OP)
I am new to Perl, please be gentle.

I have installed ActivePerl on NT4 Workstation. I have some scripts that a colleague wrote - including references to Date::Calc (Steffen Beyer)

Trying to follow the installation instructions..

Perl Makefile.PL (writes the makefile OK)
nmake (gives me an error of: specified file is not recognised as internal or external program)

What am I doing wrong?
Are there extra paths that need to be defined?
Is there a different date package?

Pointers in any direction will be gratefully explored.

RE: New installation of activeperl - install modules??

If you have installed activePerl, then you have PPM (Perl Package Manager) available to you as part of their bundle.  You can, IF you want, download and compile modules.  However, PPM is MUCH easier.  See the index.html file in the 'html' dir of your Perl installation for details.

The short version...

From a prompt,
To start PPM and install a module (package),

C:>PPM<return>
PPM interactive shell (1.1. .....etc...
PPM>install package_name<return> wait as PPM does it's tricks....
PPM>exit<return>

HTH


 
 
 keep the rudder amid ship and beware the odd typo

RE: New installation of activeperl - install modules??

don't want to interrupt this thread, I just have one simple question:
I am using Win 98 and I also have ActivePerl installed.
I've read in help file that I should type PPM in MS-DOS, but if I just type PPM, I'm getting bad command name...
it doesn't work, anyone familiar with this problem?

RE: New installation of activeperl - install modules??

It sounds like you probably need to expand you PATH to include your ....\perl\bin .  Type 'path' at a command prompt and see if it includes your ....\perl\bin\ directory.  If it does not, then that is probably your problem.  You could confirm that by changing to that dir and typing ' PPM' to see if it runs.  If it does then your PATH is the problem.  I'm not sure how you would go about extending you path on a Win98 box.  I run one at home, but, I don't remember off the top of my head.... maybe add a line to your autoexec.bat...... maybe someone else can chime in here about how to do that.



HTH


 
 
 keep the rudder amid ship and beware the odd typo

RE: New installation of activeperl - install modules??

(OP)
add this to Autoexec.bat
set path=%path%;c:\PERL\BIN
(assuming c is your perl installation drive)

PPM was simple to use and installed Date-Calc in seconds.

NB.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close