Page 1 of 1

Apache::AuthChecker ?

Posted: 2011/11/30 10:17:52
by bluegroper
Hi forum
I'd like to trial and test the Apache::AuthChecker module on CentOS 5.7.
Here's the output from make and make test.

[code][root@centos5 Apache-AuthChecker-1.01]# [b]perl Makefile.PL[/b]
Writing Makefile for Apache::AuthChecker
Writing MYMETA.yml and MYMETA.json
[root@centos5 Apache-AuthChecker-1.01]# [b]make[/b]
Skip blib/lib/Apache/ (unchanged)
gcc -c -I/usr/include/httpd -I/usr/include/httpd/modules/perl -I/usr/include/apr-1 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -DMOD_PERL -DMP_COMPAT_1X -DLINUX=2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" AuthChecker.c
AuthChecker.c:38: warning: ‘S_croak_xs_usage’ defined but not used
Running Mkbootstrap for Apache::AuthChecker ()
chmod 644
rm -f blib/arch/auto/Apache/AuthChecker/
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic AuthChecker.o -o blib/arch/auto/Apache/AuthChecker/ \

chmod 755 blib/arch/auto/Apache/AuthChecker/
cp blib/arch/auto/Apache/AuthChecker/
chmod 644 blib/arch/auto/Apache/AuthChecker/
Manifying blib/man3/Apache::AuthChecker.3pm
[root@centos5 Apache-AuthChecker-1.01]# [b]make test[/b]
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch"
[b]Can't add module directives2: Undefined subroutine &Apache2::Module::add called at blib/lib/Apache/ line 113.[/b]

Compilation failed in require at line 11.
BEGIN failed--compilation aborted at line 11.
not ok 1
make: *** [test_dynamic] Error 9
[root@centos5 Apache-AuthChecker-1.01]# [/code]

Is there a correct procedure to ensure success ?