Sisyphus said:
.
.
You can get the source, too, from ActiveState ... or you can get the
source
from
www.perl.org.
Perl-5.8.8 builds easily from source on Win32 using the freely available
MinGW (gcc) compiler - just read the instructions in the Readme.win32
that's
in the top level folder of the perl source.
Looks like the source file you'll need to amend is
win32\include\sys\socket.h.
Cheers,
Rob
Thanks for the suggestion. I downloaded the source from ActiveState
(AP819-source), MinGW (5.0.2) and dmake (4.5). I followed the instructions
in Readme.win32, ran dmake and got the following error.
In file included from perllib.c:43:
perlhost.h: In function `CPerlHost* IPerlMem2Host(IPerlMem*)':
perlhost.h:239: warning: invalid access to non-static data member
`CPerlHost::m_
hostperlMem' of NULL object
perlhost.h:239: warning: (perhaps the `offsetof' macro was used incorrectly)
perlhost.h: In function `CPerlHost* IPerlMemShared2Host(IPerlMem*)':
perlhost.h:244: warning: invalid access to non-static data member
`CPerlHost::m_
hostperlMemShared' of NULL object
perlhost.h:244: warning: (perhaps the `offsetof' macro was used incorrectly)
perlhost.h: In function `CPerlHost* IPerlMemParse2Host(IPerlMem*)':
perlhost.h:249: warning: invalid access to non-static data member
`CPerlHost::m_
hostperlMemParse' of NULL object
perlhost.h:249: warning: (perhaps the `offsetof' macro was used incorrectly)
perlhost.h: In function `CPerlHost* IPerlEnv2Host(IPerlEnv*)':
perlhost.h:254: warning: invalid access to non-static data member
`CPerlHost::m_
hostperlEnv' of NULL object
perlhost.h:254: warning: (perhaps the `offsetof' macro was used incorrectly)
perlhost.h: In function `CPerlHost* IPerlStdIO2Host(IPerlStdIO*)':
perlhost.h:259: warning: invalid access to non-static data member
`CPerlHost::m_
hostperlStdIO' of NULL object
perlhost.h:259: warning: (perhaps the `offsetof' macro was used incorrectly)
perlhost.h: In function `CPerlHost* IPerlLIO2Host(IPerlLIO*)':
perlhost.h:264: warning: invalid access to non-static data member
`CPerlHost::m_
hostperlLIO' of NULL object
perlhost.h:264: warning: (perhaps the `offsetof' macro was used incorrectly)
perlhost.h: In function `CPerlHost* IPerlDir2Host(IPerlDir*)':
perlhost.h:269: warning: invalid access to non-static data member
`CPerlHost::m_
hostperlDir' of NULL object
perlhost.h:269: warning: (perhaps the `offsetof' macro was used incorrectly)
perlhost.h: In function `CPerlHost* IPerlSock2Host(IPerlSock*)':
perlhost.h:274: warning: invalid access to non-static data member
`CPerlHost::m_
hostperlSock' of NULL object
perlhost.h:274: warning: (perhaps the `offsetof' macro was used incorrectly)
perlhost.h: In function `CPerlHost* IPerlProc2Host(IPerlProc*)':
perlhost.h:279: warning: invalid access to non-static data member
`CPerlHost::m_
hostperlProc' of NULL object
perlhost.h:279: warning: (perhaps the `offsetof' macro was used incorrectly)
perlhost.h: In function `int PerlProcFork(IPerlProc*)':
perlhost.h:1838: error: invalid conversion from `void*' to `HWND__*'
dmake: Error code 129, while making 'perllib.o'
Any ideas?