Skip Menu |

This queue is for tickets about the Win32-API CPAN distribution.

Report information
The Basics
Id: 329
Status: resolved
Priority: 0/
Queue: Win32-API

People
Owner: Nobody in particular
Requestors: kerry.calvert [...] intel.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Won't build without minor change.
Problem: I could not build the module. Api.xs has a variable that is undefined. I changed "na" to "PL_na" in lines 155, 250, and 262, and it then built and installed. It seems to work, ie I can now call functions, but I am way too novice to proceed. The author, Aldo Calpini, appears to have moved on. Kerry Calvert My system: Perl: ActiveState v5.6.1, build 631, for MSWin32-x86-multi-thread OS: Win2000 Compiler: Microsoft C++ 6.0, sp3
the solution (or better, workaround for now) is to build the module with: perl Makefile.PL POLLUTE=1 make make test make install where 'make' is your flavour of it (make, nmake, dmake, ...). the source code was written at the time of perl 5.005, later 5.6 broke it in respect to PL_na. I'm currently working on a new release of Win32::API which will solve this situation. cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;