Re: compiling perl on freebsd to support ithreads

2005-04-25 Thread Philip M. Gollucci
Foo Ji-Haw wrote: Hello Philip, Thanks for the good reply. Appreciate it. That has been bugging me for the longest time. You are suggesting that FBSD 4.x is not easy to compile ithreads via ports. I wonder why FBSD even on 5.x does not come with ithreads precompiled (Linux does!). But I find it

Re: Error

2005-04-25 Thread Maxim Sloyko
Cure wrote: error:  Can't call method "fetch" on an undefined value at /usr/home/cwarner/www/html/test/cookie_test.html line 9.

Re: compiling perl on freebsd to support ithreads

2005-04-25 Thread Stas Bekman
Foo Ji-Haw wrote: Hello Stas, I'd like to know more about your suggestion of 'running separate mod_perl servers for each host'. Can you elaborate on that? I mean, do you mean to run multiple copies of Apache? That's correct, Foo Ji-Haw. See: http://modperlbook.org/html/ch12_01.html In particular:

Re: compiling perl on freebsd to support ithreads

2005-04-25 Thread Foo Ji-Haw
Hello Stas, I'd like to know more about your suggestion of 'running separate mod_perl servers for each host'. Can you elaborate on that? I mean, do you mean to run multiple copies of Apache? The question is whether you want to use it. Perl w/ithreads not only slows things down and requires mor

Re: compiling perl on freebsd to support ithreads

2005-04-25 Thread Foo Ji-Haw
Hello Philip, Thanks for the good reply. Appreciate it. That has been bugging me for the longest time. You are suggesting that FBSD 4.x is not easy to compile ithreads via ports. I wonder why FBSD even on 5.x does not come with ithreads precompiled (Linux does!). But I find it quite a deterent

Re: compiling perl on freebsd to support ithreads

2005-04-25 Thread Stas Bekman
Foo Ji-Haw wrote: Hello guys, I know this is not exactly the best fit for this mailing list, but I am trying to use FreeBSD (4.11 + 5.3) for mp2 work. Hope that qualifies it! The problem is that the perl that comes with FBSD is not compiled with ithreads. I read that to run different modperl app

Re: compiling perl on freebsd to support ithreads

2005-04-25 Thread Philip M. Gollucci
On Apr 25, 2005, at 10:21 PM, Foo Ji-Haw wrote: Hello guys, I know this is not exactly the best fit for this mailing list, but I am trying to use FreeBSD (4.11 + 5.3) for mp2 work. Hope that qualifies it! you'll want cd /usr/ports/lang/perl5.8 make WITH_THREADS=yes this will not build on amd64 ar

compiling perl on freebsd to support ithreads

2005-04-25 Thread Foo Ji-Haw
Hello guys, I know this is not exactly the best fit for this mailing list, but I am trying to use FreeBSD (4.11 + 5.3) for mp2 work. Hope that qualifies it! The problem is that the perl that comes with FBSD is not compiled with ithreads. I read that to run different modperl apps on virtual sites

Fwd: [UPGRADE]: Apache::DBI 0.96 for mod_perl 2.0 RC5

2005-04-25 Thread Philip M. Gollucci
Hi Cure, >I have the following info in my startup file --> >Apache::DBI->connect_on_init("DBI:mysql:database=mmg;host=HOST","user","pass"); See below from previos post. Begin forwarded message: From: "Philip M. Gollucci" <[EMAIL PROTECTED]> Date: April 19, 2005 4:36:24 AM EDT To: modperl@perl.

Re: Bus error on Mac OS X 10.3.9 while configuring mod_perl-2.0.0-RC5

2005-04-25 Thread OpenMacNews
hi matisse, Got a "Bus error" while configuring mod_perl2/1.999.22 (mod_perl-2.0.0-RC5) This is on Mac OS X 10.3.9, Perl 5.8.1, with Apache 2.0.52 Here's the complete output: [EMAIL PROTECTED] mod_perl-2.0.0-RC5: perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs PREFIX=/usr/local Reading Makefi

Re: Mod_Perl

2005-04-25 Thread Perrin Harkins
On Mon, 2005-04-25 at 18:09 -0500, Cure wrote: > I wanted to use Apache2 + Mod_Perl2 for our production server but not > sure if mod_perl2(mod_perl2-2.0.0r3,1 ) is consider stable . You should use the latest release rc5 if you want to use mod_perl 2. There are significant changes from previous re

Mod_Perl

2005-04-25 Thread Cure
I wanted to use Apache2 + Mod_Perl2 for our production server but not sure if mod_perl2(mod_perl2-2.0.0r3,1 ) is consider stable . Cure

connections

