building mod_perl on Windows

Hong Ye <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <951A496785E8DD48A03E67E19577077D33AC640E@MBXB-01.exchange.cornell.edu>
Hi,

I’m trying to build mod_perl on Windows 2008 R2 and stuck with the nmake error.  Thanks in advance for any advice. The version of mod_perl is 2.0.5. I’ve installed Microsoft Visual Studio 2008 ,active perl 5.12, Apache 2.2.22 on the server.  After perl Makefile.PL MP_AP_PREFIX=\Path\to\Apache2, I did nmake, then here is the error I got

c:\src\mod_perl-2.0.5>nmake

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd "src/modules/perl" && c:\PROGRA~2\MICROS~1.0\VC\BIN\nmake.exe

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -Ic:/src/mod_perl-2.0.5/src/modules/perl -Ic:/src/mod_perl-2.0.5/xs -
IC:\local\HTTPD-~1.22\include -I"C:\local\HTTPD-~1.22\include"   -IC:\local\HTTP
D-~1.22\include -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STR
ICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_I
MPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -I"C:\Perl\lib\CORE" -DMOD_PERL -DM
P_COMPAT_1X -MD -Zi -DNDEBUG -O1   -c mod_perl.c &&  mod_perl.obj mod_perl.lo
NMAKE : fatal error U1077: 'cl' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.


Thanks for your help,

Hong
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.