On Fri, 21 Jun 2002, Vladimir Goncharov wrote: > Hello All, I am failed to compile mod_perl on Win32 using > "Apache mod_perl-1.xx installation instructions for Win32" > from http://perl.apache.org/win32_compile.html > > Used software : > Apache 1.3.26 + mod_ssl 2.8.9 > mod_perl 1.27 > ActivePerl -5.6.1.631-MSWin32-x86 > MS VC++ 6.0 > Win2k prof SP2 > > I could compile mod_perl.so using "Building with MS Developer > Studio" instructions only with three additional steps. > > First, after > > perl Makefile.PL > nmake install > I need to add this lines to Makefile > > ModuleConfig :: > > cd src/modules/perl > > $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) > $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc && $(MV) $*.xsc > $*.c > > == > and then run "nmake ModuleConfig" to get ModuleConfig.c which > is missing without this step.
Thanks for pointing that out ... ModuleConfig builds when using the 'perl Makefile.PL APACHE_SRC=...' method, described later on in the page, so something seems missing when using the Developer Studio method. I'll look into that .... > Second, I need to select "Show directories for: [Include > files]", and add > > driveletter:\somewhere\APACHE_1.3.26\SRC\OS\WIN32 This is mentioned in the docs, but very briefly - perhaps it could be given more prominence .... > Third, for Apache compiled with mod_ssl, I need to add /D > "EAPI" in Project/Settings/[C/C++]/"Project Options" This is missing in the Developer Studio docs, and should be added (it is available in the 'perl Makefile.PL .... EAPI=1' way of building). I'll add it to the docs. > Question: Is there mistakes in instructions on > http://perl.apache.org/win32_compile.html or I did something > wrong? As long as 'nmake test' passes all tests, things are probably fine ... I'll look into the issues above - thanks. best regards, randy kobes