Re: A::T blib vs lib

2003-10-22 Thread Boris Zentner
Hi, Am Dienstag, 21. Oktober 2003 23:24 schrieb Stas Bekman: Stas Bekman wrote: Please verify that it works for you Boris and we will make a new release. Geoff has volunteered to be the release manager for this release. ;) Ok, I tested cvs-version 1.05-dev against my project with mp1 and it

Re: A::T blib vs lib

2003-10-21 Thread Boris Zentner
Hi, A test against my project show's no real difference at all. I applied the patch against Apache-Test-1.04 and I verified that my t/conf/modperl_inc.pl contain the desired lines. use lib '/tmp/ap_ex/blib/arch'; use lib '/tmp/ap_ex/blib/lib'; 1; my error message is the following: ...

Re: A::T blib vs lib

2003-10-21 Thread Boris Zentner
Hi, Am Dienstag, 21. Oktober 2003 09:00 schrieb Stas Bekman: Boris Zentner wrote: Hi, A test against my project show's no real difference at all. I applied the patch against Apache-Test-1.04 and I verified that my t/conf/modperl_inc.pl contain the desired lines. use lib

Re: A::T blib vs lib

2003-10-21 Thread Geoffrey Young
That was a very good hint. It allows me to keep the perl part into the apache directives as desired. But my @INC path is still wrong. hmm. ok, how about you show us a few things, like all of modperl_inc.pl, then what directories you would like included that are missing. and also show us your

Re: A::T blib vs lib

2003-10-21 Thread Geoffrey Young
That leads to different version of Apache:PageKit in the lib and blib/lib directories. With the current version of Apache::Test the version in lib is tested. But 'make install' installs the version from blib/lib. And depending from your perl they are different. so you want Apache-Test to test

Re: A::T blib vs lib

2003-10-21 Thread Stas Bekman
Geoffrey Young wrote: That leads to different version of Apache:PageKit in the lib and blib/lib directories. With the current version of Apache::Test the version in lib is tested. But 'make install' installs the version from blib/lib. And depending from your perl they are different. so you

Re: A::T blib vs lib

2003-10-21 Thread Stas Bekman
Geoffrey Young wrote: Stas Bekman wrote: Boris Zentner wrote: Hi, A test against my project show's no real difference at all. I applied the patch against Apache-Test-1.04 and I verified that my t/conf/modperl_inc.pl contain the desired lines. use lib '/tmp/ap_ex/blib/arch'; use lib

Re: A::T blib vs lib

2003-10-21 Thread Boris Zentner
Hi, Am Dienstag, 21. Oktober 2003 14:19 schrieb Geoffrey Young: Stas Bekman wrote: Boris Zentner wrote: Hi, A test against my project show's no real difference at all. I applied the patch against Apache-Test-1.04 and I verified that my t/conf/modperl_inc.pl contain the desired lines.

Re: A::T blib vs lib

2003-10-21 Thread Boris Zentner
Hi Geoffrey, Am Dienstag, 21. Oktober 2003 15:09 schrieb Geoffrey Young: That was a very good hint. It allows me to keep the perl part into the apache directives as desired. But my @INC path is still wrong. hmm. ok, how about you show us a few things, like all of modperl_inc.pl, then

Re: A::T blib vs lib

2003-10-21 Thread Stas Bekman
Boris Zentner wrote: [Finally the kind moderator let your messages through ;) Thank you!] In short lib is searched before blib/lib. I had a workaround that overwrites some routines in Apache::Test but it is really uggly and may not work taht long. Im happy that Stas is now looking into the

Re: A::T blib vs lib

2003-10-21 Thread Boris Zentner
Hi, im subscribed! All your hints and tips bring me a step forward, but I stuck on the @INC again. Even with the patch. The only thing that pass my brief tests is to change the order of the included path inside TestConfig.pm --- TestConfig.pm.orig 2003-10-21 20:49:53.0 +0200 +++

Re: A::T blib vs lib

2003-10-21 Thread Stas Bekman
Boris Zentner wrote: Hi, im subscribed! And someone has let your previous posts through ;) All your hints and tips bring me a step forward, but I stuck on the @INC again. Even with the patch. The only thing that pass my brief tests is to change the order of the included path inside

Re: A::T blib vs lib

2003-10-21 Thread Boris Zentner
Hi Stas, It works fine. Thanks. There were two more places where lib was unconditionally pushed. And removing lib, affected mod_perl 2, so I had to fix that as well. I haven't thoroughly tested this change yet, but please try this patch: [...]

Re: A::T blib vs lib

2003-10-21 Thread Geoffrey Young
Stas Bekman wrote: I haven't thoroughly tested this change yet, but please try this patch: tests fine for me on mp2 and my 3rd party apps. nice work. --Geoff

Re: A::T blib vs lib

2003-10-21 Thread Stas Bekman
Geoffrey Young wrote: Stas Bekman wrote: I haven't thoroughly tested this change yet, but please try this patch: tests fine for me on mp2 and my 3rd party apps. nice work. There are problems if you remove previously installed modperl. I'm looking at it.

Re: A::T blib vs lib

2003-10-21 Thread Stas Bekman
Stas Bekman wrote: Geoffrey Young wrote: tests fine for me on mp2 and my 3rd party apps. Thanks Geoff. There are problems if you remove previously installed modperl. I'm looking at it. Apparently mod_perl 2.0's distro must have 'lib' pushed onto @INC from t/TEST. That was the problem. Now

Re: A::T blib vs lib

2003-10-20 Thread Stas Bekman
Stas Bekman wrote: We discussed with Boris offline that we want to change the current behavior of A::T, where it puts lib/ as the first entry in @INC. We agreed to have a special maintainer mode (Env var/option) which will turn on the current behavior, and by default blib/ dirs are to be first

Re: A::T blib vs lib

2003-10-20 Thread Stas Bekman
Geoffrey Young wrote: Is everybody happy with the name of the env var APACHE_TEST_LIVE_DEV, when when set to 1, will prepend the project/lib directory to @INC and otherwise won't do anything special about it. [...] sounds good. So if Boris is happy, I'm planning to do one more tweak on the