Re: compiling problems with mod_perl 2.0.3 and Apache 2.2.6

2008-01-21 Thread Heiko Jansen
Am Montag, den 21.01.2008, 23:12 -0800 schrieb Philippe M. Chiasson: > Yes, but mod_perl 2.0.3 and Perl 5.10 should at least _build_, just > possibly exhibit unnatural behaviour at runtime... No - at least not for me (Solaris 10, 64Bit, Sun cc): 2.0.3 won't build at all unless I copy "src/module

Re: compiling problems with mod_perl 2.0.3 and Apache 2.2.6

2008-01-21 Thread Philippe M. Chiasson
Heiko Jansen wrote: Am Freitag, den 18.01.2008, 15:47 +1030 schrieb James Breat: I am having problems a static mod_perl with Apache 2.2.6 and Perl 5.10.0. Essentially, the answer you need is: Don't use mod_perl2 and Perl 5.10.0 together yet. Not yet, nope. As far as I know, the mod_perl de

Re: compiling problems with mod_perl 2.0.3 and Apache 2.2.6

2008-01-21 Thread Philippe M. Chiasson
James Breat wrote: I am having problems a static mod_perl with Apache 2.2.6 and Perl 5.10.0. I followed the instructions for a static build, but when I type make I get the following errors (only a few same error lines are included): httpd-2.2.6/srclib/apr/include/apr.h:273: error: expected

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Heiko Jansen
>>> Alx G <[EMAIL PROTECTED]> 21.01.08 17.25 Uhr >>> > If I output the value of > $ENV{'mod_perl'} it shows mod_perl/2.0.2 (or something like that), so I > believe that shows it's not running as plain cgi. Yep, looks good. I've no experience with Apache::DB - so apart from one last excerpt from t

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Perrin Harkins
On Jan 21, 2008 7:26 AM, Alx G <[EMAIL PROTECTED]> wrote: > Thanks for the tips John, however as I mentioned in my previous post, I did > in fact try it with the DB->init call and it made no difference. It will make a big difference, but it sounds like you have another problem preventing you from

Re: [mp2] [question] $ENV{PATH} changes not taking effect?

2008-01-21 Thread B Wooster
On Jan 17, 2008 4:14 PM, Bart Schaefer <[EMAIL PROTECTED]> wrote: > There's a thread from December that would seem to be related. From that > thread: > > -- Forwarded message -- > From: Michael Schout <[EMAIL PROTECTED]> > Date: Dec 28, 2007 9:12 PM > Subject: Re: mod_perl, ENV{'T

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Alx G
Heiko Jansen wrote: > > > Am Montag, den 21.01.2008, 06:19 -0800 schrieb Alx G: > > ... > >> The code I'm running is just a collection of cgi scripts that hook >> into the back-end libraries of the system, so the code is definitely >> loaded >> and run after the the DB->init and Dprof module

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Heiko Jansen
Am Montag, den 21.01.2008, 06:19 -0800 schrieb Alx G: > No worries. For the record, I just tried putting the DB->init before > everything else (after loading mod_perl obviously) in the conf - no joy > though. The Apache::DB POD mentions using "use APR::Pool ();" right before "use Apache::DB ();"

[JOB] seeking new challenges

2008-01-21 Thread Torsten Foertsch
Hi, I know the modperl mailing list has been used from time to time for job offers or applications. I'd like to do the latter. I am a freelance programmer living in Germany near Heidelberg. My native language is German. I also possess English and Russian. My knowledge of Apache, mod_perl and r

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Alx G
Geoffrey Young wrote: > > > > Alx G wrote: >> Hi, >> >> I'm trying to use Apache::DProf with my Perl web app. I can't work out >> what >> I'm doing wrong - it should be working but it isn't (how many times have >> we >> all said that to ourselves eh?). >> >> I've run out of options to try no

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Alx G
John ORourke wrote: > > Alx G wrote: >> Thanks for the tips John, however as I mentioned in my previous post, I >> did >> in fact try it with the DB->init call and it made no difference. Also, >> the >> tmon.out files *are* being created by the apache process so that's not an >> issue either. >>

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Geoffrey Young
Alx G wrote: Hi, I'm trying to use Apache::DProf with my Perl web app. I can't work out what I'm doing wrong - it should be working but it isn't (how many times have we all said that to ourselves eh?). I've run out of options to try now, I hope someone can help me please. try Devel::Profile

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread John ORourke
Alx G wrote: Thanks for the tips John, however as I mentioned in my previous post, I did in fact try it with the DB->init call and it made no difference. Also, the tmon.out files *are* being created by the apache process so that's not an issue either. I misunderstood, sorry. If you're getti

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Alx G
John ORourke wrote: > > Alx G wrote: >> I'm running Apache 2.2.3, the conf has the following in it: >> >> -- >> ... >> LoadModule perl_module modules/mod_perl.so >> >> # Perl profiler >> # >> # >> #require Apache::DB; >> #Apache::DB->init; >> # >> PerlModule Apache::DProf >> ... >> -- >

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread John ORourke
Alx G wrote: I'm running Apache 2.2.3, the conf has the following in it: -- ... LoadModule perl_module modules/mod_perl.so # Perl profiler # # #require Apache::DB; #Apache::DB->init; # PerlModule Apache::DProf ... -- I tried with and without the commented stuff - as was suggested in th

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Alx G
Hi, I'm trying to use Apache::DProf with my Perl web app. I can't work out what I'm doing wrong - it should be working but it isn't (how many times have we all said that to ourselves eh?). I've run out of options to try now, I hope someone can help me please. I'm running Apache 2.2.3, the conf

Re: get UserAgent

2008-01-21 Thread Jeff Pang
yup,thanks for the reminding. I checked the doc, for mp1 it's $r->header_in(); for mp2 it's $r->headers_in(). -Original Message- >From: Foo JH <[EMAIL PROTECTED]> >Sent: Jan 21, 2008 3:52 PM >To: Jeff Pang <[EMAIL PROTECTED]> >Cc: modperl-list >Subject: Re: get UserAgent > >Isn't UserAge