Re: large file support

2004-04-02 Thread Joe Orton
The concrete proposal: 1. mod_perl should be extracting the output of `apr-config --cflags` `apr-config --cppflags` at some point. This can either be done by using apr-config directly, or by getting it out of `apxs -q EXTRA_CFLAGS` and `apxs -q EXTRA_CPPFLAGS`. (apxs in 2.0 sucks really because

Re: large file support

2004-04-02 Thread Geoffrey Young
if ($perl_lfs64 !$apr_lfs64) { # Serious Conflict! Strip -D_FILE_OFFSET_BITS=64 from $perl_cflags. if I read your recent APR patch right, because APR uses lfs by default on platforms that support it this is unlikely unless perl has made a big mistake or APR has incorrectly

Re: large file support

2004-04-02 Thread Joe Orton
OK, let's do the background... on Unix systems where by default off_t is a long, a 32-bit integer, there are two different ways to get large file support, i.e. the ability to manipulate files bigger than 2Gb: 1) you compile using -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64. This makes sys/types.h

Re: large file support

2004-04-02 Thread Geoffrey Young
Joe Orton wrote: OK, let's do the background... wow. thanks for all that. I never really groked the issue but you've clarified it nicely. much appreciated! The problem that mod_perl has to work around is when you take a package built with approach (1), i.e. Perl, and any package which was

[mp2] failing t/modperl/merge2.t

2004-04-02 Thread Stas Bekman
t/TEST -v t/modperl/merge2.t t/modperl/merge2# connecting to http://localhost:8532/merge2/ request has failed (the response code was: 404) see t/logs/error_log for more details [Fri Apr 02 18:33:22 2004] [error] [client 127.0.0.1] File does not exist:

Re: [mp2] bug report: modperl_env.c

2004-04-02 Thread Jie Gao
On Tue, 30 Mar 2004, Stas Bekman wrote: Date: Tue, 30 Mar 2004 19:23:06 -0800 From: Stas Bekman [EMAIL PROTECTED] To: Jie Gao [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [mp2] bug report: modperl_env.c Jie Gao wrote: -8-- Start Bug Report

Re: [mp2] bug report: modperl_env.c

2004-04-02 Thread Stas Bekman
Jie Gao wrote: -8-- Start Bug Report 8-- 1. Problem Description: Apache segmentation faults trying to run a registry script. Thanks for the detailed report Jie, but how do we reproduce it without the test script and relevant configuration? Hmm. There is

Re: [mp2] failing t/modperl/merge2.t

2004-04-02 Thread Geoffrey Young
Stas Bekman wrote: t/TEST -v t/modperl/merge2.t t/modperl/merge2# connecting to http://localhost:8532/merge2/ request has failed (the response code was: 404) see t/logs/error_log for more details [Fri Apr 02 18:33:22 2004] [error] [client 127.0.0.1] File does not exist:

Re: [mp2] bug report: modperl_env.c

2004-04-02 Thread Jie Gao
On Tue, 30 Mar 2004, Stas Bekman wrote: Date: Tue, 30 Mar 2004 19:23:06 -0800 From: Stas Bekman [EMAIL PROTECTED] To: Jie Gao [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [mp2] bug report: modperl_env.c Jie Gao wrote: -8-- Start Bug Report

Re: [mp2] failing t/modperl/merge2.t

2004-04-02 Thread Stas Bekman
Geoffrey Young wrote: Stas Bekman wrote: t/TEST -v t/modperl/merge2.t t/modperl/merge2# connecting to http://localhost:8532/merge2/ request has failed (the response code was: 404) see t/logs/error_log for more details [Fri Apr 02 18:33:22 2004] [error] [client 127.0.0.1] File does not exist:

Re: [mp2] failing t/modperl/merge2.t

2004-04-02 Thread Geoffrey Young
Yes, I have mod_dir. But that directory: Directory /home/stas/apache.org/mp2-cvs/t/htdocs/merge2 doesn't exist. That's why I was asking you whether you haven't committed something. If not, why would you configure a directory which doesn't exist? Shouldn't that be a Location then? $ cvs

Re: [mp2] failing t/modperl/merge2.t

2004-04-02 Thread Geoffrey Young
$ ll -d t/htdocs/merge* drwxrwxr-x3 geoffgeoff4096 Apr 3 00:25 t/htdocs/merge2 drwxrwxr-x3 geoffgeoff4096 Apr 3 00:25 t/htdocs/merge3 oh, wait - you probably cvs update -dP, which removed the empty directory. I guess I ought to put something in it then.

Re: [mp2] failing t/modperl/merge2.t

2004-04-02 Thread Stas Bekman
Geoffrey Young wrote: $ ll -d t/htdocs/merge* drwxrwxr-x3 geoffgeoff4096 Apr 3 00:25 t/htdocs/merge2 drwxrwxr-x3 geoffgeoff4096 Apr 3 00:25 t/htdocs/merge3 oh, wait - you probably cvs update -dP, which removed the empty directory. I guess I ought to put

Re: remaing END blocks issues (was Re: cvs commit: modperl-2.0/todo release)

2004-04-02 Thread Stas Bekman
Philippe M. Chiasson wrote: The gist of this big patch is simple. 1) Now only registered packages will snap END blocks from PL_endav under perl-script (and a user has a complete control if they want any extra packages to be registered and their END blocks to be run). 2) the END blocks are now