Re: [mp2 bug]$Listen in multiple blocks

2005-01-07 Thread Pratik
Oops..I've been debugging at the wrong place.. Thanks Geoff. -Pratik On Fri, 07 Jan 2005 15:15:57 -0500, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > > > $Listen = 44901; > > > > > > > > $Listen = 44901; > > > > this isn&#

[mp2 bug]$Listen in multiple blocks

2005-01-07 Thread Pratik
it. I'd be interested in writing the patch. Thanks, Pratik -- http://pratik.syslock.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [mp2 bug] Perl*Env issues

2005-01-01 Thread Pratik
Looks like this patch is solving all the problems :) Happy New year ! Thanks, Pratik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [mp2 bug] Perl*Env issues

2004-12-29 Thread Pratik
before or > was encountered, that will be the value that any > post-post_config handler will see when called for that container. > > Let me know if that's OK with you. > Yeah ! That's great :) Thanks, Pratik. -- http://pratik.syslock.org --

Re: [mp2 bug] Perl*Env issues

2004-12-28 Thread Pratik
Yup. The patch is working nice and solving all the issues related to PerlPassEnv & PerlSetEnv. Thanks, Pratik On Tue, 28 Dec 2004 15:34:11 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > Pratik wrote: > > I've been trying get this patch working. The basic

Re: [mp2 bug] Perl*Env issues

2004-12-28 Thread Pratik
failed. I have added one test in this patch, which is failing on latest mp2 cvs snapshot. I am just able to compile this patch. But "make test" is failing. Please Help. Thanks, Pratik diff -ruN /home/pvnaik/lab/mp2src/modperl-2.0/src/modules/perl/modperl_cmd.c modperl-2.0/src/modu

Re: [mp2 bug] Perl*Env issues

2004-12-27 Thread Pratik
modperl_env_hv_populate(). The idea behind this patch is to make entry into %ENV() on the occurrence of PerlPassEnv and PerlSetEnv, at the same time making an entry into server table. Thanks, Pratik diff -ru /home/pvnaik/lab/mp2src/mod_perl-2.0.0-RC1/src/modules/perl/modperl_cmd.c mod_perl-2.

Re: [mp2 bug] Perl*Env issues

2004-12-23 Thread Pratik
> Very nice work, Pratik. The only problem is that it syncs SetEnv|PassEvn > <=> %ENV completely twice for each .., PerlRequire and > PerlModule, which is not very effective. It would be nice to keep track of > just what keys have changed. > I need a little help here. MP2 d

Re: [mp2 bug] Perl*Env issues

2004-12-22 Thread Pratik
Env & scfg->PassEnv ) with %ENV. Thanks, Pratik diff -ru mp2src/mod_perl-2.0.0-RC1/src/modules/perl/modperl_cmd.c patches/mymp2/mod_perl-2.0.0-RC1/src/modules/perl/modperl_cmd.c --- mp2src/mod_perl-2.0.0-RC1/src/modules/perl/modperl_cmd.c2004-12-12 13:49:11.0 -0800 +++ patches/mymp

Re: [mp2 bug] Perl*Env issues

2004-12-18 Thread Pratik
at to have this issue sorted out. Becaue without it, we will not be able to upgrade to mp2 :( Thanks, Pratik On Thu, 16 Dec 2004 18:08:48 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > > >>1) copy environ to %ENV and detach at the very beginning. > >> > >>now if

Re: [mp2 bug] Perl*Env issues

2004-12-16 Thread Pratik
> > Thanks for the example, Pratik. Now it's more clear to me. > > I propose the following "simple" solution: > > 1) Keep %ENV intact at the server startup, so anything set in the shell is > seen from perl > 2) PerlPassEnv and PerlSetEnv aren't run ye

Re: [mp2 bug] Perl*Env issues

2004-12-15 Thread Pratik
s dealing with $ENV{PATH} and $ENV{LD_LIBRARY_PATH} in the commong.conf file. Regards, Pratik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [mp2 bug] Perl*Env issues

2004-12-14 Thread Pratik
and the doc should just say, that PerlSetEnv takes > effect only in post_config phase and drop any semi-complete support in > sections (i.e. dropping modperl_env_configure_server() completely). > Any suggestions / workarounds ? Regards, Pratik

[mp2 bug] Perl*Env issues

2004-12-14 Thread Pratik
ne for me. But probably, calling modperl_env_configure_server() for every eval_pv would be a bit costly. Another option may be to call modperl_env_hv_store():modperl_env.c from MP_CMD_SRV_DECLARE2(set_env) and MP_CMD_SRV_DECLARE(pass_env) of modperl_cmd.c. Regards, Pratik --

Re: mp2 static building problem

2004-09-26 Thread Pratik
I've just tested it with latest mod_perl 2.0 CVS version and the problem I had encountered is now fixed. Thank you, Pratik On Sun, 26 Sep 2004 00:04:52 -0700, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote: > Stas Bekman wrote: > > > Pratik wrote: > > > >>

mp2 static building problem

2004-09-24 Thread Pratik
I was building mp2 statically ( latest cvs version ) with the following : perl Makefile.PL MP_USE_STATIC=1 MP_INST_APACHE2=1 MP_AP_PREFIX=/home/pratik/src/mp2/httpd-2.0.51 MP_MAINTAINER=1 MP_AP_CONFIGURE="--enable-maintainer-mode --enable-so --enable-rewrite --enable-logio --enable-log-for

Re: mp2 static build problems

2004-09-19 Thread Pratik
le.PL MP_AP_PREFIX=/home/pratik/src/mp2/httpd-2.0.51 MP_AP_BUILD=1 MP_AP_CONFIGURE="--enable-so" But it failed with the following errors. [ error] Can't find apr include/ directory, [ error] use MP_APR_CONFIG=/path/to/apr-config Then I went to apache source directory and did "