Re: [slightly OT] Catalyst? Maypole?

2006-01-20 Thread Ruslan Zakirov
On 1/20/06, Daniel McBrearty <[EMAIL PROTECTED]> wrote: > Hi > > I've been looking around at MVC frameworks a bit recently. RoR looks > good if you don't mind the language switch, but I'm also looking at > these two. Anyone have much experience of them, in tandem with > mod_perl? Feedback and thoug

Re: notion of current directory

2006-01-20 Thread Jim Gottlieb
On 2006-01-20 at 17:59, Philippe M. Chiasson ([EMAIL PROTECTED]) wrote: > the current working directory isn't a thread-safe property, and since > apache-2.0 > can now be threaded, mod_perl-2.x takes the safe path and doesn't change > directory > for you. That makes sense. > ModPerl::RegistryP

Re: notion of current directory

2006-01-20 Thread Philippe M. Chiasson
Jim Gottlieb wrote: > Hi. I've just upgraded from mod_perl 1.27 to 2.02 as part of upgrading > to Apache 2. > > The main problem I'm having with our mod_perl script is its notion of > the current directory as it relates to finding add-on modules. > > We call the script as http://dom.ain/perl-bin

Re: [mp2] block & PerlOptions +Parent & PerlRequire segfaults on 2.0.2, but not 2.0.1

2006-01-20 Thread Philippe M. Chiasson
Eamon Daly wrote: > 1. Problem Description: > > If I declare a section in httpd.conf, then define > a virtual host with "PerlOptions +Parent", httpd dies with > a segfault on subsequent PerlRequires. This works in 2.0.1. > Here's a minimal example, tacked on to the end of the > default httpd.conf

notion of current directory

2006-01-20 Thread Jim Gottlieb
Hi. I've just upgraded from mod_perl 1.27 to 2.02 as part of upgrading to Apache 2. The main problem I'm having with our mod_perl script is its notion of the current directory as it relates to finding add-on modules. We call the script as http://dom.ain/perl-bin/subdir/scriptname and we have the

[mp2] block & PerlOptions +Parent & PerlRequire segfaults on 2.0.2, but not 2.0.1

2006-01-20 Thread Eamon Daly
1. Problem Description: If I declare a section in httpd.conf, then define a virtual host with "PerlOptions +Parent", httpd dies with a segfault on subsequent PerlRequires. This works in 2.0.1. Here's a minimal example, tacked on to the end of the default httpd.conf: --- httpd.conf --- 1;

Re: [mp2] Script replaces the process name with its own name

2006-01-20 Thread Philippe M. Chiasson
pradeep kumar wrote: > Hi, > > When I run a script say yyy.pl using ab then one of the child process > name is changed to that of the script. > > #cat yyyp.pl > #!/opt/perl/bin/perl > sleep 20; > print "test\n"; > > This is just after the script is started. > # ps -ef | grep www > www

Re: [slightly OT] Catalyst? Maypole?

2006-01-20 Thread Jonathan
Forgot to add: I'm big on templating... If you're looking at multiple frameworks, remember to keep templating in mind Making /designing the damn things can take more time than coding your logic. and switching them from one system to another can be a nightmare. Some systems are very i

Re: [mp2] Script replaces the process name with its own name

2006-01-20 Thread Tom Schindl
Hi, a bit more information would help: - what version of mp are you using - how does you config look like - how do you invoke ab? Tom pradeep kumar wrote: > Hi, > > When I run a script say yyy.pl using ab then one of the child process > name is changed to that of the script. > > #cat yyyp.pl >

Re: [slightly OT] Catalyst? Maypole?

2006-01-20 Thread Dan Axtell
On Friday 20 January 2006 12:19 pm, Jonathan Vanasco wrote: > Personally, I dislike RoR intensely - part from the language, part > from the implementation, and part from the cultish following that > just seems like a bunch of kool aid drinkers all too often. > > Maypole and Catylst are both in

Re: [slightly OT] Catalyst? Maypole?

2006-01-20 Thread emarkert
Issues, real life experience, regarding scalability of both in a mod_perl environ would be extremely useful... == Those who do not understand Unix are condemned to reinvent it, poorly. --Henry Spencer -Original Message- From: Jonatha

Re: [slightly OT] Catalyst? Maypole?

