- install activeperl x64 if you haven’t done yet
- get the source from trunk
C:\build\>svn checkout https://svn.apache.org/repos/asf/perl/modperl /trunk/ mod_perl-2.0
- configure it
C:\build\mod_perl-2.0>perl Makefile.PL MP_AP_PREFIX=C:\Apache22
- nmake
- nmake test
- nmake install
- edit your httpd.conf ;-)
I followed and now when nmake install I’m getting this error message
Skip ..\blib\lib\ModPerl\RegistryBB.pm (unchanged)
cd ..
C:\PROGRA~2\MICROS~2.0\VC\bin\nmake.exe -f Makefile all -nologo PERL=”C:
\Perl64\bin\perl.exe” DEFINE=””
C:\PROGRA~2\MICROS~2.0\VC\bin\nmake.exe -f Makefile all -nologo
C:\PROGRA~2\MICROS~2.0\VC\bin\nmake.exe -f Makefile all -nologo
cp Base64.pm ..\..\..\blib\lib\APR\Base64.pm
C:\Perl64\bin\perl.exe C:\Perl64\site\lib\ExtUtils\xsubpp -typemap C:\P
erl64\lib\ExtUtils\typemap -typemap G:/projets/mod_perl/build/trunk/xs/typemap
Base64.xs > Base64.xsc && C:\Perl64\bin\perl.exe -MExtUtils::Command -e “mv” —
Base64.xsc Base64.c
cl -c -IG:/projets/mod_perl/build/trunk/src/modules/perl -IG:/projets/m
od_perl/build/trunk/xs -IC:\PROGRA~2\APACHE~2\Apache2/include -IC:\PROGRA~2\APAC
HE~2\Apache2/include -nologo -GF -W3 -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DWIN
32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -DUSE_SITECUS
TOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DMOD_PERL -DMP_
COMPAT_1X -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DVERSION=\”0.009000\” -DXS_V
ERSION=\”0.009000\” “-IC:\Perl64\lib\CORE” Base64.c
NMAKE : fatal error U1077: ‘”C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\bin\cl.EXE”‘ : return code ‘0xc0000135’
Stop.
NMAKE : fatal error U1077: ‘C:\PROGRA~2\MICROS~2.0\VC\bin\nmake.exe’ : return co
de ‘0x2’
Stop.
NMAKE : fatal error U1077: ‘C:\PROGRA~2\MICROS~2.0\VC\bin\nmake.exe’ : return co
de ‘0x2’
Stop.
NMAKE : fatal error U1077: ‘C:\PROGRA~2\MICROS~2.0\VC\bin\nmake.exe’ : return co
de ‘0x2’
Stop.
G:\projets\mod_perl\build\trunk>
I haven’t done it since than. I also never tried VC10, but VC9. At the moment I’m getting a different error. Seems Perl 8.12.2 isn’t compatible.
C:\build\mod_perl-2.0>perl Makefile.PL MP_AP_PREFIX=C:\Apache22_x64
I have found ExtUtils::Embed 1.2801 at
C:/Perl64/lib/ExtUtils/Embed.pm
This is probably not the right one for this perl version. Please make sure
there is only one version of this module installed and that it is the one
that comes with this perl version.
If you insist on using the ExtUtils::Embed as is set the environment
variable MP_USE_MY_EXTUTILS_EMBED=1 and try again.
Details: expecting ExtUtils::Embed 1.28 (according to Module::CoreList)
BEGIN failed–compilation aborted at lib/Apache2/Build.pm line 64.
Compilation failed in require at Makefile.PL line 37.
BEGIN failed–compilation aborted at Makefile.PL line 37.