Subject: | libwin32-0.27 |
Date: | Mon, 19 Mar 2007 20:45:41 -0400 |
To: | bug-libwin32 [...] rt.cpan.org |
From: | Malcolm Nooning <m.nooning [...] comcast.net> |
Hello,
In libwin32-0.27 I am creating the Makefile like this:
C:\>perl -MConfig_m Makefile.PL
and I am getting the message below.
WARNING: postamble takes a string/number not a hash reference.
Please inform the author.
So here I am trying to inform the author. The module will not "nmake"
either, but, given the warning message above I would not expect it to.
I am using
Windows XP Home edition, SP2, Microsoft Windows XP [Version
5.1.2600]
ActiveState Perl 5.8.8
MinGW (if it matters)
ExtUtils::Install version 1.41
ExtUtils::FakeConfig version 0.09
Show quoted text
>perl -MConfig_m Makefile.PL
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Win32API::Net
WARNING: postamble takes a string/number not a hash reference.
Please inform the author.
***** etcetera, etcetera ******
After that, I try to do nmake, and at the end of a lot of other good
looking output (not shown) I get a curious error message that concerns
ExtUtils::Install, indicating that it gets something bad from libwin32.
See "Can't use string ("pmfiles.dat") as a HASH ref " further below.
----------paste of last few lines from nmake attempt
g++ -o ..\blib\arch\auto\Win32\OLE\OLE.dll -Wl,--base-file
-Wl,dll.base -s -mdll -L"C:\Perl\lib\CORE"
OLE.o -Wl,--image-base,0x2b200000 C:\Perl\lib\CORE\libperl58.a -lmsvcrt
-lmoldname -lkernel32 -luser32 -lgdi3
2 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32
-lnetapi32 -luuid -lwsock32 -lmpr -lwinmm -lversion -lodbc32 dll.exp
dlltool --def OLE.def --base-file dll.base --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\OLE\OLE.dll -s -mdll
-L"C:\Perl\lib\CORE" OLE.o -Wl,--image-base,0x2b200000
C:\Perl\lib\CORE\libperl58.a -lmsvcrt -lmoldname -lkernel32 -luser32
-lgdi32 -lwinspool -lcomdlg32 -ladv
api32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lwsock32 -lmpr
-lwinmm -lversion -lodbc32 dll.exp
C:\perl\bin\perl.exe -MExtUtils::Command -e chmod 755
..\blib\arch\auto\Win32\OLE\OLE.dll
No root path(s) specified at C:/perl/site/lib/ExtUtils/Command.pm line 95
C:\perl\bin\perl.exe -MExtUtils::Command -e cp OLE.bs
..\blib\arch\auto\Win32\OLE\OLE.bs
C:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644
..\blib\arch\auto\Win32\OLE\OLE.bs
Can't use string ("pmfiles.dat") as a HASH ref while "strict refs" in
use at C:\Perl\lib/ExtUtils/Install.pm line 983.
NMAKE : fatal error U1077: 'C:\perl\bin\perl.exe' : return code '0xff'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.