install mp1 under linux 2.6 kernel

2006-09-19 Thread Jeff Pang
Hello,friends, I installed the mp1 (modperl-1.29) and apache1.3 on linux 2.6 kernel.First I compile the modperl lib: perl Makefile.PL \ APACHE_SRC=../apache_1.3.36/src \ NO_HTTPD=1 \ USE_APACI=1 \ PREP_HTTPD=1 \ EVERYTHING=1 make;make install Then I install the apache: ./c

Re: bug report : "make test" failure when compiling from source.

2006-09-19 Thread Philip M. Gollucci
Daniel McBrearty wrote: 1. Problem Description: Trying to build and install mod_perl from source. Have already built perl and apache 2.2 from source, they both seem to be fine (latest stable, both). But it is my first cut at this, so I could have made a dumb error. Anyhow, all help appreciated.

bug report : "make test" failure when compiling from source.

2006-09-19 Thread Daniel McBrearty
1. Problem Description: Trying to build and install mod_perl from source. Have already built perl and apache 2.2 from source, they both seem to be fine (latest stable, both). But it is my first cut at this, so I could have made a dumb error. Anyhow, all help appreciated. "make test" fails. Here

Re: Occasional problems with URI package under mp

2006-09-19 Thread Michael Peters
Kjetil Kjernsmo wrote: > On Tuesday 19 September 2006 16:05, Garrett, Philip (MAN-Corporate) > wrote: >> warn "URI.pm location: $INC{'URI.pm'}\n"; >> >> If it's different for the failures than it is for the successes, you >> have your culprit. > > Hmmm, nope, that was OK... Doesn't look OK t

Re: Occasional problems with URI package under mp

2006-09-19 Thread Kjetil Kjernsmo
On Tuesday 19 September 2006 16:05, Garrett, Philip (MAN-Corporate) wrote: >   warn "URI.pm location: $INC{'URI.pm'}\n"; > > If it's different for the failures than it is for the successes, you > have your culprit. Hmmm, nope, that was OK... So, I have use URI; warn "URI.pm location: $INC{'URI.

RE: Occasional problems with URI package under mp

2006-09-19 Thread Garrett, Philip \(MAN-Corporate\)
Kjetil Kjernsmo wrote: > > Actually, the problem was far less reproducible than I first > thought... At some point, I would get this error with > use URI; > use LWP::UserAgent; > my $netloc = URI->new('http://www.blogger.com/feeds/default/blogs'); > my $ua = LWP::UserAgent->new; > > warn "foo"; >

Re: Occasional problems with URI package under mp

2006-09-19 Thread Michael Peters
Kjetil Kjernsmo wrote: > The first suspicion is of course that there exists a different package > URI somewhere in the system, which is only used by the web server, but > I can't find anything. Print out $INC{'URI.pm'} from both Apache and the cmd line just to be sure they're using the same t

Re: Occasional problems with URI package under mp

2006-09-19 Thread Kjetil Kjernsmo
On Tuesday 19 September 2006 15:26, Garrett, Philip (MAN-Corporate) wrote: > Maybe a stupid question, but do you have "use URI" in that program? Yep! But an entirely appropriate question in this situation. :-) Actually, the problem was far less reproducible than I first thought... At some point

Re: hmm..testing with mod_perl and lwp

2006-09-19 Thread Michael Peters
Greger wrote: > Okey so this is the situation I have right now: > 0)mysql based application > 1)server with mod_perl > 2)client is browser for time being, might be a mobile terminal or "custom > client application" in the future > 3)testing ( with perl-unit ) I usually use Test::Class and Test::

RE: Occasional problems with URI package under mp

2006-09-19 Thread Garrett, Philip \(MAN-Corporate\)
Kjetil Kjernsmo wrote: > Hi all! > > We've been seeing some really weird things with LWP, but only when > running it on the web server. It works fine when running from the > command line. > > For example, doing this: > my $netloc = URI->new('http://www.blogger.com/feeds/default/blogs'); > curre

Occasional problems with URI package under mp

2006-09-19 Thread Kjetil Kjernsmo
Hi all! We've been seeing some really weird things with LWP, but only when running it on the web server. It works fine when running from the command line. For example, doing this: my $netloc = URI->new('http://www.blogger.com/feeds/default/blogs'); currently results in a Can't locate object

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

2006-09-19 Thread Philip M. Gollucci
Derek R. Price wrote: > Now, using the same Perl source with Apache2::Cookie->new, an undefined > value is returned instead of the new cookie. At best, this appears to > be an API change and should be documented. At worst it appears to be a > bug in libapreq2 that should be fixed. http://svn.apac