shamu has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to use the Apache::Filter 1.024 module with Mason 1.39, mod_perl 2.0.3, and Apache 2.2.8, and I'm having problems getting past an error message that says, "To use Apache::Filter with Mason you must have at least version 1.021 of Apache::Filter". CPAN reports that I have it installed, however, building it manually I'm getting errors consistent with it not being compatible with Apache 2. I've also tried using Apache2::compat without success. Ultimately, I'd like to be able to use Apache::Clickable or something similar to make URLs automagically clickable. However, it depends on Apache::Filter.
Any idea why this might be occurring? I'm open to other Apache2 solutions if they're out there...?
make test t/httpd -f `pwd`/t/httpd.conf Syntax error on line 2 of /root/Apache-Filter-1.024/t/httpd.conf: Port was replaced with Listen in Apache 2.0 make: *** [start_httpd] Error 1 perl Makefile.PL Port to run tests under [8228]: Checking if your kit is complete... Looks good Warning: prerequisite mod_perl 1.24_01 not found. Writing Makefile for Apache::Filter make test t/httpd -f `pwd`/t/httpd.conf Syntax error on line 2 of /.cpan/build/Apache-Filter-1.024-f6ZKdB/t/ht +tpd.conf: Port was replaced with Listen in Apache 2.0 make: *** [start_httpd] Error 1 cpan -i Apache::Filter Apache::Filter is up to date (1.024). perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.24-gentoo-r3, archname=x86_64-linux-threa +d-multi uname='linux sundew 2.6.24-gentoo-r3 #11 smp wed apr 16 13:46:16 c +dt 2008 x86_64 amd athlon(tm) 64 x2 dual core processor 3800+ authent +icamd gnulinux ' config_args='-des -Darchname=x86_64-linux-thread -Dcccdlflags=-fPI +C -Dccdlflags=-rdynamic -Dcc=x86_64-pc-linux-gnu-gcc -Dprefix=/usr -D +vendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth= -Doptimize=-march=k +8 -O2 -pipe -fomit-frame-pointer -Duselargefiles -Dd_semctl_semun -Ds +criptdir=/usr/bin -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/ +man/man3 -Dinstallman1dir=/usr/share/man/man1 -Dinstallman3dir=/usr/s +hare/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dinc_version_list=5.8.0 5.8. +0/x86_64-linux-thread-multi 5.8.2 5.8.2/x86_64-linux-thread-multi 5.8 +.4 5.8.4/x86_64-linux-thread-multi 5.8.5 5.8.5/x86_64-linux-thread-mu +lti 5.8.6 5.8.6/x86_64-linux-thread-multi 5.8.7 5.8.7/x86_64-linux-th +read-multi -Dcf_by=Gentoo -Ud_csh -Dusenm -Dusethreads -Ui_ndbm -Ui_ +gdbm -Di_db -Dusrinc=/usr/include/gentoo-multilib/amd64 -Dlibpth=/usr +/local/lib64 /lib64 /usr/lib64' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemulti +plicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='x86_64-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE + -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-s +tatement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gd +bm', optimize='-march=k8 -O2 -pipe -fomit-frame-pointer', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-stri +ct-aliasing -pipe -Wdeclaration-after-statement -I/usr/include/gdbm' ccversion='', gccversion='4.1.2 (Gentoo 4.1.2 p1.1)', gccosandvers +='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='x86_64-pc-linux-gnu-gcc', ldflags =' -L/usr/local/lib64' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl. +a gnulibc_version='2.6.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynami +c' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_64_BIT_ +ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at May 13 2008 11:19:32 @INC: /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache::Filter and mod_perl2
by jasonk (Parson) on May 29, 2008 at 23:57 UTC |