Subject: | Suggestion - including mod_perl in strawberry release |
Hi,
I have been playing with mod_perl for a while and in the end I managed to work out more or less working binaries for mod_perl (for both 5.12 and 5.10).
As you might know the biggest issue with mod_perl is that it is not ready for gcc compiler on Win32, even worse all available Apache Win32 binaries are compiled with mscv compiler thus not easily likeg with gcc-based perl (e.g. strawberry).
It turned out that the most feasible way is to use MS compiler for building mod_perl + some tricks to avoid linking with versioned msvcrt??.dll (+ one minor fix).
As Apache binaries are currently available only for 32bit MS Windows I was able to build only 32bit version for boths 5.10 and 5.12. I have used:
- Apache-2.2.15
- mod_perl 2.0.4
- perls 5.12.0 and 5.10.1 (I had to use ActivePerl for building)
I have successfully tested my binaries only on basic examples from mod_perl documentation (any additional testing welcome).
The main argument for putting mod_perl into strawberry release is enormous difficulty to get it working on strawberry (no chance to install uit from CPAN; ppm package for ActivePerl is avalable only for 5.10 and suffers from some troubles).
Another argument is that some applications - namely Bugzilla - use mod_perl as a prefered way of operation.
The resulting binaries can be found at:
- http://strawberryperl.com/package/kmx/mod_perl/5.10_x86/mod_perl-2.0.4-MSWin32-x86-multi-thread-5.10.par
- http://strawberryperl.com/package/kmx/mod_perl/5.12_x86/mod_perl-2.0.4-MSWin32-x86-multi-thread-5.12.par
What is important: we also need to distribute a file mod_perl.so - these files can be found here:
- http://strawberryperl.com/package/kmx/mod_perl/5.10_x86/mod_perl.so
- http://strawberryperl.com/package/kmx/mod_perl/5.12_x86/mod_perl.so
The question is "where to put mod_perl.so?" - I was thinking about a new dir like c:\strawberry\webservers where we can put not only mod_perl.so but also for example mod_fastcgi.so + simple Apache configuration examples showing the integration of Apache + Strawberry perl. We can also make it multi-technological and put there examples of FastCGI+IIS configuration (for IIS6.x - Win2003 and IIS7.x - Win2008/Vista/7).
--
kmx
I have been playing with mod_perl for a while and in the end I managed to work out more or less working binaries for mod_perl (for both 5.12 and 5.10).
As you might know the biggest issue with mod_perl is that it is not ready for gcc compiler on Win32, even worse all available Apache Win32 binaries are compiled with mscv compiler thus not easily likeg with gcc-based perl (e.g. strawberry).
It turned out that the most feasible way is to use MS compiler for building mod_perl + some tricks to avoid linking with versioned msvcrt??.dll (+ one minor fix).
As Apache binaries are currently available only for 32bit MS Windows I was able to build only 32bit version for boths 5.10 and 5.12. I have used:
- Apache-2.2.15
- mod_perl 2.0.4
- perls 5.12.0 and 5.10.1 (I had to use ActivePerl for building)
I have successfully tested my binaries only on basic examples from mod_perl documentation (any additional testing welcome).
The main argument for putting mod_perl into strawberry release is enormous difficulty to get it working on strawberry (no chance to install uit from CPAN; ppm package for ActivePerl is avalable only for 5.10 and suffers from some troubles).
Another argument is that some applications - namely Bugzilla - use mod_perl as a prefered way of operation.
The resulting binaries can be found at:
- http://strawberryperl.com/package/kmx/mod_perl/5.10_x86/mod_perl-2.0.4-MSWin32-x86-multi-thread-5.10.par
- http://strawberryperl.com/package/kmx/mod_perl/5.12_x86/mod_perl-2.0.4-MSWin32-x86-multi-thread-5.12.par
What is important: we also need to distribute a file mod_perl.so - these files can be found here:
- http://strawberryperl.com/package/kmx/mod_perl/5.10_x86/mod_perl.so
- http://strawberryperl.com/package/kmx/mod_perl/5.12_x86/mod_perl.so
The question is "where to put mod_perl.so?" - I was thinking about a new dir like c:\strawberry\webservers where we can put not only mod_perl.so but also for example mod_fastcgi.so + simple Apache configuration examples showing the integration of Apache + Strawberry perl. We can also make it multi-technological and put there examples of FastCGI+IIS configuration (for IIS6.x - Win2003 and IIS7.x - Win2008/Vista/7).
--
kmx