Re: early perl startup in vhost on win32

2003-10-22 Thread Stas Bekman
Steve, Randy, please try the current cvs (just cvs up + make, no need to rebuild from scratch). I have finally been able to solve the segfault with the short config Steve presented. I hope that it solves the problem for you as well. If it does, please try again with the vhost patch that was fail

Re: [Patch mp2] Note autogeneration of MANIFEST

2003-10-22 Thread Stas Bekman
Philippe M. Chiasson wrote: [...] In general, does -Ifoo/bar work on win32 (as opposed to -Ifoo\bar) ? Randy or Steve will know the answer :) __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/

Re: [Patch mp2] Note autogeneration of MANIFEST

2003-10-22 Thread Philippe M. Chiasson
On Wed, 2003-10-22 at 14:57, Stas Bekman wrote: > Philippe M. Chiasson wrote: > [...] > > -$str =~ s/(\"?)-MExtUtils(::Manifest=mkmanifest)/-Ilib $1-MModPerl$2/; > > +$str =~ s/(\"?)-MExtUtils(::Manifest=mkmanifest)/-Ilib -Iblib\/lib > > $1-MModPerl$2/; > > if we use -Ilib, shouldn't this

Re: [Patch mp2] Note autogeneration of MANIFEST

2003-10-22 Thread Stas Bekman
Philippe M. Chiasson wrote: When I originally started cleaning up MANIFEST and MANIFEST.SKIP, I got caught not knowing MANIFEST was generated... Index: Makefile.PL === RCS file: /home/cvs/modperl-2.0/Makefile.PL,v retrieving revision 1

[Patch mp2] Note autogeneration of MANIFEST

2003-10-22 Thread Philippe M. Chiasson
When I originally started cleaning up MANIFEST and MANIFEST.SKIP, I got caught not knowing MANIFEST was generated... Index: Makefile.PL === RCS file: /home/cvs/modperl-2.0/Makefile.PL,v retrieving revision 1.125 diff -u -I$Id: -r1.125

[RELEASE CANDIDATE] Apache-Test-1.05-dev is available

2003-10-22 Thread Geoffrey Young
a release candidate for Apache-Test 1.05 is now available. http://perl.apache.org/~geoff/Apache-Test-1.05-dev.tar.gz please take the time to excercise the candidate through all your existing applications that use Apache-Test and report back any problems. --Geoff Changes since 1.04: core sca

Re: RE : Namespace for 3rd party general-purpose mp2 modules

2003-10-22 Thread Stas Bekman
Ayhan Ulusoy wrote: [...] Bundle::ModPerl2 or something like that could do the trick. It's there and called Bundle::Apache2 (just like mp1 has Bundle::Apache). It's not exposed on CPAN yet, becase currently mp2 is not indexed by PAUSE. [...] MP2 has, to a certain extent, resolved this with the "

Re: RE : [PATCH] add PERL5LIB to @INC in the correct order

2003-10-22 Thread Geoffrey Young
So I am a lazy dude who likes to blindly switch between mod_cgi and mod_perl with less then 10 key-strokes. And that's why I have been typing several thousand key-strokes for this thread ;) Got your idea. And as mentioned above mod_perl works exactly the same as mod_cgi, with regards to PERl5

Re: RE : [PATCH] add PERL5LIB to @INC in the correct order

2003-10-22 Thread Stas Bekman
But please do me a favour and read it. -- it's attached. I did now, and you bring points that Geoff has already mentioned: PERL5LIB setting per-dir doesn't work in mp1, so it won't work under mp2. Don't understand the 'so' connector here. Are you suggesting that there may be "httpd.conf" fi

Re: porting Sandwich to mp2

2003-10-22 Thread Stas Bekman
Ayhan Ulusoy wrote: At 19:28 21/10/2003, Stas Bekman wrote: Ayhan Ulusoy wrote: But if turns out to be so, the module can be called Sandwich then. Otherwise, I am inclined towards picking another name. Just an idea. Use a different name, but include a subclass of that module which can be call

Re: cvs commit: modperl-2.0 STATUS

2003-10-22 Thread Stas Bekman
Rafael Garcia-Suarez wrote: Stas Bekman wrote: Philippe M. Chiasson wrote: How do you make something a 'private resource' in META.yml? http://module-build.sourceforge.net/META-spec.html doesn't have anything about it? Or am I looking at the wrong place? It's outdated. See: http://www.xray.mpe.mp

Re: [PATCH mp2] Skip getppid() test on Win32

2003-10-22 Thread Stas Bekman
Steve Hay wrote: Stas Bekman wrote: I guess nobody has tried using Apache::VMonitor on win32 then. We need to get the pid of the parent process in order to calculate the real mem usage (taking the sharing into an account). Doesn't win32 implement shared memory? I suppose not, since the is no fo

Re: [Patch] META.yml support

2003-10-22 Thread Stas Bekman
Philippe M. Chiasson wrote: I need my cofee before sending small patches ;-) Here is a revised small-patch: +1 Index: Makefile.PL === RCS file: /home/cvs/modperl-2.0/Makefile.PL,v retrieving revision 1.125 diff -u -I$Id: -r1.125 Make

Re: [Patch mp2] Autogeneration of MANIFEST.SKIP

2003-10-22 Thread Stas Bekman
Philippe M. Chiasson wrote: (That said, at a glance, I'm not convinced this patch is necessary.) Well, have you tried to do : make distcheck lately ? it warns about the files not in MANIFEST. So what? We know that our distro is autogenerated, why running 'make distcheck'? Since we override 'm

Re: [Patch mp2] Autogeneration of MANIFEST.SKIP

2003-10-22 Thread Philippe M. Chiasson
On Wed, 2003-10-22 at 00:07, Rafael Garcia-Suarez wrote: > Philippe M. Chiasson wrote: > > +open $fh, '>', 'MANIFEST.SKIP' or die "open MANIFEST.SKIP: $!"; > > +my $cwd = Cwd::cwd(); > > +finddepth({ follow => 1, wanted => sub { > > +return if -d; > > +my $file = $File::

Re: [Patch] META.yml support

2003-10-22 Thread Philippe M. Chiasson
I need my cofee before sending small patches ;-) Here is a revised small-patch: Index: Makefile.PL === RCS file: /home/cvs/modperl-2.0/Makefile.PL,v retrieving revision 1.125 diff -u -I$Id: -r1.125 Makefile.PL --- Makefile.PL 21 Sep

Re: [PATCH mp2] Skip getppid() test on Win32

2003-10-22 Thread Steve Hay
Stas Bekman wrote: I guess nobody has tried using Apache::VMonitor on win32 then. We need to get the pid of the parent process in order to calculate the real mem usage (taking the sharing into an account). Doesn't win32 implement shared memory? I suppose not, since the is no fork. Am I correct

Re: [Patch mp2] Autogeneration of MANIFEST.SKIP

2003-10-22 Thread Rafael Garcia-Suarez
Philippe M. Chiasson wrote: > +open $fh, '>', 'MANIFEST.SKIP' or die "open MANIFEST.SKIP: $!"; > +my $cwd = Cwd::cwd(); > +finddepth({ follow => 1, wanted => sub { > +return if -d; > +my $file = $File::Find::name; > +$file =~ s,^$cwd/?,,; For extra safety, this