syntax error ... near compile qw(:common)

2003-08-25 Thread Harold Martin
Hello, When I try to start up Apache, I get the error: [error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8, near compile qw(:common) Compilation failed in require at /etc/httpd/promp3/promp3.handler.pl line 6. BEGIN failed--compilation aborted at

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Stas Bekman
Harold Martin wrote: Hello, When I try to start up Apache, I get the error: [error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8, near compile qw(:common) Compilation failed in require at /etc/httpd/promp3/promp3.handler.pl line 6. BEGIN failed--compilation aborted at

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Harold Martin
On Sun, 2003-08-24 at 17:21, Stas Bekman wrote: Harold Martin wrote: Hello, When I try to start up Apache, I get the error: [error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8, near compile qw(:common) Compilation failed in require at

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Stas Bekman
Harold Martin wrote: On Sun, 2003-08-24 at 17:21, Stas Bekman wrote: Harold Martin wrote: Hello, When I try to start up Apache, I get the error: [error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8, near compile qw(:common) Compilation failed in require at

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Harold Martin
On Sun, 2003-08-24 at 18:12, Stas Bekman wrote: Harold Martin wrote: On Sun, 2003-08-24 at 17:21, Stas Bekman wrote: Harold Martin wrote: Hello, When I try to start up Apache, I get the error: [error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8, near compile

Can't locate object method new via package Apache::Request

2003-08-25 Thread K Old
Hello everyone, I've put HTML::Mason on a few servers now and have had problems with Apache::Request and Apache::Test on two of them. My most recent is having the problem and I'm about to go crazy if I don't figure out why installs keep having problems. Here's my setup: RH 7.2, Apache 1.3.27,

RE: Can't locate object method new via package Apache::Request

2003-08-25 Thread S.B.S
I ran into the same problem. What I had to do was compile libapreq as a shared library first. That solved things nicely. HTH. Regards, S. G. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Stas Bekman
Harold Martin wrote: On Sun, 2003-08-24 at 18:12, Stas Bekman wrote: Harold Martin wrote: On Sun, 2003-08-24 at 17:21, Stas Bekman wrote: Harold Martin wrote: Hello, When I try to start up Apache, I get the error: [error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8, near

Re: [Mason] Can't locate object method new via package Apache::Request

2003-08-25 Thread Randy Kobes
On Sun, 24 Aug 2003, K Old wrote: Hello everyone, I've put HTML::Mason on a few servers now and have had problems with Apache::Request and Apache::Test on two of them. My most recent is having the problem and I'm about to go crazy if I don't figure out why installs keep having problems.

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Harold Martin
On Sun, 2003-08-24 at 19:46, Stas Bekman wrote: Harold Martin wrote: On Sun, 2003-08-24 at 18:12, Stas Bekman wrote: Harold Martin wrote: On Sun, 2003-08-24 at 17:21, Stas Bekman wrote: Harold Martin wrote: Hello, When I try to start up Apache, I get the error: [error] syntax

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Stas Bekman
Harold Martin wrote: [...] Sorry Harold, it doesn't work this way. You ask for help, I ask you for the additional details as described at http://perl.apache.org/bugs/, instead you dump on us 80k of code. Sorry, I attached the code but my mail program must've converted it into inline text. No,

RE: Can't locate object method new via package Apache::Request

2003-08-25 Thread K Old
Ok, in the libapreq module I did the configure ./configure --with-apache-includes=/usr/includes/apache make make install Everything compiled just fine. Then did perl Makefile.PL make make test make install All of the tests still failed and the t/logs/error_log still reported: [Sun Aug 24

Re: [Mason] Can't locate object method new via packageApache::Request

2003-08-25 Thread K Old
On Mon, 2003-08-25 at 00:18, Randy Kobes wrote: On Sun, 24 Aug 2003, K Old wrote: Hello everyone, I've put HTML::Mason on a few servers now and have had problems with Apache::Request and Apache::Test on two of them. My most recent is having the problem and I'm about to go crazy if I

SubRequest in Filter MP2 [QUESTION]

2003-08-25 Thread Craig Shelley
Hello, I am a newbie to this list, so please forgive me if this is not the place where I should asking this question. I am writing a filter module for MP2 that will parse its input for certain embedded commands. One of these commands should cause the filter to issue a SubRequest to get the

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-25 Thread Geoffrey Young
my $rr = $f-r-lookup_uri(subrequest.txt); #$rr-run; For some reason, the server segfaults when the above code is run (with the $rr-run line present) does anything change if you use $rr = $f-$r-lookup_uri(subrequest.txt, $f-next); ? --Geoff -- Reporting bugs:

Interpreting HTML

2003-08-25 Thread js
I have apache2 and mod_perl2 setup and running without any problems with .PL files. In apache2 I have my test directory setup like the following: Alias /test/ C:/apache2/htdocs/ Location /test/ SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-25 Thread Craig Shelley
does anything change if you use $rr = $f-$r-lookup_uri(subrequest.txt, $f-next); No it doesn't seem any different, the server still seg faults. When it does this, it produces no output at all. telnet 127.0.0.1 80 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. GET /

Re: Interpreting HTML

2003-08-25 Thread Stas Bekman
2.0 docs aren't completed and most 1.0 docs apply to 2.0. So for now one has to look at the 1.0 docs, if /docs/2.0 doesn't cover your question yet. Help to port the 1.0 docs to 2.0 is very appreciated. __ Stas Bekman

Re: [Mason] Can't locate object method newvia package Apache::Request

2003-08-25 Thread K Old
On Mon, 2003-08-25 at 14:45, Stas Bekman wrote: K Old wrote: On Mon, 2003-08-25 at 13:13, Stas Bekman wrote: K Old wrote: On Mon, 2003-08-25 at 00:18, Randy Kobes wrote: On Sun, 24 Aug 2003, K Old wrote: Hello everyone, I've put HTML::Mason on a few servers now and have

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-25 Thread Stas Bekman
Craig Shelley wrote: does anything change if you use $rr = $f-$r-lookup_uri(subrequest.txt, $f-next); No it doesn't seem any different, the server still seg faults. When it does this, it produces no output at all. telnet 127.0.0.1 80 Trying 127.0.0.1... Connected to 127.0.0.1. Escape

Re: [Mason] Can't locate object method new via package Apache::Request

2003-08-25 Thread Randy Kobes
On Mon, 25 Aug 2003, K Old wrote: On Mon, 2003-08-25 at 00:18, Randy Kobes wrote: On Sun, 24 Aug 2003, K Old wrote: [ ... ] I did a install HTML::Mason from the CPAN command line and all the dependencies were downloaded and some didn't compile. The two that didn't are

[DIGEST] mod_perl digest 2003/08/11

2003-08-25 Thread jgsmith
-- mod_perl digest August 11, 2003 - August 24, 2003 -- Recent happenings in the mod_perl world... Features o

Re: Use of uninitialized valued in concatenation....

2003-08-25 Thread Josh Chamas
B. Fongo wrote: Hello I have a file (output_tab.pm) that I use to generate tables dynamically. Even though it serves its purpose, it goes on generating this error: Script_name.pl: Use of uninitialized value in concatenation (.) or string at output_tab.pm line 42. At line 42 of your

Re: Interpreting HTML

2003-08-25 Thread Josh Chamas
js wrote: I have apache2 and mod_perl2 setup and running without any problems with .PL files. In apache2 I have my test directory setup like the following: Alias /test/ C:/apache2/htdocs/ Location /test/ SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions

Re: Interpreting HTML

2003-08-25 Thread Patrick Galbraith
Js, instead of Location, use Files Alias /test/ C:/apache2/htdocs/ FILES ~ \.pl$ SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI /FILES Hope this is the solution, or what you're looking for, regards, Patrick js wrote: I

Re: Interpreting HTML

2003-08-25 Thread Patrick Galbraith
LocationMatch I think is what you want. Josh Chamas wrote: js wrote: I have apache2 and mod_perl2 setup and running without any problems with .PL files. In apache2 I have my test directory setup like the following: Alias /test/ C:/apache2/htdocs/ Location /test/ SetHandler perl-script

Re: Interpreting HTML

2003-08-25 Thread Josh Chamas
Patrick Galbraith wrote: LocationMatch I think is what you want. Location ~ ... and LocationMatch ... do the same thing. The trick is the ~ after the Location. Please see http://httpd.apache.org/docs-2.0/mod/core.html#location for more information. Regards, Josh

Re: Interpreting HTML

2003-08-25 Thread Patrick Galbraith
yeah, I wasn't quite sure of it... I've been so busy, I never played with it to see what it was capable of. Thanks for the pointer! regards, Patrick Josh Chamas wrote: Patrick Galbraith wrote: LocationMatch I think is what you want. Location ~ ... and LocationMatch ... do the same