Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

(Win32) Re: How do YOU test/install modules?

by osfameron (Hermit)
on May 18, 2002 at 06:44 UTC ( [id://167474]=note: print w/replies, xml ) Need Help??


in reply to How do YOU test/install modules?

On Win32, I usually look for modules on CPAN, and download them from there.

If the distribution is made up of Perl, documentation and tests, I breathe a sigh of relief and install by hand as normal, in my case:

perl makefile.pl nmake nmake test nmake install
(I use the version of nmake downloadable from Microsoft's website.) I have to admit that the fact that I run nmake test is mainly superstitious. Even if errors are reported, I have very little idea of what I'm supposed to do with that (sometimes I look at the test and see that it failed because it was hard-coded with Unix system calls, very portable).

If the distribution contains any C files (extensions .c, .xs etc.) that need compilation, I curse loudly and profanely. I've mainly given up trying to use ppm to install from repositories - it sometimes works, but it's failed on 2 separate installations of Perl, is slow, the help system is awful, and sometimes the only way to fix it is to hand- edit the XML configuration file... (Apparently ppm3 is better). So I go to ActiveState's site, search around for the downloadable .zip distributions which may or may not be there (see CrazyInsomniac's useful thread). If it's there I download it and install it locally using ppm. If it's not there I tend to give up at this point (though that thread includes details of various other repositories).

Update: Oh, and testing: that I'm aware, ppm runs no tests, and provides no way of giving feedback.

Cheerio!
Osfameron
http://osfameron.perlmonk.org/chickenman/

Replies are listed 'Best First'.
Re: (Win32) Re: How do YOU test/install modules?
by dada (Chaplain) on May 20, 2002 at 12:17 UTC
    Oh, and testing: that I'm aware, ppm runs no tests, and provides no way of giving feedback.

    PPM (at least version 2.x.x) installs binaries, so it doesn't contain all the stuff from the CPAN distribution. for example, it doesn't contain the scripts used for make test.

    if you want to test something, PPM is a no-go.

    cheers,
    Aldo

    __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-19 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found