(Updated, please look at the EDIT, thanks!)
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.
So AFAIK I have to download the .tar.gz package of the Perl module, decompress it, and run this:
perl Makefile.pl
make
make test
make install
So here's what I get:
D:>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
I don't know why it says taht about nmake while I have it installed...
So next command (using NMAKE)
D:>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.
Ok, now using MAKE (from MinGW):
D:>C:\MinGW\msys\1.0\bin\make
make: rem: Command not found
make: *** [blibdirs] Error 127
My Perl version:
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
Any hints about why this is happening? Thanks in advance!
EDIT: Thanks to Sinan Ünür, I compiled the module. I installed it with dmake install
, but at importing it, it says:
Compilation failed in require
When executing it says:
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
(Invalid memory access)
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.