On 25/06/2014 13:41, Brian Candler wrote:
I notice that there is a newer version of Apache2::AuthCookie (3.22)
available, so I installed that from CPAN. But this changes the error to:
[Wed Jun 25 13:35:26.054231 2014] [perl:error] [pid 17668] [client
10.0.2.2:50801] Can't locate object method "requires" via package
"Apache2::RequestRec" at
/usr/local/share/perl/5.18.2/Apache2/AuthCookie.pm line 388.\n,
referer: http://localhost:8013/testsite/protected/example.html
and indeed, I see no 'requires' member in
http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html
Based on git://github.com/mschout/apache-authcookie.git
and "git diff v3.20 v3.22" I'd say that that 3.22 was little more than
reverting 3.21
The CPAN and github versions of 3.22 are very similar (minor differences
in POD sections)
but diff -u /usr/share/perl5/Apache2/AuthCookie.pm
/usr/local/share/perl/5.18.2/Apache2/AuthCookie.pm
shows that Ubuntu's version is very different to the CPAN/github one.
I'm stumped now.