Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Installing modules on Win32

by Tally (Novice)
on Jul 17, 2000 at 21:22 UTC ( [id://22870]=note: print w/replies, xml ) Need Help??


in reply to Installing modules on Win32

I've had many of the same problems you describe. I haven't solved them all, but here are some things that have definitely helped:

Setting up CPAN

The first time you try to download cpan modules using perl ("perl -MCPAN ...") it will lead you through a setup, asking lots of questions about where different resources are located on your computer. If you answer these questions incorrectly, your CPAN client won't work. But, when you start it again it doesn't prompt you to change settings. To fix this, you can go to the directory "x:\(perl-path)\lib\CPAN" and delete the file "config.pm". Then the next time you use the CPAN client it will ask all the setup questions again.

The CPAN client wants a whole bunch of tools that you may have to download. The problems I've run into here are that some "unzip" and "tar" programs are not 100% compatible with CPAN. Be sure that the programs you're using know how to deal with Windows NT long file names. Most perl modules contain files with names that are illegal under the old DOS eight-char-name-three-char-extension standard.

One solution that worked well for me was downloading CYGWIN, a Win32 unix emulator with Win32 versions of lots of the normal unix tools like gzip and tar that the CPAN client needs. To get the tools to work under a Windows NT command prompt, you have to copy cygwin.dll to the system32 directory.

Tally

Replies are listed 'Best First'.
Re: Re: Installing modules on Win32
by Anonymous Monk on Jun 01, 2001 at 17:26 UTC
    Tally, I've downloaded cygwin user tools but I've haven't been able to get it working? I think there needs to be a tutorial on installing "cygwin for dummies" I'm running windows 2000 but I want to use the same type of unix commands at the command prompt. e-mail me! kjh28@cornell.edu

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-29 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found