Re: [Patch] Apache->module()

2001-10-03 Thread Philippe M . Chiasson
On Wed, Oct 03, 2001 at 08:40:40PM -0700, Doug MacEachern wrote: > On Thu, 4 Oct 2001, Philippe M . Chiasson wrote: > > > Can you tell me exactly why ? I started doing it the way 1.x used to do it > > but it was pretty complicated and I thought about this method instead, that > > sounded as goo

back to the ./t/TEST -d issue

2001-10-03 Thread Stas Bekman
Doug MacEachern wrote: >>I wanted to build with 5.6.1 in yet another attempt to find out why >> >>gdb doesn't work with mod_perl for me. That's when I saw this problem. >> > > but you can use gdb, you said yourself it works with: > % gdb ~/apache/bin/httpd > (gdb) run -DONE_PROCESS -d `pwd`/t

Re: [Patch] Apache->module()

2001-10-03 Thread Doug MacEachern
On Thu, 4 Oct 2001, Philippe M . Chiasson wrote: > Can you tell me exactly why ? I started doing it the way 1.x used to do it > but it was pretty complicated and I thought about this method instead, that > sounded as good yet a lot simpler. Care to explain why we need to check %INC > for real

Re: automatically locating Makefile.PL, how?

2001-10-03 Thread Doug MacEachern
On Thu, 4 Oct 2001, Stas Bekman wrote: > Since init_dirscan is not overridable, just as you said if you specify > the DIR argument, the automatic scan of the immediate sub-dirs won't be > performed. That's exactly I've reproduced this code from the > MM_Unix:init_dirscan, and tacked the dista

Re: automatically locating Makefile.PL, how?

2001-10-03 Thread Stas Bekman
Doug MacEachern wrote: > On Thu, 4 Oct 2001, Stas Bekman wrote: > > >>my patch provides this workaround and does work. Is it bad? >> > > your patch does not generate Makefile.PL's it uses DIR, very different. > are you sure it works? DIR => [] will prevent MakeMaker > Makefile.PL recursion s

Re: [Patch] Apache->module()

2001-10-03 Thread Philippe M . Chiasson
On Wed, Oct 03, 2001 at 09:51:09AM -0700, Doug MacEachern wrote: > On Tue, 2 Oct 2001, Philippe M . Chiasson wrote: > > > Hi, this patch implements the Apache->module() functionnality with a few >differences. > > > > Apache->module() is in Apache::compat and the real name for this is >Apache::

PerlOutputFilterHandler does not work

2001-10-03 Thread Vladimir Volovich
Hello, I installed apache2.0 with mod_perl2.0 taken two days ago from cvs. I need to use new filters support available in version2.0 of apache and mod_perl, but i have a problem with filters. i tried to use the supplied test filter which comes with modperl-2.0/t/filter/TestFilter/lc.pm: added

Re: compilation failure on FreeBSD

2001-10-03 Thread Ask Bjoern Hansen
On Wed, 3 Oct 2001, Doug MacEachern wrote: > > sick of spam, I was going to make an smtpd. Figured I should do it > > with Apache 2 and mod_perl. > > > > I am building with, > > > > cd [apache-2.0] > > ./configure --prefix=$HOME/apps/apache --with-mpm=threaded --enable-so > > from what i underst

Re: generic symbol problems with LogFile

2001-10-03 Thread Bryan T. Schmidt
> > >>>Hmm... updated to 1.25_01 (2.80 above was mod_ssl... oops). Installed >>>it, but LogFile still complains... added appropriate >>>-bI:(sourcedir)/apaci/mod_perl.exp, but that did not help. >>> >>>I am totally lost... perl_get_startup_pool does not seem to wind up in >>>my mod_perl.exp fi

Re: [Patch] Apache->module()

2001-10-03 Thread Doug MacEachern
On Tue, 2 Oct 2001, Philippe M . Chiasson wrote: > Hi, this patch implements the Apache->module() functionnality with a few differences. > > Apache->module() is in Apache::compat and the real name for this is >Apache::Module::loaded() > and I am open for better suggestions. "if (Apache->module

