title: Installing Perl modules manually on Windows XP
body: <p>(Updated, please look at the EDIT, thanks!)</p>
  
  <p>First I would like to point that I cannot use any automated tool to install the modules since the proxy won't resolve names. I already asked how to solve this here to no avail.</p>
  
  <p>So AFAIK I have to download the .tar.gz package of the Perl module, decompress it, and run this:</p>
  
  <pre><code>perl Makefile.pl
  make
  make test
  make install
  </code></pre>
  
  <p>So here's what I get:</p>
  
  <pre><code>D:&gt;perl Makefile.PL
  Set up gcc environment - 4.5.2
  
  It looks like you don't have either nmake.exe or dmake.exe on your PATH,
  so you will not be able to execute the commands from a Makefile.  You can
  install dmake.exe with the Perl Package Manager by running:
  
      ppm install dmake
  
  Writing Makefile for PowerBuilder::ORCA
  </code></pre>
  
  <p>I don't know why it says taht about nmake while I have it installed...</p>
  
  <p>So next command (using NMAKE)</p>
  
  <pre><code>D:&gt;nmake
  
  Microsoft (R) Program Maintenance Utility   Version 1.50
  Copyright (c) Microsoft Corp 1988-94. All rights reserved.
  
  syntax error at -e line 1, near "'755')
  "
  Missing right curly or square bracket at -e line 1, at end of line
  Execution of -e aborted due to compilation errors.
  NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
  Stop.
  </code></pre>
  
  <p>Ok, now using MAKE (from MinGW):</p>
  
  <pre><code>D:&gt;C:\MinGW\msys\1.0\bin\make
  make: rem: Command not found
  make: *** [blibdirs] Error 127
  </code></pre>
  
  <p>My Perl version: </p>
  
  <pre><code>This is perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32-x86-multi-thread
  (with 9 registered patches, see perl -V for more detail) Copyright 1987-2010, Larry 
  Wall Binary build 1204 [294330] provided by ActiveState http://www.ActiveState.com 
  Built Feb 9 2011 14:38:22
  </code></pre>
  
  <p>Any hints about why this is happening? Thanks in advance!</p>
  
  <p>EDIT: Thanks to Sinan Ünür, I compiled the module. I installed it with <code>dmake install</code>, but at importing it, it says: </p>
  
  <p><code>Compilation failed in require</code></p>
  
  <p>When executing it says: </p>
  
  <p><code>Can't load 'C:/Perl/site/lib/auto/PowerBuilder/ORCA/ORCA.dll' for module PowerBuilder::ORCA: load_file:El acceso a la dirección de memoria no es válido at C:/Perl/lib/DynaLoader.pm line 201</code> (<em>Invalid memory access</em>)</p>
  
  <p>I think this is due to the fact that I'm compiling against a wrong Perl version, but how come? I used the links for 5.12.</p>