MP1 -> MP2 migration Problems.

2008-02-13 Thread Petry Roman, IT
Hello @all, we are just transfering our Intranet Server which used Apache 1.3 and mod_perl1 from SLES8 to SLES10 wiht Apache2 and mod_perl2. The switch has to go quick and we can´t redesign all of our old mp1 programs to mp2, so we try to use the compat module. But I have no luck with it. I te

Re: MP1 -> MP2 migration Problems.

2008-02-13 Thread Jim Brandt
You might try it without the parens: use Apache2::compat; Petry Roman, IT wrote: Hello @all, we are just transfering our Intranet Server which used Apache 1.3 and mod_perl1 from SLES8 to SLES10 wiht Apache2 and mod_perl2. The switch has to go quick and we can´t redesign all of our old mp1 p

Re: MP1 -> MP2 migration Problems.

2008-02-13 Thread Randy Kobes
On Wed, 13 Feb 2008, Petry Roman, IT wrote: Hello @all, we are just transfering our Intranet Server which used Apache 1.3 and mod_perl1 from SLES8 to SLES10 wiht Apache2 and mod_perl2. There's a couple of documents: http://perl.apache.org/docs/2.0/user/porting/porting.html http://perl.a

AW: MP1 -> MP2 migration Problems.

2008-02-13 Thread Petry Roman, IT
this time.. Sorry it´s not my decision. Another tip 8-) bye ROman -Ursprüngliche Nachricht- Von: Randy Kobes [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. Februar 2008 17:55 An: Petry Roman, IT Cc: modperl@perl.apache.org Betreff: Re: MP1 -> MP2 migration Problems. On Wed, 13 Feb 2

Re: MP1 -> MP2 migration Problems.

2008-02-13 Thread Petry Roman, IT
gliche Nachricht- Von: Jim Brandt [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. Februar 2008 17:46 An: Petry Roman, IT Cc: modperl@perl.apache.org Betreff: Re: MP1 -> MP2 migration Problems. You might try it without the parens: use Apache2::compat; Petry Roman, IT wrote: &g

Re: MP1 -> MP2 migration Problems.

2008-02-13 Thread Perrin Harkins
On Feb 13, 2008 9:09 AM, Petry Roman, IT <[EMAIL PROTECTED]> wrote: > Can't locate object method "request" via package "Apache" at > /usr/lib/cgi-bin/test1.pl line 4. If Apache2::compat is loaded, it should create that namespace. Dump %INC from your script and see if Apache.pm is in it. - Perri

Re: MP1 -> MP2 migration Problems.

2008-02-13 Thread Petry Roman, IT
Perrin Harkins Gesendet: Mittwoch, 13. Februar 2008 20:47 An: Petry Roman, IT Cc: modperl@perl.apache.org Betreff: Re: MP1 -> MP2 migration Problems. On Feb 13, 2008 9:09 AM, Petry Roman, IT <[EMAIL PROTECTED]> wrote: > Can't locate object method "request" via package &quo

Re: MP1 -> MP2 migration Problems.

2008-02-13 Thread André Warnier
Apache2/Module.pm lib.pm ModPerl/Registry.pm DynaLoader.pm Apache2/RequestIO.pm Apache/File.pm APR/Table.pm sum: 61 Looks ok i think. Apache.pm is loaded.. So why can´t i get it to work.. damn thing 8-). bye roman -----Ursprüngliche Nachricht- Von: [EMAIL PROTECTE

Re: MP1 -> MP2 migration Problems.

2008-02-13 Thread André Warnier
t it to work.. damn thing 8-). bye roman -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Perrin Harkins Gesendet: Mittwoch, 13. Februar 2008 20:47 An: Petry Roman, IT Cc: modperl@perl.apache.org Betreff: Re: MP1 -> MP2 migration Problems. On Feb 13,

AW: MP1 -> MP2 migration Problems.

2008-02-14 Thread Petry Roman, IT
apache2 with compat enabled. Perhaps it is broken in some ways ? bye Roman -Ursprüngliche Nachricht- Von: André Warnier [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. Februar 2008 23:01 An: modperl@perl.apache.org Cc: Petry Roman, IT Betreff: Re: MP1 -> MP2 migration Problems. Of

Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Rafael Caceres
Andre, On Wed, 2008-02-13 at 23:00 +0100, André Warnier wrote: > Of course, what I forgot to mention below - and sorry if you know that > already - is that whichever perl modules you pre-load in your main > Apache server config via the startup.pl script, you do not need to "use" > anymore in al

Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Malcolm
On Thursday 14 February 2008 09:13:41 am Rafael Caceres wrote: > On Wed, 2008-02-13 at 23:00 +0100, André Warnier wrote: > > Of course, what I forgot to mention below - and sorry if you know that > > already - is that whichever perl modules you pre-load in your main > > Apache server config via th

Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Perrin Harkins
On Thu, Feb 14, 2008 at 9:13 AM, Rafael Caceres <[EMAIL PROTECTED]> wrote: > This is the first time that NOT using "use" because it was preloaded is > mentioned. In fact, how would the modules compile (while testing for > example)? Modules loaded into the perl interpreter at startup are still t

Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Perrin Harkins
On Wed, Feb 13, 2008 at 3:08 PM, Petry Roman, IT <[EMAIL PROTECTED]> wrote: > Looks ok i think. Apache.pm is loaded.. So why can´t i get it to work.. damn > thing 8-). This is starting to look like a bug in Apache2::compat to me. I think request() is defined in the wrong namespace. I'll try to

Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Randy Kobes
On Thu, 14 Feb 2008, Perrin Harkins wrote: On Wed, Feb 13, 2008 at 3:08 PM, Petry Roman, IT <[EMAIL PROTECTED]> wrote: Looks ok i think. Apache.pm is loaded.. So why can´t i get it to work.. damn thing 8-). This is starting to look like a bug in Apache2::compat to me. I think request() is

RE: MP1 -> MP2 migration Problems.

2008-02-15 Thread Petry Roman, IT
PROTECTED] Gesendet: Donnerstag, 14. Februar 2008 21:56 An: Perrin Harkins Cc: Petry Roman, IT; modperl@perl.apache.org Betreff: Re: MP1 -> MP2 migration Problems. On Thu, 14 Feb 2008, Perrin Harkins wrote: > On Wed, Feb 13, 2008 at 3:08 PM, Petry Roman, IT > <[EMAIL PROTECTED]> wr

Re: MP1 -> MP2 migration Problems.

2008-02-18 Thread André Warnier
Perrin Harkins wrote: On Thu, Feb 14, 2008 at 9:13 AM, Rafael Caceres <[EMAIL PROTECTED]> wrote: This is the first time that NOT using "use" because it was preloaded is mentioned. In fact, how would the modules compile (while testing for example)? Modules loaded into the perl interpreter

Re: MP1 -> MP2 migration Problems.

2008-02-18 Thread Perrin Harkins
On Feb 18, 2008 4:40 AM, André Warnier <[EMAIL PROTECTED]> wrote: > What I have until now believed is that perl "code" is in fact "data" for > the perl interpreter, and that as such it cannot really be "shared". > What I mean is that, as soon as some bit is changed in a "page" of any > perl module,