Thanks for the suggestion, it still is not helping. I'm probably missing some config file or something. I build on a separate server and tar everything up and bring it over here to test on.
[EMAIL PROTECTED]:~# rm -r perlsetvar-bug-mp2
[EMAIL PROTECTED]:~# tar -xzf perlsetvar-bug-mp2.tar.gz
[EMAIL PROTECTED]:~# cd perlsetvar-bug-mp2
[EMAIL PROTECTED]:~/perlsetvar-bug-mp2# perl Makefile.PL -axps `which apxs`
Checking if your kit is complete...
Looks good
Writing Makefile for perlsetvar-bug
[EMAIL PROTECTED]:~/perlsetvar-bug-mp2# make
[EMAIL PROTECTED]:~/perlsetvar-bug-mp2# make test
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /data1/system/root/perlsetvar-bug-mp2/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /data1/system/root/perlsetvar-bug-mp2/t/TEST -bugreport -verbose=0
[ error] configure() has failed:
find_apache_module: module name argument is required at /kinnetics/component/httpd/site_perl/i386-linux-thread-multi/Apache/TestConfig.pm line 702.
[warning] forcing Apache::TestConfig object save [warning] run 't/TEST -clean' to clean up before continuing make: *** [run_tests] Error 1 [EMAIL PROTECTED]:~/perlsetvar-bug-mp2# which apxs /kinnetics/component/httpd/bin/apxs [EMAIL PROTECTED]:~/perlsetvar-bug-mp2#
Meanwhile, I changed the <Perl> section from my previous e-mail to, and I get the same results as if it were in the <Perl> section. Commenting out those lines make it work.
<Location /nm>
AuthName "foobar"
AuthType Basic
Require valid-user
PerlAuthenHandler Apache::Kinnetics::Authenticate
PerlAuthzHandler Apache::Kinnetics::Authorize
</Location>
My build.pl looks like this:
cd apache
./configure \
--prefix=/kinnetics/component/httpd \
--with-mpm=prefork \
--enable-rewrite=shared \
--enable-auth=shared \
--enable-cgi=shared \
--enable-alias=shared \
--enable-proxy=shared \
--enable-autoindex=shared \
--enable-setenvif=shared \
--enable-status \
--enable-dav=shared \
--enable-dav_fs=shared \
--disable-asis \
--disable-imap \
--disable-userdir \
--disable-negotiation \
--disable-include \
--disable-env
make
make install DESTDIR=/tmp/apache-kinnetics-$USER
make clean
cd ..cd mod_perl
perl Makefile.PL MP_AP_PREFIX=/tmp/apache-kinnetics-$USER/kinnetics/component/httpd \
LIB=/tmp/apache-kinnetics-$USER/kinnetics/component/httpd/site_perl \
PREFIX=/tmp
make
make test
make install
cd ..
-- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
