Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Installing modules on Win32

by Tally (Novice)
on Jul 17, 2000 at 21:22 UTC ( #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 "". 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.


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!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://22870]
Tanktalus is trying to figure out how to get a case-insensitive match between stra▀e and strasse to return true in perl :( fc doesn't seem to do it, either, unless I'm doing it wrong.
[LanX]: ▀,ss
[LanX]: nope
[LanX]: /.*(?:▀|ss).*/
[hippo]: How are you doing the match? Regex, index, eq or something else?
[choroba]: fc $s1 eq fc $s2 I guess
[Tanktalus]: hippo: I don't care, I just want to prove it can match correctly compared to, say, ILIKE / UPPER / LOWER in postgres :)
[LanX]: is there a unicode convention that ▀ is ss ?
[Tanktalus]: LanX: yes :) I haven't tried java, but I have this match working in its bastard cousin, C# :) I just thought perl's unicode support would get me there :)

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2018-03-21 15:40 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (268 votes). Check out past polls.