Re: [mp2] make test errors

2005-02-17 Thread Stas Bekman
William McKee wrote: On Thu, Feb 17, 2005 at 04:53:45PM +, Joe Orton wrote: Check for the result of the: "checking if O_NONBLOCK setting is inherited from listening sockets" test when you run the configure script. I wasn't sure if you were referring to the mod_perl or Apache configure script.

Re: [mp2] make test errors

2005-02-17 Thread Stas Bekman
William McKee wrote: On Wed, Feb 16, 2005 at 07:14:24PM -0500, Stas Bekman wrote: Yes, it is (though keep in mind that this is a virtual server running as a jailed process, not a separate machine). That could be the reason. But if I open a lynx session and surf over to localhost, my server comes u

Re: Using Apache::Register and print

2005-02-17 Thread Stas Bekman
Boysenberry Payne wrote: I'm using mod_perl with Apache::Register in the httpd.conf file. The only way I can get output to my web browser is by using my $r = Apache->request; $r->print( "Output" ); This is regardless of the Content Type declaration. If I try printing using a standard print command

RE: sharing big global hash and objects

2005-02-17 Thread Barksdale, Ray
> -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 17, 2005 3:13 PM > To: Barksdale, Ray > Cc: mod_perl > Subject: Re: sharing big global hash and objects > > > Does that work? It looks really strange to me, and may be doing some > copyi

Re: sharing big global hash and objects

2005-02-17 Thread Perrin Harkins
On Thu, 2005-02-17 at 13:56 -0600, Barksdale, Ray wrote: > The module containing $hash is loaded in startup.pl at boot. > I then have a package that creates an object based on a slice of the hash: > > package FooBar; > > use Config qw($hash); > > sub new { > my ($class, $table, $field) = @

Re: [mp2] make test errors

2005-02-17 Thread William McKee
On Thu, Feb 17, 2005 at 04:53:45PM +, Joe Orton wrote: > Check for the result of the: > > "checking if O_NONBLOCK setting is inherited from listening sockets" > > test when you run the configure script. I wasn't sure if you were referring to the mod_perl or Apache configure script. When I ra

sharing big global hash and objects

2005-02-17 Thread Barksdale, Ray
I have a large structure loaded from a db table that contains parameter values. The structure looks something like following (please excuse formatting, MS lookOut) my $hash = { table1 => { field1 => { param1 => val, param2 =>

Using Apache::Register and print

2005-02-17 Thread Boysenberry Payne
I'm using mod_perl with Apache::Register in the httpd.conf file. The only way I can get output to my web browser is by using my $r = Apache->request; $r->print( "Output" ); This is regardless of the Content Type declaration. If I try printing using a standard print command I get nothing. I've been

Using Apache::Register and print

2005-02-17 Thread Boysenberry Payne
I'm using mod_perl with Apache::Register in the httpd.conf file. The only way I can get output to my web browser is by using my $r = Apache->request; $r->print( "Output" ); This is regardless of the Content Type declaration. If I try printing using a standard print command I get nothing. I've been

Re: [mp2] make test errors

2005-02-17 Thread Joe Orton
On Thu, Feb 17, 2005 at 09:18:31AM -0500, William McKee wrote: > On Thu, Feb 17, 2005 at 10:39:46AM +, Joe Orton wrote: > > That was all the non-blocking-vs-blocking stuff. First I'd ask whether > > or not this fails in a non-chroot environment. A chroot will screw up > > all kinds of stuff (

Re: Apache::Request equivalent of CGI::Capture?

2005-02-17 Thread William McKee
On Wed, Feb 16, 2005 at 10:40:52PM -0500, Stas Bekman wrote: > I wonder if it'd be a good idea to make CGI.pm libapreq aware. Most people > use CGI.pm since it parses input and generates the output, so empowering > CGI.pm with libapreq speed would be really cool. Actually, I thought[1] the goal

Re: [mp2] Documentation patch for install.pod

2005-02-17 Thread William McKee
On Wed, Feb 16, 2005 at 10:52:06PM -0500, Stas Bekman wrote: > Thanks, William. I've committed an extended version of your patch but at > the beginning of that section. Please let me know if it needs more work. Looks good. That explains it the way I now understand it to work. > I believe the er

Re: [mp2] make test errors

2005-02-17 Thread William McKee
On Thu, Feb 17, 2005 at 10:39:46AM +, Joe Orton wrote: > That was all the non-blocking-vs-blocking stuff. First I'd ask whether > or not this fails in a non-chroot environment. A chroot will screw up > all kinds of stuff (e.g. the resolver libraries) unless you set it up > properly. Any poin

Re: [mp2] make test errors

2005-02-17 Thread William McKee
On Wed, Feb 16, 2005 at 07:12:11PM -0500, Stas Bekman wrote: > please look at your original report, William, it was failing the same 2 > sub-tests. That's weird because it's only failing one if I run it by itself. This obviously wasn't the case earlier when I reported the error. At any rate, this

Re: [mp2] make test errors

2005-02-17 Thread William McKee
On Wed, Feb 16, 2005 at 07:14:24PM -0500, Stas Bekman wrote: > >Yes, it is (though keep in mind that this is a virtual server running as > >a jailed process, not a separate machine). > > That could be the reason. But if I open a lynx session and surf over to localhost, my server comes up fine.

Re: [mp2] make test errors

2005-02-17 Thread Joe Orton
On Wed, Feb 16, 2005 at 07:12:11PM -0500, Stas Bekman wrote: > Joe, do you have an idea why this doesn't work on FreeBSD 5.3 (in jail > environment). I remember last time you've fixed something about some BSD > flavor in APR socket lib. Thanks. That was all the non-blocking-vs-blocking stuff. F