[mp1] Can´t compile mp1.28 - worked with 1.27

2003-08-28 Thread Bernd Kuhls
Hi, I am trying to compile mod_perl-1.28 without luck. Here is my config: SUSE 5.3 (I know it´s old) gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs gcc version 2.7.2.1 Perl-5.8.0, Apache-1.3.28 mod_perl-1.28 from source. perl Makefile.PL

=?x-unknown?q?Re=3A_=5Bmp1=5D_Can=B4t_compile_mp1=2E28_-_work?==?x-unknown?q?ed_with_1=2E27?=

2003-08-28 Thread Ged Haywood
Hi there, On Wed, 27 Aug 2003, Bernd Kuhls wrote: I am trying to compile mod_perl-1.28 without luck. SUSE 5.3 (I know it´s old) gcc version 2.7.2.1 =:0 Perl-5.8.0, Apache-1.3.28 mod_perl-1.28 from source. With Apache-1.3.27 and mod_perl-1.27 I could compile using the same

Re: perl.apache.org problem

2003-08-28 Thread Cees Hek
Quoting Stas Bekman [EMAIL PROTECTED]: Cees Hek wrote: It looks like something has gone awry with the perl.apache.org website. It is currently pointing to the Apache Portable Runtime website. You can bypass it by going directly to: http://perl.apache.org/index2.html This

Re: =?x-unknown?q?Re=3A_=5Bmp1=5D_Can=B4t_compile_mp1=2E28_-_work?==?x-unknown?q?ed_with_1=2E27?=

2003-08-28 Thread Bernd Kuhls
Hi, On Do 28 Aug 2003 01:59:14a Ged Haywood wrote: Have you tried it without EVERYTHING=1? *that* did the trick, thank you! [Wed Aug 27 17:22:32 2003] [notice] Apache/1.3.28 (Unix) mod_perl/1.28 PHP/4.3.3 mod_ssl/2.8.15 OpenSSL/0.9.7b configured -- resuming normal operations

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-28 Thread Charlie Garrison
Good afternoon, On 27/8/03 at 9:37 AM -0400, Michael [EMAIL PROTECTED] wrote: The reason this question is mod_perl related is that he is doing the initial authentication using mod_perl, and is creating a cookie based ticket. But he wants that ticket to also be accepted by a non-mod_perl enabled

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-28 Thread Charlie Garrison
Good afternoon, On 27/8/03 at 9:45 AM -0400, Michael [EMAIL PROTECTED] wrote: Any other suggestions? I'd think you'd want to have the same authentication process for both, and a shared database (or something) to store the session data. Have the front-end do the login part, pass the client to

Re: Apache::DBI not really loading

2003-08-28 Thread brs900
I've set Apache::DBI::DEBUG to 2, and I'm not seeing _any_ messages (from it) in the error log. Apache::Status lists Apache DBI, but lists no database connections. A long time ago, one problem used to be that if your connect to Postgres was idle for too long ( 8 hours ) the connection would

Re: [mp1] consistent segfaults with HTML::Mason

2003-08-28 Thread Stephen
Stephen [EMAIL PROTECTED] wrote: I'm no expert at debugging C, but I dont think that the above looks too healthy Well, I think I have it figured out, more or less. The root cause of it seemed to be a rather, um, interesting bit of code in HTML::Mason::ApacheHandler which makes use of string

Re: [mp1] consistent segfaults with HTML::Mason

2003-08-28 Thread Stas Bekman
Stephen wrote: [...] The intent was to create a handler() routine suitable for both mod_perl 1 and 2 (prototype of ($$) vs attribute of : method). However, for some reason or another, handler() was being called as a regular sub, with one parameter. I have used the technique documented here:

[mp2] make test failed

2003-08-28 Thread Alan Rafagudinov
Hello! 1. Problem Description: Errors while 'make test' was in filter/in_bbs_msg.t and hooks/trans.t so output of make test TEST_VERBOSE=1 TEST_FILES=filter/in_bbs_msg.t hooks/trans.t is: filter/in_bbs_msg# connecting to www.myhost.ru:8535 server side has failed (response code: 404), see

Re: [mp1] consistent segfaults with HTML::Mason

