Carl Johnstone wrote: > Sounds like a good idea, and if we point people in the right > direction to get updated versions/backports for their distro that > might help with the rest. > As a Debian user I'd like to move to mod_perl2 proper, however I > don't want to have to compile it for myself. So I've been taking the > option of using the version in Sarge, and figuring our where I differ > from the docs. > I've been checking apt-get.org regularly to see if anybody had setup > a repository, and backports. I hadn't been checking the incoming > folder on backports, so didn't realise that somebody had done the > pacakge till it was mentioned on here recently.
I have been trying to set up an apache2/ mod_perl2 development environment using Debian 3.1 (Sarge), without much success. These are the Debian packages I've installed thus far: [EMAIL PROTECTED]:~# dpkg --get-selections | egrep '(apache|mod.*perl)' apache2 install apache2-common install apache2-doc install apache2-mpm-prefork install apache2-utils install libapache2-mod-perl2 install libapache2-mod-php4 install When I try to port my Eagle book modules to mod_perl2, I trip over the very first step: [EMAIL PROTECTED]:~$ perl -e "use EagleBook2::Hello" Can't locate Apache/Constants.pm in @INC ... STFW, simply changing "use Apache::Constants" to "use ModPerl::Const" doesn't work, because I don't have ModPerl::Const, it's not available via Apt, and trying to install it via CPAN fails: [EMAIL PROTECTED]:~$ cpan ModPerl::Const ... Please provide the location of the Apache directory: [ error] Can't find dir '' If I understand the error, cpan wants to know where my Apache build directory is. I installed Apache2 via with Apt, so I don't have an apache build directory. Also, I prefer using "binary" packages for a given *nix distribution -- it's not my goal to develop Apache2 and/or mod_perl2, I want to *use* them to build web applications. STFW, I found "Porting Apache:: Perl Modules from mod_perl 1.0 to 2.0": http://winnipeg.pm.org/modperl/docs/2.0/user/porting/porting.html And have created a "lookup" alias: [EMAIL PROTECTED]:~$ grep Method .bashrc alias lookup="perl -MModPerl::MethodLookup -e print_method" But, I'm missing the ModPerl::MethodLookup module, it's not available via Apt, and trying to install it via CPAN leads to the exact same problem as above. Has anyone had success using Debian 3.1 with Apache2 and mod_perl2? Should I just forget Debian and switch to another *nix that has better support for Apache2/ mod_perl2? Someone mentioned FreeBSD -- which version? 5.4? Are there "ports" for CPAN modules, or does the user go to CPAN directly? TIA, David