On Thu, 11 Apr 2002, Stas Bekman wrote: > pascal barbedor wrote: > >>Also try building from scratch and see if 'make test' passes for you. > > > > >That would be the best help, instead of trying to use pre-compiled > > >binaries at this point. > > > > > > there is no apxs built after compiling httpd-2.0.35 sources > > I have built everything under win2k , and don't find apxs > > does anyone know where it is ? > > > > when i want to build modperl2 I am asked MP_APXS to point to apxs > > so I cannot build modpel2 under win2k > > > > pascal > > > > On unix it's your_httpd_root/bin/apxs by default, dunno about winFU. > Hopefully Randy or someone else will be able to answer your question > when they read this. > > grep the output of 'make install' and see where it goes. > > We are talking about httpd built with DSO enabled, so you need to pass > at least --enable-so to configure. Static build doesn't work yet with > mod_perl 2.0.
How I built it on Win32, after building and installing httpd-2 to C:\Apache2, is perl Makefile.PL MP_AP_PREFIX=C:\Apache2 MP_GENERATE_XS=1 nmake nmake install and then copy the mod_perl.so to \Apache2\modules. If you're running mod_perl-1 under the same Perl tree, there's an option to Makefile.PL to install things to Apache2/, or you can, eg, place the mod_perl-2 blib/ directory under, eg, \Apache2, and then use the directive PerlSwitches -Mblib=C:\Apache2 in httpd.conf. I'm not sure if this is relevant to the apr_bucket errors Chuck found in building, but I used the cvs sources of both httpd-2 and modperl-2 in building, and didn't find such problems (with the latest ActivePerl, based on perl-5.6.1, with VC++ 6 (sp5) on WinXP). On Win32 there were some problems for me in running the tests via 'nmake test'; some Apache2 modules needed to be added to be loaded early on in the generated httpd.conf, and the path to mime.types got mangled. I'll work on getting a patch for this. Even after this fix, 'nmake test' hung after about t/apache/post.t, although running it manually as, eg, perl -Mblib t/TEST t/apache/post.t worked, in this particular case. best regards, randy