Bug#418825: libapache2-mod-perl2: Apache2.pm not found in @INC after dist upgrade

2007-08-17 Thread Gunnar Wolf
severity 418825 normal
tag 418825 + etch
thanks

Hi,

First of all, excuse us for taking so long to answer to this
mail. mod_perl2 was sadly undermaintained, and its bugs were left to
rot - even when ranked at a high severity. I just adopted this package
today. 

I am downgrading this bug to normal, as it includes a workaround,
and will work on a way to address it for users who have not yet
upgraded. However, automatic upgrades will probably just not work -
When Sarge was frozen as the stable version back in 2005, mod_perl2
was just about to stabilize its API - It was named
libapache2-mod-perl2, and most of the API was in place, but you will
understand from the 1.999.21-1 version number something was just about
to happen. 

And it happened - Apache modules written with the previous API will
not work with the current one. The changes are simple, however, and
documented.

Please take a look at Apache's A Reference to mod_perl 1.0 to
mod_perl 2.0 Migration [1] and (if your modules mix Perl and C code)
Porting Apache:: XS Modules from mod_perl 1.0 to 2.0. For some
discussion on the rationale behind the Apache authors for this change,
you should also read mod_perl 2.0 renaming [3].

Keep in mind that the modules you developed for Sarge are made for an
intermediate API - They are no longer compatible with Apache 1.x's
mod_perl API, but they are still not 2.0 compliant.

Thank you for your understanding, and apologies for not making this
known to you in advance.

Greetings,

[1] http://perl.apache.org/docs/2.0/user/porting/compat.html

[2] http://perl.apache.org/docs/2.0/devel/porting/porting.html

[3] http://perl.apache.org/docs/2.0/rename.html

-- 
Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF


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



Bug#418825: libapache2-mod-perl2: Apache2.pm not found in @INC after dist upgrade

2007-06-27 Thread Sam Morris
Could someone please check whether this happens with 2.0.3?

-- 
Sam Morris [EMAIL PROTECTED]


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



Bug#418825: libapache2-mod-perl2: Apache2.pm not found in @INC after dist upgrade

2007-04-12 Thread Robin Szemeti
Package: libapache2-mod-perl2
Version: 2.0.2-2.4
Severity: grave
Justification: renders package unusable

after a dist upgrade from sarge to etc, apache2 refused to start

error log shows Perl is unable to find Apache2.pm

[EMAIL PROTECTED]:~$ locate Apache2.pm
/usr/lib/perl5/Bundle/Apache2.pm


[EMAIL PROTECTED]:~$ perl -e 'use Apache2'
Can't locate Apache2.pm in @INC (@INC contains: /etc/perl 
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl 
/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
[EMAIL PROTECTED]:~$

debian:/home/robin# apt-get install libapache2-mod-perl2
Reading package lists... Done
Building dependency tree... Done
libapache2-mod-perl2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

clues?

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages libapache2-mod-perl2 depends on:
ii  apache2. 2.2.3-4 Next generation, scalable, extenda
ii  libapr1  1.2.7-8.2   The Apache Portable Runtime Librar
ii  libaprut 1.2.7+dfsg-2The Apache Portable Runtime Utilit
ii  libc62.3.6.ds1-13GNU C Library: Shared libraries
ii  libdevel 2.03-3  Perl module for inspecting perl's 
ii  libperl5 5.8.8-7 Shared Perl library
ii  liburi-p 1.35-2  Manipulates and accesses URI strin
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-2 universally unique id library
ii  libwww-p 5.805-1 WWW client/server library for Perl
ii  netbase  4.29Basic TCP/IP networking system
ii  perl [li 5.8.8-7 Larry Wall's Practical Extraction 
ii  perl-bas 5.8.8-7 The Pathologically Eclectic Rubbis

libapache2-mod-perl2 recommends no packages.

-- debconf-show failed


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