Module Install on XP Question

P

Page

I've been trying to learn Perl and have ActiveState Perl installed on
my WinXP machine along with Apache 2.0. All seems to work pretty
well. I need to install some perl modules. I downloaded the required
files (according to CPAN), but I'm not sure I understand the install
instructions. Do I just copy the .pm file into my C:\Perl\Lib
directory and voila! it all works? Or is there more to it than that.
I see a lot of stuff about using "Makefile".

Thanks
 
A

A. Sinan Unur

(e-mail address removed) (Page) wrote in
I've been trying to learn Perl and have ActiveState Perl installed on
my WinXP machine along with Apache 2.0. All seems to work pretty
well. I need to install some perl modules. I downloaded the required
files (according to CPAN), but I'm not sure I understand the install
instructions. Do I just copy the .pm file into my C:\Perl\Lib
directory and voila! it all works? Or is there more to it than that.
I see a lot of stuff about using "Makefile".

Use ppm:

Start -> Run -> ppm (Press enter)
 
G

gibbering poster

A. Sinan Unur said:
(e-mail address removed) (Page) wrote in


Use ppm:

Start -> Run -> ppm (Press enter)

I've found that the modules available in PPM are few and far between...
Only about 1 in 10 CPAN module's I've needed have been available in .ppd
format...

IMO, the ONLY way to use perl on XP is to install cygwin, build it
yourself, and use gcc to compile them. Anything else is going to be an
excercise in frustration.
 
M

Matt Garrish

gibbering poster said:
I've found that the modules available in PPM are few and far between...
Only about 1 in 10 CPAN module's I've needed have been available in .ppd
format...

IMO, the ONLY way to use perl on XP is to install cygwin, build it
yourself, and use gcc to compile them. Anything else is going to be an
excercise in frustration.

The only problem I've personally run into is with the Crypt modules, but I
remember reading once that that was only because AS doesn't have a license
to distribute cryptographic software. Have you tried including other ppm
respoitories? I always add the following ones whenever I install Perl on a
Windows box:

http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58
http://www.roth.net/perl/packages/
http://jenda.krynicky.cz/perl

Also, have you tried downloading the zip files from ActiveState and
installing them locally?

http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/Zips

Matt
 
A

A. Sinan Unur

....

I've found that the modules available in PPM are few and far between...
Only about 1 in 10 CPAN module's I've needed have been available in
.ppd format...

It might have been that I have only needed the modules they had, but I
haven't had any problems with it.

And, if the module you are looking for is a pure Perl module, it is
pretty easy to get it installed using Makefile.PL (you'll need to get
nmake).
IMO, the ONLY way to use perl on XP is to install cygwin, build it
yourself, and use gcc to compile them. Anything else is going to be
an excercise in frustration.

I do have cygwin installed but I have been using ActiveState Perl for a
long time and have not been that frustrated. Just my 2 cents.
 
P

Petri

The only problem I've personally run into is with the Crypt modules,
but I remember reading once that that was only because AS doesn't
have a license to distribute cryptographic software. Have you tried
including other ppm respoitories? I always add the following ones
whenever I install Perl on a Windows box:

I've never had any problems with ppm either, AS always seem to keep the packages
up-to-date for the latest version of ActivePerl, eg 800-series, etc.
Only the SSL modules have eluded me. :)
But there they are, in the repository you mention above.

Thanks for the tip!


Petri
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
EmeliaBryc

Latest Threads

Top