Unable to compile libapreq2

2006-09-20 Thread Foo JH
Hi guys, I'm using FBSD6.0. I've done the latest cvsup on the ports, installed apache 2.0.59 and mod_perl 2.0.2,3 and and trying to install libapreq2-2.0.08. Halfway through the compilation, I get this error: cc -shared .libs/util.o .libs/version.o .libs/cookie.o .libs/param.o

Re: Unable to compile libapreq2

2006-09-20 Thread Philip M. Gollucci
Foo JH wrote: Hi guys, I'm using FBSD6.0. I've done the latest cvsup on the ports, installed apache 2.0.59 and mod_perl 2.0.2,3 and and trying to install libapreq2-2.0.08. Unfortunately its something in your local setup. I do the FAMP stack ports compile almost daily. cc -shared

Re: install mp1 under linux 2.6 kernel

2006-09-20 Thread Philip M. Gollucci
Jeff Pang wrote: perl Makefile.PL \ APACHE_SRC=../apache_1.3.36/src \ NO_HTTPD=1 \ USE_APACI=1 \ PREP_HTTPD=1 \ EVERYTHING=1 That loooks fine, but use 1.3.37 (mod_rewrite security fix) ./configure --prefix=/home/apache1.3 --disable-module=all \ --enable-module=alias

Re: Occasional problems with URI package under mp

2006-09-20 Thread Kjetil Kjernsmo
On Tuesday 19 September 2006 16:30, Michael Peters wrote: URI.pm location: /usr/lib/perl5/Apache2/URI.pm Can't locate object method new via package URI at [blah] That's Apache2::URI, not URI. Duh! I'm blind! :-) What does the command line version of that same script print? URI.pm

Re: Occasional problems with URI package under mp

2006-09-20 Thread Tom Schindl
Kjetil Kjernsmo schrieb: On Tuesday 19 September 2006 16:30, Michael Peters wrote: URI.pm location: /usr/lib/perl5/Apache2/URI.pm Can't locate object method new via package URI at [blah] That's Apache2::URI, not URI. Duh! I'm blind! :-) What does the command line version of that

Re: Occasional problems with URI package under mp

2006-09-20 Thread Kjetil Kjernsmo
On Wednesday 20 September 2006 14:35, Tom Schindl wrote: @INC = qw(/usr/lib/perl5/Apache2,/usr/share/perl5/,); Errr... I just couldn't imagine that anybody could have done that to our @INC, but I asked around the office and it went like: me: So, do we have any code that modifies @INC?

Retrieve server environment vars before response handler.

2006-09-20 Thread stevethames
Can anyone tell me how to retrieve the environment variables set by the Apache server in the PerlAuthenHandler or the PerlHeaderParserHandler? Basically any handler that is called before the PerlResponseHandler. I am using virtual hosts and want to set a variable for each one. This variable

MP2 make test has compile error

2006-09-20 Thread twh
-8-- Start Bug Report 8-- 1. Problem Description: I have not had any luck with MP2 and I have rebuilt my perl 5.8.8. What have I missed? modperl_startup.pl compilation error. waiting 120 seconds for server to start: .[Wed Sep 20 08:49:46 2006] [warn]

Re: install mp1 under linux 2.6 kernel

2006-09-20 Thread Jeff Pang
Hello,Philip, Thank you for the response.The perl version for me is 5.8.5.Here are the 'perl -V' output: # perl -V Summary of my perl5 (revision 5 version 8 subversion 5) configuration: Platform: osname=linux, osvers=2.6.9-22.18.bz155725.elsmp, archname=i386-linux-thread-multi

Re: Apache::Cookie - Apache2::Cookie API Change?

2006-09-20 Thread Dave Rolsky
On Tue, 19 Sep 2006, Derek R. Price wrote: Philip M. Gollucci wrote: http://svn.apache.org/viewvc?view=revrev=447770 How's that ? Looks good to me. Dave? Not as good as actually _being_ backwards compatible, but if it's documented I can't complain. -dave

Looking for a new job

2006-09-20 Thread Dave Rolsky
Hello, mod_perlers, That time has come in my life where I'm in the market for a new job. I'm mostly interested in a full time position, though a suitably fascinating, well-paying, and long-term contract is something I'd consider as well. I live in Minneapolis and I'm not looking to move, but

Re: Retrieve server environment vars before response handler.

2006-09-20 Thread Fred Moyer
stevethames wrote: Can anyone tell me how to retrieve the environment variables set by the Apache server in the PerlAuthenHandler or the PerlHeaderParserHandler? Basically any handler that is called before the PerlResponseHandler. I am using virtual hosts and want to set a variable for each

Re: LOG: Re: Retrieve server environment vars before response handler.

2006-09-20 Thread robert
Can anybody tell me why that doesn't work when you want to access environment variables set from the process that launches Apache and that you want to access those variables in your Perl stanza in your httpd.conf? I recently had to do this because from what I could see PerlPassEnv doesn't work

Re: Retrieve server environment vars before response handler.

2006-09-20 Thread stevethames
Thanks for the input. I tried PerlPassEnv and found no change. In fact, I can't verify PerlPassEnv does anything at all. I'm using perl-script as my handler so SetupEnv is turned on and I get all the environment variables in the response phase. In the header parser and authentication phases,

Re: Retrieve server environment vars before response handler.

2006-09-20 Thread Fred Moyer
On Wed, 20 Sep 2006, stevethames wrote: I tried PerlPassEnv and found no change. In fact, I can't verify PerlPassEnv does anything at all. I'm using perl-script as my handler so SetupEnv is turned on and I get all the environment variables in the response phase. In the header parser and

Using ENV{'TZ'} in mod_perl

2006-09-20 Thread Tyler
Hello, I have a script that use to use the value in the environment variable ENV{TZ} to modify the output of the perl builtin localtime. In other words, Id do something like this: $ENV{TZ} = US/Eastern; @time = localtime(); This use to give me the localtime in whatever timezone

Proper apache config directive for a homepage

2006-09-20 Thread Dave Viner
Hi, I'm trying to set a special Perl handler for the homepage or index page of a site. A directive like: Location / SetHandler perl-script PerlResponseHandler Cool::Handler /Location causes all requests to be served by Cool::Handler. However, I want

RE: Using ENV{'TZ'} in mod_perl

2006-09-20 Thread Garrett, Philip \(MAN-Corporate\)
If you're using a perl compiled with thread support, you'll need to call POSIX::tzset() after setting $ENV{TZ}. From: Tyler [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 2:09 PMTo: modperl@perl.apache.orgSubject: Using ENV{'TZ'} in mod_perl Hello, I

Re: Proper apache config directive for a homepage

2006-09-20 Thread Clinton Gormley
On Wed, 2006-09-20 at 08:12 -0700, Dave Viner wrote: Hi, I'm trying to set a special Perl handler for the homepage or index page of a site. A directive like: Location / SetHandler perl-script PerlResponseHandler Cool::Handler /Location