2005-04-25 Thread Cure
I have the following info in my startup file --> Apache::DBI->connect_on_init("DBI:mysql:database=mmg;host=HOST","user","pass"); <-- That worked perfect in mod_perl1, now that I'm using mod_perl2 I get the following info in my error log when starting apache --> [Mon Apr 25 17:45:50 2005] startup.

Re: Apache2::Reload Segmentation Fault

2005-04-25 Thread Stas Bekman
Vincent Moneymaker wrote: Stas Bekman wrote: I discovered what was causing the problem. Even though I had used the following in the startup.pl file use Apache2::Const -compile => ':common'; the Apache modules were segfaulting on the straight 'OK' constant declarations in them. Vincent, what do you

Re: Bus error on Mac OS X 10.3.9 while configuring mod_perl-2.0.0-RC5

2005-04-25 Thread Stas Bekman
J Matisse Enzer wrote: On Apr 25, 2005, at 2:56 PM, Stas Bekman wrote: Looks like a bug in perl. But it's hard to tell. Matisse, please try to run it under the perl debugger to see where exactly it crashes. that'd be: perl -d Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs PREFIX=/usr/local O

Error

2005-04-25 Thread Cure
error:  Can't call method "fetch" on an undefined value at /usr/home/cwarner/www/html/test/cookie_test.html line 9. context: 

Re: Bus error on Mac OS X 10.3.9 while configuring mod_perl-2.0.0-RC5

2005-04-25 Thread J Matisse Enzer
On Apr 25, 2005, at 2:56 PM, Stas Bekman wrote: Looks like a bug in perl. But it's hard to tell. Matisse, please try to run it under the perl debugger to see where exactly it crashes. that'd be: perl -d Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs PREFIX=/usr/local OK, so i ran it under the

Re: Bus error on Mac OS X 10.3.9 while configuring mod_perl-2.0.0-RC5

2005-04-25 Thread Stas Bekman
J Matisse Enzer wrote: Got a "Bus error" while configuring mod_perl2/1.999.22 (mod_perl-2.0.0-RC5) This is on Mac OS X 10.3.9, Perl 5.8.1, with Apache 2.0.52 Here's the complete output: [EMAIL PROTECTED] mod_perl-2.0.0-RC5: perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs PREFIX=/usr/local R

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread William McKee
On Mon, Apr 25, 2005 at 01:51:23PM -0400, Geoffrey Young wrote: > that code is essentially right. well, except that the above example sets > $r->handler instead of comparing it. adding the code at the bottom of this > mail essentially makes your tests pass, except that I think your last test > is

Re: Apache2::Reload Segmentation Fault

2005-04-25 Thread Vincent Moneymaker
Stas Bekman wrote: > > I discovered what was causing the problem. Even though I had used the > > following in the startup.pl file > > > > use Apache2::Const -compile => ':common'; > > > > the Apache modules were segfaulting on the straight 'OK' constant > > declarations in them. > > Vincent, what

Re: Apache2::Reqest

2005-04-25 Thread Dan Brian
Yeah, that's what I'm working from. I'll keep at it, thanks Adam. On Apr 25, 2005, at 2:53 PM, Adam Prime x443 wrote: On sunday I successfully built the most recent snapshot from SVN. you can get them here: http://svn.apache.org/snapshots/apreq/ I didn't exactly test it extensively though, but it

Re: Apache2::Reqest

2005-04-25 Thread Dan Brian
This is for [EMAIL PROTECTED] Also, search those archives... they hold more answers :) It's not usually easy to get help compiling a nightly dev shapshot on any list (thus, the "dev snapshot" part). I figured that since the newer mp2 leaves this group the CVS ... doh, I mean, SVN :P, version as

RE: Apache2::Reqest

2005-04-25 Thread Adam Prime x443
I did have to blow away the old install of apreq in Apache:: . I actually ended up blowing away all the Apache::*.pm's i had installed. Adam -Original Message- From: Dan Brian [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 4:59 PM To: Adam Prime x443 Cc: mod_perl Mailing List

Re: Apache2::Reqest

2005-04-25 Thread Philip M. Gollucci
Dan Brian wrote: I'm sure this has been discussed in recent days, but I couldn't find the thread. Has anyone succeeded in getting the CVS version of libapreq (Apache2::Request) to work with the newer-namespace mp2? I can't get the CVS version to compile, but wondered if there was a working sna

RE: Apache2::Reqest

2005-04-25 Thread Adam Prime x443
On sunday I successfully built the most recent snapshot from SVN. you can get them here: http://svn.apache.org/snapshots/apreq/ I didn't exactly test it extensively though, but it built and installed fine, and the few things i was using A:R for didn't blow up. Adam -Original Message-

Apache2::Reqest

2005-04-25 Thread Dan Brian
I'm sure this has been discussed in recent days, but I couldn't find the thread. Has anyone succeeded in getting the CVS version of libapreq (Apache2::Request) to work with the newer-namespace mp2? I can't get the CVS version to compile, but wondered if there was a working snapshot anyone was

