Subject: | Bug about Win32::Printer installation |
Date: | Mon, 9 Mar 2009 18:09:39 +0800 |
To: | bug-Win32-Printer [...] rt.cpan.org |
From: | zhangxiaozhi [...] rst.ricoh.com |
Dear all,
This is Michael. I am trying to use the Win32::Printer module upon Windows
XP.
But there is a bug encountered during the installation of Win32::Printer.
=========================== Bug Information
=================================
E:\Win32-Printer-0.9.0>perl Makefile.PL
DEFAULT BUILD OPTIONS - W/O 3PLibs (SET ANY ARGUMENT TO INVOKE THE
PROMPT!)
Writing Makefile for Win32::Printer
E:\Win32-Printer-0.9.0>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_ST
RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-DPRIVLIB_LAST_IN_INC
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -
MD -Zi -DNDEBUG -O1 -DVERSION=\"0.9.1\" -DXS_VERSION=\"0.9.1\"
"-IC:\Perl\l
ib\CORE" Printer.c
Printer.c
Printer.xs(1901) : error C2039: 'PageNumber' : is not a member of
'_PSINJECTDATA
'
C:\Program Files\Microsoft Visual
Studio\VC98\include\wingdi.h(354) : se
e declaration of '_PSINJECTDATA'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
===================================================================================
****** Additional Information ******
01.Distribution name and version:
Win32-Printer-0.9.1 (downloaded from
http://search.cpan.org/~wasx/Win32-Printer-0.9.1/Printer/Direct.pm)
02.Perl version
ActivePerl v5.8.8 built for MSWin32-x86-multi-thread.
Binary build 822 [280952] provided by ActiveState
http://www.ActiveState.com
Built Jul 31 2007 19:34:48
03.Operating system information
Windows XP Professional SP2 English Version.
04.Visual Studio(Visual C++ included)
Version 6.00.9782.0
Thanks in advance for all!