Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Not able to compile perl modules in windows

by Corion (Pope)
on Oct 01, 2005 at 12:14 UTC ( #496631=note: print w/replies, xml ) Need Help??

in reply to Not able to compile perl modules in windows

Hello and welcome!

First a side note - please write full english sentences and words and try to use proper capitalization on words, b'coz its hrd to udst oth'rwz.

To compile Perl modules for Perl on Win32, you need to have the same compiler that was used to compile your Perl. Usually this means MSVC, at least if you're using ActiveState Perl. You can get half a hint to your compiler from running

perl -V:cc

This will tell you what program was used to compile your perl:

  • cl means cl.exe, the C compiler of MSVC
  • cc likely means cc.exe from the Cygwin port or the Msys/MingW port - but if you have one of these perls, likely the suitable C compiler is installed anyway.

If you have the compiler, you also must set up $ENV{INC} and $ENV{LIB} to the correct values. With MSVC installed, this is the matter of locating and then running vcvars32.cmd in the command window you want to use.

After that, the errors should disappear.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://496631]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2018-03-17 15:09 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (224 votes). Check out past polls.