Package: libapache-asp-perl
Version: 2.59-2
Severity: normal

I get this error with trying to run the example scripts:

Can't locate object method "get" via package "APR::Tabl
e" at /usr/share/perl5/Apache/ASP.pm line 2016.

Looking at:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02481.html

I found there is a cure for this:

Actually, I found a patch that solved the problem:   And , in fact, this
turned out to be a patch to ASP.pm,  not APR::Table.pm.  It was
turned in in a formal patch designation on 2005-06-22
See:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02428.html

The lines 65-71:
  if($ENV{MOD_PERL}) {
  $ModPerl2 = ($mod_perl::VERSION >= 1.99);
  if($ModPerl2) {
      eval "use Apache::ASP::ApacheCommon ();";
      die($@) if $@;
  }
  }

become
  if($ENV{MOD_PERL}) {
  $ModPerl2 = ($mod_perl::VERSION >= 1.99);
  my $ver = $mod_perl::VERSION;
  if ($ver eq "") { $ver = $ENV{MOD_PERL_API_VERSION}; }
  $ModPerl2 = ($ver >= 1.99);
  if($ModPerl2) {
      eval "use Apache::ASP::ApacheCommon ();";
      die($@) if $@;
  }
  }

I put this patch into ASP.pm and it did the trick.

Ken Rea



-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libapache-asp-perl depends on:
ii  libmldbm-perl                 2.01-1     Store multidimensional hash struct
ii  libmldbm-sync-perl            0.30-2     Perl module for safe concurrent ac
ii  libwww-perl                   5.805-1    WWW client/server library for Perl
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

Versions of packages libapache-asp-perl recommends:
ii  libapache2-mod-perl2          2.0.2-2.4  Integration of perl with the Apach

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to