hmmm, on second thoughts I think this is all my fault. Apologies for the noise caused. I blame the heatwave we're having for my lack of brainpower...
Stephen On Thu, Jun 23, 2005 at 09:21:05PM +0100, Stephen Quinney wrote: > Package: libhtml-mason-perl > Version: 1:1.28-2 > Severity: important > > Since installing the latest libhtml-mason-perl package I am having > some trouble. > > Running a compile check on my code gives: > > [EMAIL PROTECTED]:~ :)$ perl -wc /usr/share/birdwatching/libexec/handler.pl > Undefined subroutine &Apache::perl_hook called at > /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 356. > BEGIN failed--compilation aborted at > /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 356. > Compilation failed in require at /usr/share/birdwatching/libexec/handler.pl > line 5. > BEGIN failed--compilation aborted at > /usr/share/birdwatching/libexec/handler.pl line 5. > > The relevant bit of code from my handler.pl is: > > package SJQ::Birds::Mason; # -*- cperl -*- > use strict; > use warnings; > > use HTML::Mason::ApacheHandler; > use Apache::Request; > > my $ah = HTML::Mason::ApacheHandler->new > ( > default_escape_flags => 'h', > comp_root => '/usr/share/birdwatching/html/', > data_dir => '/var/cache/mason', > use_strict => 1 > ); > > So, it's failing at the "use HTML::Mason::ApacheHandler;" line. > > Thanks, > > Stephen Quinney > > -- System Information: > Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.11 > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) > > Versions of packages libhtml-mason-perl depends on: > ii libcache-cache-perl 1.04-1 Managed caches of persistent > infor > ii libclass-container-perl 0.11-0.1 Glues object frameworks together > t > ii libexception-class-perl 1.20-1 a module that allows you to > declar > ii libparams-validate-perl 0.76-1 validate parameters to Perl > method > ii perl 5.8.7-3 Larry Wall's Practical > Extraction > ii perl-base [libscalar-list-uti 5.8.7-3 The Pathologically Eclectic > Rubbis > > Versions of packages libhtml-mason-perl recommends: > ii libapache-mod-perl 1.29.0.3-6 integration of perl with the > Apach > ii libapache-request-perl 1.1-0.1 Generic Apache Request Library > ii libapache2-mod-perl2 2.0.1-1 Integration of perl with the > Apach > > -- debconf information: > * libhtml-mason-perl/install_examples: true > * libhtml-mason-perl/auto_restart_apache: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]