2006-01-20 Thread Jonathan Vanasco
Personally, I dislike RoR intensely - part from the language, part from the implementation, and part from the cultish following that just seems like a bunch of kool aid drinkers all too often. Maypole and Catylst are both interesting, but I'm really not a fan of all the automagic object rel

Re: [mp2] SOLVED "make test" fails: "failed to map segment from shared object: Operation not permitted"

2006-01-20 Thread Eamon Daly
PEBCAK. The issue was this: the mod_perl2 test runs the suite as 'nobody', which means you should not (and can not) run the tests from root's home directory. The test warns: There are several ways to resolve this issue. One is to move and rebuild the distribution to '/tmp/' and repeat th

Re: [mp2] "make test" fails: "failed to map segment fromshared object: Operation not permitted"

2006-01-20 Thread Mark Galbreath
hmmm...I don't know if this is relevant, but I just installed RH4ES last week and perl was giving wierdness - choking on scripts, unable to find libs - so I rm -rf * the entire perl install and pointed /usr/bin/perl to a new install of /opt/ActivePerl5.8.7 and everything started working fine aga

Re: [mp2] "make test" fails: "failed to map segment fromshared object: Operation not permitted"

2006-01-20 Thread Eamon Daly
I'm running the entire build process as root. One thing I just noticed is that the December RHEL4 update included a new perl, compiled with: # perl -V | grep gccversion ccversion='', gccversion='3.4.5 20051201 (Red Hat 3.4.5-1)', gccosandvers='' which doesn't match the gcc they're shipp

Re: [mp2] "make test" fails: "failed to map segment from shared object: Operation not permitted"

2006-01-20 Thread Mark Galbreath
or just run it as root? >>> Joe Orton <[EMAIL PROTECTED]> 20-Jan-06 08:24:54 AM >>> On Thu, Jan 19, 2006 at 09:35:30PM -0600, Eamon Daly wrote: > 1. Problem Description: > > Hey, all. I'm trying to build mod_perl against the stock > httpd in RedHat 4ES. The build runs without issue, but > "make

Re: [mp2] "make test" fails: "failed to map segment from shared object: Operation not permitted"

2006-01-20 Thread Eamon Daly
Thanks for the follow-up, Joe, but that doesn't seem to be the problem. I tried: # setsebool httpd_disable_trans 1 # make test which failed with the same error. I don't think SELinux is even enabled on this box: # getsebool -a getsebool: SELinux is disabled I also tried rebuilding complete

[slightly OT] Catalyst? Maypole?

2006-01-20 Thread Daniel McBrearty
Hi I've been looking around at MVC frameworks a bit recently. RoR looks good if you don't mind the language switch, but I'm also looking at these two. Anyone have much experience of them, in tandem with mod_perl? Feedback and thoughts? thanks Daniel -- Daniel McBrearty danielmcbrearty at gmail.

[mp2] Script replaces the process name with its own name

2006-01-20 Thread pradeep kumar
Hi, When I run a script say yyy.pl using ab then one of the child process name is changed to that of the script. #cat yyyp.pl #!/opt/perl/bin/perl   sleep 20;   print "test\n"; This is just after the script is started. # ps -ef | grep www   www  4028  4026  0 17:17:45 ? 0:00 /opt/hpw

make test error

2006-01-20 Thread Beau E. Cox
Hi - make test error: 1. Problem Description: $ make test ... t/apache/content_length_header..# Failed test 17 in t/apache/content_length_header.t at line 71 fail #2 t/apache/content_length_header..FAILED test 17 Failed 1/27 tests, 96.30% okay ... 2. Used Components and

Re: [mp2] "make test" fails: "failed to map segment from shared object: Operation not permitted"

2006-01-20 Thread Joe Orton
On Thu, Jan 19, 2006 at 09:35:30PM -0600, Eamon Daly wrote: > 1. Problem Description: > > Hey, all. I'm trying to build mod_perl against the stock > httpd in RedHat 4ES. The build runs without issue, but > "make test" fails immediately with the following error: > > Can't load '/tmp/mod_perl-2.0.2

Re: Strange test results

2006-01-20 Thread Beau E. Cox
On Thursday 19 January 2006 09:51 am, Philippe M. Chiasson wrote: > Beau E. Cox wrote: > > Hi - > > > > This is not in your bug report format, but look > > how strange it is: > > > > 1) Standard test gives these failures: > > > > $ make test > > ... > > Failed TestStat Wstat Total Fail