At 11:20 AM -0500 3/13/08, Bill Norton wrote:
>Mod_perl for CSWS is stuck at 5.8.6.
>Has anyone created a mod_perl for CSWS V2.1-1 and Perl 5.10.0?
>
>I looked at mod_perl 2.0.3 and the first thing Makefile.PL asks
>is for the Apache apxs location, which CSWS doesn't appear to have.

No, it appears it doesn't.  The docs for apxs are here:

http://httpd.apache.org/docs/2.0/programs/apxs.html

It looks like all it really does is compile your code using the
appropriate compiler options and include directories and then does
LINK/SHAREABLE or equivalent on it.  OK, it does a few more things
than that, like automatically updating your http.conf.   One approach
would be to work from first principles and do manually what it
is designed to do for you.

Another approach would be to find and port apxs to VMS.  Turns out
apxs is actually a Perl script available in the Apache sources under
[.support]apxs.in:

$ backup/list=src.tmp httpd-source.bck/save
$ search src.tmp apxs
[BUILD.httpd.ALPHA-CSWS-V0201-1-ECO-1.docs.man]apxs.8;1
[BUILD.httpd.ALPHA-CSWS-V0201-1-ECO-1.docs.manual.programs]apxs^.html.en;1
[BUILD.httpd.ALPHA-CSWS-V0201-1-ECO-1.docs.manual.programs]apxs^.html^.ko.euc-kr;1
[BUILD.httpd.ALPHA-CSWS-V0201-1-ECO-1.docs.manual.programs]apxs.xml;1
[BUILD.httpd.ALPHA-CSWS-V0201-1-ECO-1.docs.manual.programs]apxs^.xml.ko;1
[BUILD.httpd.ALPHA-CSWS-V0201-1-ECO-1.docs.manual.programs]apxs^.xml.meta;1
[BUILD.httpd.ALPHA-CSWS-V0201-1-ECO-1.support]apxs.in;1

So with some fiddling apxs could probably be made to work on VMS.
It's not clear to me offhand what features mod_perl really needs --
possibly not the whole "build shareable" part which Perl's extension
building mechanism already knows how to do.
-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to