[rt.cpan.org #42685] Version of Win32::API for 64-bit Windows

[email protected] ("Curtis Jewell via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Mon Mar 08 07:02:28 2010: Request 42685 was acted upon.
Transaction: Correspondence added by CSJEWELL
       Queue: Win32-API
     Subject: Version of Win32::API for 64-bit Windows
   Broken in: (no value)
    Severity: (no value)
       Owner: COSIMO
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=42685 >


1) I know Adam has 2003_x64 and 2008_x64 machines in the VM farm.

2) We just hit this when compiling Strawberry-64, FYI. (Linking to this
from RT 55336, by the way.)

cpan> install Win32::API
CPAN::SQLite not installed, trying to work without
Going to read 'C:\vanilla\cpan\sources\authors\01mailrc.txt.gz'
............................................................................DONE
Going to read 'C:\vanilla\cpan\sources\modules\02packages.details.txt.gz'
  Database was generated on Mon, 08 Mar 2010 05:37:30 GMT
............................................................................DONE
Going to read 'C:\vanilla\cpan\sources\modules\03modlist.data.gz'
............................................................................DONE
Running install for module 'Win32::API'
Running make for C/CO/COSIMO/Win32-API-0.59.tar.gz
Checksum for
C:\vanilla\cpan\sources\authors\id\C\CO\COSIMO\Win32-API-0.59.tar.gz ok
Scanning cache C:\vanilla\cpan\build for sizes
............................................................................DONE

  CPAN.pm: Going to build C/CO/COSIMO/Win32-API-0.59.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Win32::API::Callback
Writing Makefile for Win32::API
cp Type.pm blib\lib\Win32/API/Type.pm
cp Callback.pm blib\lib\Win32/API/Callback.pm
cp Test.pm blib\lib\Win32/API/Test.pm
cp Struct.pm blib\lib\Win32/API/Struct.pm
cp API.pm blib\lib\Win32/API.pm
C:\vanilla\perl\bin\perl.exe C:\vanilla\perl\lib\ExtUtils\xsubpp 
-typemap C:\vanilla\perl\lib\ExtUtils\typemap  Callbac
k.xs > Callback.xsc && C:\vanilla\perl\bin\perl.exe -MExtUtils::Command
-e "mv" -- Callback.xsc Callback.c
gcc -c          -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPE
RL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
-DPERL_MSVCRT_READFIX -s -O2          -DVERSION=\"0.59\"    -DXS_VER
SION=\"0.59\"  "-IC:\vanilla\perl\lib\CORE"   Callback.c
Callback.xs: In function 'CallbackMakeStruct':
Callback.xs:250: warning: cast from pointer to integer of different size
Callback.xs: In function 'CallbackTemplate':
Callback.xs:305: warning: cast to pointer from integer of different size
Callback.xs:313: warning: cast to pointer from integer of different size
Callback.xs: In function 'CallbackCreate':
Callback.xs:581: warning: cast from pointer to integer of different size
Callback.xs:596: warning: cast from pointer to integer of different size
Callback.xs:597: warning: cast from pointer to integer of different size
Callback.xs:637: warning: cast from pointer to integer of different size
Callback.xs:687: warning: cast from pointer to integer of different size
Callback.xs:738: warning: cast from pointer to integer of different size
Callback.xs: In function 'XS_Win32__API__Callback_CallbackCreate':
Callback.xs:868: warning: cast from pointer to integer of different size
Callback.xs: In function 'XS_Win32__API__Callback_PushSelf':
Callback.xs:896: warning: cast from pointer to integer of different size
Running Mkbootstrap for Win32::API::Callback ()
C:\vanilla\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644
Callback.bs
C:\vanilla\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Win32::API::Callback\", 'DLBASE' =>
'Callback', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMP
ORTS' => {  }, 'DL_VARS' => []);"
dlltool --def Callback.def --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll -Wl,--base-file
-Wl,dll.base -mdll -s -L"C:\vanilla\perl\lib\CO
RE" -L"C:\vanilla\c\lib" Callback.o -Wl,--image-base,0x21000000 
C:\vanilla\perl\lib\CORE\libperl511.a -lmoldname -lkern
el32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32
-loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lw
inmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def Callback.def --base-file dll.base --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll -mdll -s
-L"C:\vanilla\perl\lib\CORE" -L"C:\vanilla\c\lib" Call
back.o -Wl,--image-base,0x21000000 
C:\vanilla\perl\lib\CORE\libperl511.a -lmoldname -lkernel32 -luser32
-lgdi32 -lwinsp
ool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid
-lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodb
ccp32 -lcomctl32 dll.exp
C:\vanilla\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755
..\blib\arch\auto\Win32\API\Callback\Callback.dll
C:\vanilla\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- Callback.bs
..\blib\arch\auto\Win32\API\Callback\Callback.bs

C:\vanilla\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644
..\blib\arch\auto\Win32\API\Callback\Callback.bs
C:\vanilla\perl\bin\perl.exe C:\vanilla\perl\lib\ExtUtils\xsubpp 
-typemap C:\vanilla\perl\lib\ExtUtils\typemap -typemap
 typemap  API.xs > API.xsc && C:\vanilla\perl\bin\perl.exe
-MExtUtils::Command -e "mv" -- API.xsc API.c
gcc -c          -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPE
RL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
-DPERL_MSVCRT_READFIX -s -O2          -DVERSION=\"0.59\"    -DXS_VER
SION=\"0.59\"  "-IC:\vanilla\perl\lib\CORE"   API.c
API.xs: In function 'XS_Win32__API_GetProcAddress':
API.xs:127: warning: cast from pointer to integer of different size
API.xs: In function 'XS_Win32__API_PointerTo':
API.xs:206: warning: cast from pointer to integer of different size
API.xs: In function 'XS_Win32__API_ReadMemory':
API.xs:223: warning: cast to pointer from integer of different size
C:\Users\Curtis\AppData\Local\Temp\ccaSXrib.s: Assembler messages:
C:\Users\Curtis\AppData\Local\Temp\ccaSXrib.s:3043: Error: suffix or
operands invalid for `push'
C:\Users\Curtis\AppData\Local\Temp\ccaSXrib.s:3046: Error: suffix or
operands invalid for `push'
dmake.EXE:  Error code 129, while making 'API.o'
  COSIMO/Win32-API-0.59.tar.gz
  C:\vanilla\c\bin\dmake.EXE -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 COSIMO/Win32-API-0.59.tar.gz                 : make NO

3) ActiveState's PPM build farm has hit this, too.

http://ppm4.activestate.com/MSWin32-x64/5.10/1000/C/CO/COSIMO/Win32-API-0.59.d/log-20090706T033449.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.