Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
According to Perrin Harkins per...@elem.com on Tue, 06/21/11 at 11:57: Maybe I'm the one confused now, but I thought you said that when you removed that the application started and those errors about the modules went away. You said that instead you got errors about unreferenced scalar stuff

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
According to Andr? Warnier a...@ice-sa.com on Tue, 06/21/11 at 12:05: Right, but what that page is showing, is the syntax of the perl use some::module; directive, as used /inside of a perl program/. Here we are talking about the PerlModule directive, as used in a httpd.conf file (or another

RE: apache2 or mod_perl2 oddball error

2011-06-21 Thread James B. Muir
, 2011 12:51 PM To: Andr? Warnier Cc: mod_perl list Subject: Re: apache2 or mod_perl2 oddball error According to Andr? Warnier a...@ice-sa.com on Tue, 06/21/11 at 12:05: Right, but what that page is showing, is the syntax of the perl use some::module; directive, as used /inside of a perl program

Re: apache2 or mod_perl2 oddball error

2011-06-19 Thread André Warnier
William Bulley wrote: According to Perrin Harkins per...@elem.com on Fri, 06/17/11 at 15:35: On Fri, Jun 17, 2011 at 3:20 PM, William Bulley w...@umich.edu wrote: Recall that all I'm trying to do at this point is to get the apache server up and running. ?The fact that these two lines in this

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer f...@redhotpenguin.com on Thu, 06/16/11 at 13:56: Hmm, odd that it wouldn't work under 2.0.5 but it would under 2.0.4. I have spent some time today looking at the change logs for both mod_perl2 and apache2 to see what, if anything, might point to a change that could have

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Fred Moyer
On Fri, Jun 17, 2011 at 10:29 AM, William Bulley w...@umich.edu wrote: I have Perl 5.14 compiled from source. I have apache 2.2.19  compiled from source. I have mod_perl2 2.0.5 compiled from source (with these patches): Can you pull 2.0.6-dev from svn and build?

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Perrin Harkins
On Fri, Jun 17, 2011 at 12:34 PM, William Bulley w...@umich.edu wrote:   PerlModule Apache2::Const -compile = ':common'   PerlModule APR::Const -compile = ':common' That syntax used to work? It seems unlikely. I've never seen a PerlModule call with options like this before. I'd expect it to

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer f...@redhotpenguin.com on Fri, 06/17/11 at 13:43: On Fri, Jun 17, 2011 at 10:29 AM, William Bulley w...@umich.edu wrote: I have Perl 5.14 compiled from source. I have apache 2.2.19 ?compiled from source. I have mod_perl2 2.0.5 compiled from source (with these

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to James B. Muir james.b.m...@hitchcock.org on Fri, 06/17/11 at 13:29: Have you checked the permissions on the Const.pm module? freebsd% ls -l /usr/local/lib/perl5/site_perl/5.14.0/mach/APR/Const.pm \ /usr/local/lib/perl5/site_perl/5.14.0/mach/Apache2/Const.pm \

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins per...@elem.com on Fri, 06/17/11 at 13:44: On Fri, Jun 17, 2011 at 12:34 PM, William Bulley w...@umich.edu wrote: ? PerlModule Apache2::Const -compile = ':common' ? PerlModule APR::Const -compile = ':common' That syntax used to work? It seems unlikely. I've

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Perrin Harkins
On Fri, Jun 17, 2011 at 2:18 PM, William Bulley w...@umich.edu wrote: Others have suggested that I strip the parameters - I did and no change. Others suggested I place the module(s) invocation inside (the existing) Perl.../Perl tags - I did and no change.  Go figure? Have you tried making a

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins per...@elem.com on Fri, 06/17/11 at 14:24: Have you tried making a startup.pl and calling these from there with use() ? Recall that all I'm trying to do at this point is to get the apache server up and running. The fact that these two lines in this include file of

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Perrin Harkins
On Fri, Jun 17, 2011 at 3:20 PM, William Bulley w...@umich.edu wrote: Recall that all I'm trying to do at this point is to get the apache server up and running.  The fact that these two lines in this include file of this particular application case apachectl -t to error out should have nothing

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer f...@redhotpenguin.com on Fri, 06/17/11 at 13:43: On Fri, Jun 17, 2011 at 10:29 AM, William Bulley w...@umich.edu wrote: I have Perl 5.14 compiled from source. I have apache 2.2.19 ?compiled from source. I have mod_perl2 2.0.5 compiled from source (with these

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Fred Moyer
I think Perrin is right, I've never seen -compile syntax used in PerlModule directives. Move the PerlModule directives into a startup.pl file. In your httpd.conf: LoadModule perl_modulemodules/mod_perl.so PerlPostConfigRequire /my/startup.pl In your startup.pl: #!/usr/bin/perl use

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer f...@redhotpenguin.com on Fri, 06/17/11 at 16:22: I think Perrin is right, I've never seen -compile syntax used in PerlModule directives. Move the PerlModule directives into a startup.pl file. In your httpd.conf: LoadModule perl_modulemodules/mod_perl.so

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins per...@elem.com on Fri, 06/17/11 at 15:35: On Fri, Jun 17, 2011 at 3:20 PM, William Bulley w...@umich.edu wrote: Recall that all I'm trying to do at this point is to get the apache server up and running. ?The fact that these two lines in this include file of

Re: apache2 or mod_perl2 oddball error

2011-06-16 Thread Fred Moyer
On Thu, Jun 16, 2011 at 9:28 AM, William Bulley w...@umich.edu wrote: The httpd.conf file is unchanged and was working since from before the upgrade. In the /usr/local/etc/apache22/httpd.conf file are these lines among several hundred other lines:   LoadModule perl_module

Re: apache2 or mod_perl2 oddball error

2011-06-16 Thread William Bulley
According to Fred Moyer f...@redhotpenguin.com on Thu, 06/16/11 at 13:56: Hmm, odd that it wouldn't work under 2.0.5 but it would under 2.0.4. My point exactly... :-( No idea why offhand. Do you use a startup.pl in your application? No. The application's URL points to a directory with