Geoffrey Young wrote:
Thanks Geoff, don't forget that ModPerl::MM::WriteMakefile is *already* used to build mod_perl extensions on Win32. So I don't think there should be any problem. It's definitely a good idea to hide all those platform specific things for the end-developers.Stas Bekman wrote:Doug, have you intended ModPerl::MM to be used only internally to the mod_perl build or by other 3rd party modules as well?
I like it much more than Apache::src. I'm currently porting Apache::Peek and the Makefile.PL is:
use Apache2;
use mod_perl 1.99;
use ModPerl::MM ();
ModPerl::MM::WriteMakefile(
NAME => "Apache::Peek",
VERSION_FROM => "Peek.pm",
);
And it works ;)
however you do it, it would be nice if all platforms had the same level of ease as unix - namely Win32. Randy did some nice work on creating a Makefile.PL template that works on both Win32 and Unices, but it's rather verbose and relies on Apache::src. see
http://www.modperlcookbook.org/code/ch03/Cookbook-SimpleRequest-0.01/Makefile.PL
for an example.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