2003-08-28 Thread Geoffrey Young
Stephen wrote: Stephen [EMAIL PROTECTED] wrote: I'm no expert at debugging C, but I dont think that the above looks too healthy Well, I think I have it figured out, more or less. The root cause of it seemed to be a rather, um, interesting bit of code in HTML::Mason::ApacheHandler which

Re: [mp2] make test failed

2003-08-28 Thread Stas Bekman
Alan Rafagudinov wrote: Hello! 1. Problem Description: Thanks for the detailed report, Alan. Errors while 'make test' was in filter/in_bbs_msg.t and hooks/trans.t [Thu Aug 28 20:34:19 2003] [info] (22)Invalid argument: core_output_filter: writing data to the network [Thu Aug 28 20:34:19 2003]

Re: [mp2] make test failed

2003-08-28 Thread Stas Bekman
My guess is that you've been hit by this Apache problem: http://httpd.apache.org/docs-2.0/faq/error.html#error.sendfile As the URL above suggests, try to add 'EnableSendfile On' somewhere in t/conf/httpd.conf and rerun: t/TEST -v filter/in_bbs_msg.t hooks/trans.t don't run 'make test' as it'll

Offtopic: CGI.pm and mixing post/get

2003-08-28 Thread Bruce Tennant
I know this off topic, but somewhat close. ;-) Is there an easy way to use the param function in CGI.pm with mixed POST and GET data? I have some pages that use both (GET to the area, w/a form submision, for example) and it seems CGIs param will only get one type at a time. It seems POST

Modules Problem

2003-08-28 Thread Tim Edwards
I in the process of switching my scripts over to Mod Perl. I decide since Mod Perl doesn't like Sub routine in the the main program I'd export make Modules out of the more come ones. Simple process I thought. However no mater what I do I get an error. I tried making a simple one using the

Re: Modules Problem

2003-08-28 Thread Bruce Tennant
You need to setup exports in your Rules1 package. Take a look at Exporter. (perldoc Exporter) OR, call the function with its fully qualified package nameTim Edwards [EMAIL PROTECTED] wrote: I in the process of switching my scripts over to Mod Perl.I decide since Mod Perl doesn't like Sub routine

Apache::Test unable to locate libperl.so?

2003-08-28 Thread Garrett Goebel
Title: Apache::Test unable to locate libperl.so? I'm trying to come up to speed on Apache::Test. I'm working from Stas's documentation at http://perl.apache.org/docs/general/testing/testing.html. My system is roughly: gentoo linux 1.4 perl 5.8.0 useithreads=undef useperlio=define apache

Re: Modules Problem

2003-08-28 Thread Perrin Harkins
On Thu, 2003-08-28 at 16:09, Tim Edwards wrote: I in the process of switching my scripts over to Mod Perl. I decide since Mod Perl doesn't like Sub routine in the the main program I'd export make Modules out of the more come ones. Just to be clear, mod_perl has no problem with subroutines

Re: [mp1] consistent segfaults with HTML::Mason

2003-08-28 Thread Stephen
Geoffrey Young wrote: mp1 supports both $$ and :method, so no need to do something special to make it work for both mp1 and mp2. Aah, I'll pass that onto the Mason folks. Ta. Preloading the module and using the explicit Module-handler method syntax in httpd.conf seems to have fixed it.

Source for Apache::Test documentation on perl.apache.org

2003-08-28 Thread Garrett Goebel
Title: Source for Apache::Test documentation on perl.apache.org As I stated in a previous post, I'm coming up to speed on Apache::Test by working from Stas's documentation at http://perl.apache.org/docs/general/testing/testing.html. I remember seeing a few typos on my first pass through the

Re: Source for Apache::Test documentation on perl.apache.org

2003-08-28 Thread Stas Bekman
Garrett Goebel wrote: As I stated in a previous post, I'm coming up to speed on Apache::Test by working from Stas's documentation at http://perl.apache.org/docs/general/testing/testing.html. I remember seeing a few typos on my first pass through the documentation. Now that I've got a simple

Re: Apache::Test unable to locate libperl.so?

2003-08-28 Thread Stas Bekman
Garrett Goebel wrote: I'm trying to come up to speed on Apache::Test. I'm working from Stas's documentation at http://perl.apache.org/docs/general/testing/testing.html. My system is roughly: gentoo linux 1.4 perl 5.8.0 useithreads=undef useperlio=define apache 1.3.28 mod_perl 1.3.28