On Tue, 9 Mar 2004, Artem Harutyunyan wrote:

> I am installing 'GSS' perl module (http://cern.ch/hartem/GSS.zip). 'perl
> Makefile.PL' goes well, but nmake fails with:
>
>       cl -c  -Ic:\opt\alien/include/  -nologo -Gf -W3 -MD -Zi -DNDEBUG
> -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
> -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
> -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"1.00\"
> -DXS_VERSION=\"1.00\"  "-IC:\opt\alien\lib\CORE"   GSS.c
> GSS.c
> c:\globus_openssl\WinGlobus2.0_Alpha3\include\globus_config.h(42) :
> warning C4005: 'MAXPATHLEN' : macro redefinition
>         C:\opt\alien\lib\CORE\perl.h(1959) : see previous definition of
> 'MAXPATHLEN'
> C:\Program Files\Microsoft Visual Studio\VC98\include\Winsock2.h(99) :
> error C2011: 'Perl_fd_set' : 'struct' type redefinition

I don't have the necessary libraries needed to build this,
but from looking at the sources, it's apparent it's Unix
oriented. It may be a bit of a chore to port - you could
start with the above error, which looks like it's resulting
from including Winsock2.h a second time. Maybe try putting
in a line in the Makefile.PL:
   WriteMakefile( ....,
                 DEFINE => ' -D_WINSOCK2API_ ',
                 ....,
                );
and see if that gets you further.

-- 
best regards,
randy kobes
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to