Re: Apache2::Reload Segmentation Fault

2005-04-25 Thread Stas Bekman
Vincent Moneymaker wrote: Vince Moneymaker wrote: Okay, all of the tests are being passed. I have added the contents of my startup.pl file to the modperl_startup.pl file and no segfaults are occurring including even when I change the Handler.pm file as the tests are being run on it. I have als

Re: Path issue

2005-04-25 Thread Philip M. Gollucci
Jonathan Vanasco wrote: you'll have to get the current svn from http://httpd.apache.org/apreq/ i think the tar/gz on the middle of that page is still the RC4 compatible version On Apr 25, 2005, at 2:48 PM, Cure wrote: will upgrade. Where can I found libapreq 2 on cpan ? You are correct, 2.

Re: Path issue

2005-04-25 Thread Jonathan Vanasco
you'll have to get the current svn from http://httpd.apache.org/apreq/ i think the tar/gz on the middle of that page is still the RC4 compatible version On Apr 25, 2005, at 2:48 PM, Cure wrote: will upgrade. Where can I found libapreq 2 on cpan ?

Re: Path issue

2005-04-25 Thread Cure
Tom Schindl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, when running the old mod-perl rcs which means older than rc5 you'll have to load Apache2 e.g. in startup.pl which will add the /usr/local/lib/perl5/site_perl/5.8.6/mach/Apache2/ in your @INC. But I'd suggest not to do that. In rc5

Bus error on Mac OS X 10.3.9 while configuring mod_perl-2.0.0-RC5

2005-04-25 Thread J Matisse Enzer
Got a "Bus error" while configuring mod_perl2/1.999.22 (mod_perl-2.0.0-RC5) This is on Mac OS X 10.3.9, Perl 5.8.1, with Apache 2.0.52 Here's the complete output: [EMAIL PROTECTED] mod_perl-2.0.0-RC5: perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs PREFIX=/usr/local Reading Makefile.PL arg

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread Geoffrey Young
>>SetHandler is forcing the handler to be mod_perl, but really mod_dir needs >>to step in and handle the / -> DirectoryIndex conversion. so... what I would >>do is alter that fixup handler to do something like this >> >> if ($r->handler('perl-script') && -d $r->filename && $r->is_initial_req) { >

Re: Path issue

2005-04-25 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, when running the old mod-perl rcs which means older than rc5 you'll have to load Apache2 e.g. in startup.pl which will add the /usr/local/lib/perl5/site_perl/5.8.6/mach/Apache2/ in your @INC. But I'd suggest not to do that. In rc5 there has been a m

Path issue

2005-04-25 Thread Cure
I'm currently in the processof porting mod_perl 1.0 code to run under mod_perl 2.0. Alot of my mod_perl libraries are in -->/usr/local/lib/perl5/site_perl/5.8.6/mach/Apache2/Apache/ So when I try to load module Apache::porting . I get the following error --> [Mon Apr 25 12:06:38 2005] [erro

Re: RC5 really broke some stuff

2005-04-25 Thread Jonathan Vanasco
I felt that for a moment too, then I read up online and saw Stas and the other core developers thoughts as Perrin highlighted below. I'm sure there could have been a million and one ways to delay the change... but they had a real imperative to do it as RC5. Not to mention -- I'm really glad th

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread William McKee
On Wed, Apr 13, 2005 at 08:21:46PM -0400, Geoffrey Young wrote: > hmm. I'm sorry I didn't get back to you today, but I had something > unexpected come up. I'll be rolling rc5 tomorrow, but if you want to create > a bug tarball for me I'll look into it with whatever resources I can > scrounge up.

RE: Apache mod_perl

2005-04-25 Thread Gert Jan Schipper
After install Apache::AuthenNTLM, with - perl -MCPAN -e shell cban> install Apache::AuthenNTLM I get the following message in my error_log: [Mon Apr 25 15:19:33 2005] [error] Can't locate mod_perl.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/l

Re: Apache mod_perl

2005-04-25 Thread Shannon Eric Peevey
I believe thats up to you whether or not you split them. The same module Apache::Authfoo can support both MP1 and MP2 RC5 and higher. Infact, the only version of MP2 modules should support going forward is MP2 RC5+ (until the official 2.0 release when the API should "be locked" for the 2.x seri

RE: Apache mod_perl

2005-04-25 Thread Gert Jan Schipper
Hi Philip, For answers on your questions see below mail: > Hi, here are some questions / things to try. > 1. Do you have multiple installations of perl? I don't think it. It's a standard installation of RedHet 3.0 AS > > 2. Post the full output perl -V output to the list. > [EMAIL PROTECTE