Re: automatically locating Makefile.PL, how?

2001-10-03 Thread Doug MacEachern
On Thu, 4 Oct 2001, Stas Bekman wrote: > my patch provides this workaround and does work. Is it bad? your patch does not generate Makefile.PL's it uses DIR, very different. are you sure it works? DIR => [] will prevent MakeMaker Makefile.PL recursion scanning, so without testing your patch it

Re: xs auto-prototyping doesn't work with 5.6.1?

2001-10-03 Thread Doug MacEachern
On Thu, 4 Oct 2001, Stas Bekman wrote: > How do we handle this? Or do we ignore 5.6.1 at this moment? and log it in todo? ignore it. > > I wanted to build with 5.6.1 in yet another attempt to find out why > > gdb doesn't work with mod_perl for me. That's when I saw this problem. but you

Re: automatically locating Makefile.PL, how?

2001-10-03 Thread Stas Bekman
Doug MacEachern wrote: > On Wed, 3 Oct 2001, Stas Bekman wrote: > > >>I've created modperl-2.0/docs/src/api/mod_perl-2.0/Makefile.PL. How do I >>make it a part of the automatic build? >> > > MakeMaker will only recurse if it sees a Makefile.PL in each directory, so > if you have a Makefile.PL

Re: xs auto-prototyping doesn't work with 5.6.1?

2001-10-03 Thread Stas Bekman
Doug MacEachern wrote: > On Tue, 2 Oct 2001, Stas Bekman wrote: > > >>In all XS files we disable prototypes in the boot section, but not in the >>rest of the file, which means that by default the prototyping is enabled. >>However with a stock 5.6.1 perl the prototypes are missing and therefore

Re: automatically locating Makefile.PL, how?

2001-10-03 Thread Doug MacEachern
you could also have the top-level docs/Makefile.PL generate dummy Makefile.PL's in the subdirectories before it calls WriteMakefile() rather than populating subdirectories with Makefile.PL's by hand. - To unsubscribe, e-mail:

Re: automatically locating Makefile.PL, how?

2001-10-03 Thread Doug MacEachern
On Wed, 3 Oct 2001, Stas Bekman wrote: > I've created modperl-2.0/docs/src/api/mod_perl-2.0/Makefile.PL. How do I > make it a part of the automatic build? MakeMaker will only recurse if it sees a Makefile.PL in each directory, so if you have a Makefile.PL in docs/ and src/ and api/ and mod_perl

Re: xs auto-prototyping doesn't work with 5.6.1?

2001-10-03 Thread Doug MacEachern
On Tue, 2 Oct 2001, Stas Bekman wrote: > > In all XS files we disable prototypes in the boot section, but not in the > rest of the file, which means that by default the prototyping is enabled. > However with a stock 5.6.1 perl the prototypes are missing and therefore > in maintainer mode it won'

Re: mod_perl-2.0 with perl-current on FreeBSD

2001-10-03 Thread Doug MacEachern
On Sat, 29 Sep 2001, Ask Bjoern Hansen wrote: > > running > > /home/smtpd/apps/apache/bin/httpd -X -d /home/smtpd/src/modperl-2.0/t -f >/home/smtpd/src/modperl-2.0/conf -DAPACHE2 -DPERL_USEITHREADS > > gives me a line like this in the error_log: > > /usr/libexec/ld-elf.so.1: >/home/smtpd/ap

Re: compilation failure on FreeBSD

2001-10-03 Thread Doug MacEachern
On Sat, 29 Sep 2001, Ask Bjoern Hansen wrote: > > sick of spam, I was going to make an smtpd. Figured I should do it > with Apache 2 and mod_perl. > > I am building with, > > cd [apache-2.0] > ./configure --prefix=$HOME/apps/apache --with-mpm=threaded --enable-so from what i understand (have