Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New installation of activeperl - install modules??

Status
Not open for further replies.

northernbloke

Programmer
Aug 9, 2000
29
GB
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.
 
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:>[red]PPM[/red]<return>
PPM interactive shell (1.1. .....etc...
PPM>[red]install package_name[/red]<return> wait as PPM does it's tricks....
PPM>[red]exit[/red]<return>

HTH



keep the rudder amid ship and beware the odd typo
 
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?
 
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
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top