Philip M. Gollucci wrote: > Philip M. Gollucci wrote: >> Hi, >> >> So we need to set either ENV{MOD_PERL}=2 or perl Makefile.PL MOD_PERL=2 >> >> The latter results in invalid args for MakeMaker. >> >> Anybody want to suggest another method or is just setting the ENV okay. I >> guess I only hesistate >> because of its name. Feel free to commit this or something else and don't >> wait for me. > Another solution is to take MP_APXS and pass it as -apxs (only for dynamic > builds though) > Actually, if we want the full set of tests to run I think we need to do it > that way. *bother* > > Static gets slightly more interesting....
I'm sorry to say, I see no good way to do this.... Anyone got any pointers ? My current in-progress best guest is to do something similar to but more complex because it needs PERL5LIB to have../lib for mod_perl2.pm and ../Apache-Test/lib for Apache-Test and related It also needs if()s for static builds. Also whats the best way to actually cross platform "chdir" to Apache-SizeLimit ? svn diff Index: Makefile.PL =================================================================== --- Makefile.PL (revision 438814) +++ Makefile.PL (working copy) @@ -75,6 +75,12 @@ ABSTRACT_FROM => 'lib/mod_perl2.pm', EXE_FILES => [EMAIL PROTECTED], DEFINE => get_DEFINE(), + DIR => [qw( + Apache-Test + ModPerl-Registry + WrapXS + xs + )], macro => { MODPERL_SRC => $code->path, MODPERL_MAKEFILE => basename($build->default_file('makefile')), @@ -93,8 +99,15 @@ }, ); +configure_apache_sizelimit(); + post_configure(); +sub configure_apache_sizelimit { + + print STDERR "cd Apache-SizeLimit ; " . $build->perl_config('perlpath') . " Makefile.PL -apxs $build->{MP_APXS}"; +} + -- ------------------------------------------------------------------------ Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "In all that I've done wrong I know I must have done something right to deserve a hug every morning and butterfly kisses at night." __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / / /|_/ / // /\ \/ /_/ / /__ /_/ /_/\_, /___/\___\_\___/ <___/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]