Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins on Fri, 06/17/11 at 15:35: > > On Fri, Jun 17, 2011 at 3:20 PM, William Bulley 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 applicati

Re: How do you use mod_perl for your web application?

2011-06-17 Thread Randolf Richardson
> I'm interested in hearing about what application frameworks (Catalyst, > CGI::App, Mojolicious) are used here with mod_perl. Given the number > of emerging Perl based webservers on CPAN (in addition to Nginx, > lighty, etc), it seems like there are many more Perl web application > and webservers

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer 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 > PerlPostConfi

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 str

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer on Fri, 06/17/11 at 13:43: > > On Fri, Jun 17, 2011 at 10:29 AM, William Bulley 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-de

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Perrin Harkins
On Fri, Jun 17, 2011 at 3:20 PM, William Bulley 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 to do wi

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins 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 this particula

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Perrin Harkins
On Fri, Jun 17, 2011 at 2:18 PM, William Bulley 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) > ... tags - I did and no change.  Go figure? Have you tried making a startup.pl and callin

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins on Fri, 06/17/11 at 13:44: > > On Fri, Jun 17, 2011 at 12:34 PM, William Bulley wrote: > > ? PerlModule "Apache2::Const -compile => ':common'" > > ? PerlModule "APR::Const -compile => ':common'" > > That syntax used to work? It seems unlikely. I've never seen a > Pe

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to "James B. Muir" 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 \ /usr/local/lib/perl5/site_perl/5.14.0/mach/

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer on Fri, 06/17/11 at 13:43: > > On Fri, Jun 17, 2011 at 10:29 AM, William Bulley 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-d

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Perrin Harkins
On Fri, Jun 17, 2011 at 12:34 PM, William Bulley 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 work wi

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Fred Moyer
On Fri, Jun 17, 2011 at 10:29 AM, William Bulley 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? http://perl.apache.org/download/source.htm

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Torsten F?rtsch on Fri, 06/17/11 at 13:13: > > On Friday, June 17, 2011 18:34:07 William Bulley wrote: > > Something in apache2 or > > mod_perl2 or their APIs has changed, perhaps related to the newish > > Perl 5.14 version. > > That may be the reason. 5.14 required some changes in

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Torsten Förtsch
On Friday, June 17, 2011 18:34:07 William Bulley wrote: > Something in apache2 or > mod_perl2 or their APIs has changed, perhaps related to the newish > Perl 5.14 version. That may be the reason. 5.14 required some changes in the code. One half of them went into modperl 2.0.5. It made 5.14rc2 com

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer 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 produced my current

Re: How do you use mod_perl for your web application?

2011-06-17 Thread Dave Morgan
On 15/06/11 10:01 PM, Fred Moyer wrote: I'm interested in hearing about what application frameworks (Catalyst, CGI::App, Mojolicious) are used here with mod_perl. We currently support an open source corporate CMS called Metapoint http://www.metapointcms.com (derived from Metadot, derived from t

Re: How do you use mod_perl for your web application?

2011-06-17 Thread Vincent Veyron
Le jeudi 16 juin 2011 à 14:11 -0700, Joe Schaefer a écrit : > > To me writing to a generic webserver API is not all that exciting. > Python people love it, but they've never had a proper exposure > to httpd in the first place. Yes it means you gain some portability, > but the downside is that yo

Re: How do you use mod_perl for your web application?

2011-06-17 Thread Daniel Risacher
I had 8-9 apps running as custom mp2 modules (not really in any framework.) I did a few things in Catalyst, but it never really lit my candle. Perlbal for reverse proxy. I used Postgres a lot, but eventually realized that sqlite3 was good enough for what I was doing most of the time. Of late, I