just fine, but when I try to access a page, I get:
Can't locate object method new via package Apache::Request (perhaps
you forgot to load Apache::Request?) at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/Request.pm line 22.
So, I adjust my httpd.conf configuration and try to explicitly load
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
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.
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
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
installation paths for required
packages.
-DeAngelo
-Original Message-
From: Perrin Harkins [mailto:perrin;elem.com]
Sent: Friday, November 08, 2002 1:10 PM
To: DeAngelo Lampkin
Cc: mod_perl Mailing List
Subject: Re: Can't locate object method new via package
Apache::Request (via Mason
]
Sent: Thursday, November 07, 2002 10:01 PM
To: DeAngelo Lampkin
Cc: mod_perl Mailing List
Subject: RE: Can't locate object method new via package
Apache::Request (via Mason)...SOLVED
Hi there,
On Thu, 7 Nov 2002, DeAngelo Lampkin wrote:
A file called libapreq.so.1 was located in /usr/local/lib
Cool. Will do.
-Original Message-
From: Tim Tompkins [mailto:timt;arttoday.com]
Sent: Thursday, November 07, 2002 12:27 PM
To: DeAngelo Lampkin; [EMAIL PROTECTED]
Subject: Re: Can't locate object method new via package
Apache::Request (via Mason)...SOLVED
As a quick follow-up
DeAngelo Lampkin wrote:
And of course the other reason is that if the solution to the problem
was so obvious from the error message, somebody would have posted a
solution before I figured it out (with help from you guys).
There is documentation related to this problem in the troubleshooting
the information on http://www.masonhq.com
Hope this helps.
Gareth
-Original Message-
From: DeAngelo Lampkin [mailto:dlampkin;xencor.com]
Sent: 06 November 2002 23:25
To: [EMAIL PROTECTED]
Subject: Can't locate object method new via package Apache::Request
(via Mason)...
Hey guys,
You may
, November 07, 2002 1:44 AM
To: DeAngelo Lampkin; [EMAIL PROTECTED]
Subject: RE: Can't locate object method new via package
Apache::Request (via Mason)...
You need to set Mason up better - probably.
I'm an avid Mason user, and I've seen this a fair few times.
If you want help, you're most likely
) for things like httpd.conf if you
want to keep it tidy.
Regards
Gareth
-Original Message-
From: DeAngelo Lampkin [mailto:dlampkin;xencor.com]
Sent: 07 November 2002 17:54
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Can't locate object method new via package
Apache::Request (via
: DeAngelo Lampkin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, November 07, 2002 10:54 AM
Subject: RE: Can't locate object method new via package Apache::Request
(via Mason)...
Hi Gareth,
I'm using the latest version of Mason, Mason 1.15. As I posted in my
previous
: Can't locate object method new via package Apache::Request
(via Mason)...
Is Apache::Request installed for perl 5.8.0? Sounds like it's not loaded,
anyway.
Regards,
Tim Tompkins
--
Programmer
http://www.clipart.com/
http://www.rebelartist.com
November 2002 18:16
To: DeAngelo Lampkin; [EMAIL PROTECTED]
Subject: Re: Can't locate object method new via package
Apache::Request (via Mason)...
You should pre-load Apache::Request anyway,
PerlModule Apache::Request
PerlModule HTML::Mason::ApacheHandler
FilesMatch \.msn
/
--
- Original Message -
From: Gareth Kirwan [EMAIL PROTECTED]
To: Tim Tompkins [EMAIL PROTECTED]; DeAngelo Lampkin
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, November 07, 2002 11:20 AM
Subject: RE: Can't locate object method new via package Apache::Request
(via Mason)...
Tim
-Original Message-
From: Tim Tompkins [mailto:timt;arttoday.com]
Sent: Thursday, November 07, 2002 10:16 AM
To: DeAngelo Lampkin; [EMAIL PROTECTED]
Subject: Re: Can't locate object method new via package
Apache::Request (via Mason)...
You should pre-load Apache::Request anyway,
PerlModule
]
Subject: RE: Can't locate object method new via package
Apache::Request (via Mason)...SOLVED
Thanks to Tim, Gareth, and Phillippe:
OK, I'll start with the solution to the problem and then drag on a bit for how I found
it.
The problem was the location of a shared object file for the Apache Request
As a quick follow-up, the PerlModule Apache::Request line is NOT
needed in the httpd.conf file for Mason to work. However, it was a very
valuable debugging tool.
That wasn't really the purpose, though. The purpose was to pre-load the
module in the parent apache process for efficiency. My
Hi there,
On Thu, 7 Nov 2002, DeAngelo Lampkin wrote:
A file called libapreq.so.1 was located in /usr/local/lib
(should have been in /usr/lib) [snip] I ended up getting this thing:
Syntax error on line 362 of /usr/local/apache/conf/httpd.conf:
Can't load
by Mason (a perl templating system), I get the
following error message:
[Wed Nov 6 11:56:20 2002] [error] Can't locate object method new via package
Apache::Request at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
878
Seems somewhat similar to a bug I've reported 10 months ago.
You might want to try to run the minimal testcase enclosed in the
forwarded mail.
Phil.
---BeginMessage---
I've found that mod_perl can get confused when dealing with method
calls during a redirect_internal phase:
1. page /1 uses
Hi,
I get the following error sporadically on modperl 1.27 and apache
1.3.26 and Apache::Compress 1.003 either under RH7.x or Solaris 7:
Can't locate object method header_in via package Apache::Compress
(perhaps you forgot to load Apache::Compress?) at
/u1/lib/perl5/site_perl/5.6.1/Apache
- Original Message -
Date: Tue, 18 Dec 2001 11:32:24 +0100
From: Gerald Menzel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Can't locate object method dir_config via package
Apache::RegistryFilter
I have a problem with Apache::RegistryFilter. I can't get it to work.
If I
- Original Message -
From: Randy Kobes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: mod_Perl [EMAIL PROTECTED]
Sent: Saturday, December 22, 2001 5:51 PM
Subject: Re: Can't locate object method dir_config via package
Apache::RegistryFilter
- Original Message -
Date: Tue, 18
Hi,
I have a problem with Apache::RegistryFilter. I can't get it to work.
If I try to use it I allways get this error message:
[error] Can't locate object method dir_config via package
Apache::RegistryFilter ´
(perhaps you forgot to load Apache::RegistryFilter?) at
C:/Programme/Perl/site/lib
Quoting Gerald Menzel [EMAIL PROTECTED]:
Hi,
I have a problem with Apache::RegistryFilter. I
can't get it to work.
If I try to use it I allways get this error
message:
[error] Can't locate object method dir_config
via package
Apache::RegistryFilter ´
(perhaps you forgot to load
cleanup_for_exec() which takes
care of closing this file descriptor.' p 365. But I'm does not see
such sub in the Apache::Subprocess. And my code generates run time error
Can't locate object method cleanup_for_exec via package Apache
My RH linux with kernel 2.2.14-5.0, Apache
)
Subject: Can't locate object method cleanup_for_exec via package Apache
Hi list,
I'm understood that fork'ing from mod_perl is not very good idea,
but we have no choice. Because it is up to user to decide to launch
job which syncronize data in the two database sources. And this job
comes to help and provides a method cleanup_for_exec() which takes
care of closing this file descriptor.' p 365. But I'm does not see
such sub in the Apache::Subprocess. And my code generates run time error
Can't locate object method cleanup_for_exec via package Apache
My
locate object method module via package Apache at
/usr/local/lib/perl5
/site_perl/5.6.0/Apache/DBI.pm line 202.
Compilation failed in require at startup.pl line 11.
Line 11 of startup.pl
11 use Apache::DBI();
Line 202 of DBI.pm
202 ) if ($INC{'Apache.pm'} and Apache-module('Apache::Status
I am getting the following error in my strartup.pl
perl -cx startup.pl
Can't locate object method module via package Apache at
/usr/local/lib/perl5
/site_perl/5.6.0/Apache/DBI.pm line 202.
Compilation failed in require at startup.pl line 11.
Line 11 of startup.pl
11 use Apache::DBI
.
Obviously test.pl wouldn't ever work, but I think it illustrates the
error.
I'm afraid I'm doing something very foolish, hopefully someone can set
me straight.
Thanks,
- Dave
---
[dave@powerbook dave]$ perl /home/dave/www/mason/debug/anon/13
Can't locate object method parse via package
Subject: Can't locate object method parse via package Apache::Cookie
Using Mason and mod_perl w/ Apache, all the latest versions, I'm getting
a weird error
I've reinstalled them all, but I can't figure out this error... the
debug/anon/13 file is a mason debug file. test.pl is a quick file I
Hi, all:
I try to test IPC::Cache module. I got the following
error message. Any help will be highly appreciated.
Can't locate object method "new" via package "Cache"
at cache-test.pl line 5.
Zeke Wu
__
Do You Yahoo!?
Yah
On 25 Sep 2000, Alan E. Derhaag wrote:
Good try, but /dev/null is not broken on my machine.
ok, i have seen this happen at least once in the past, glad it's not a
common problem. looking back now at some other mod_ssl fixes for 'make
test', i'm reading that mod_ssl has some sort of problem
er several layers deep.
Good luck!
L8r,
L V
-Original Message-
From: Alan E. Derhaag [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 25, 2000 7:29 PM
To: Doug MacEachern
Cc: [EMAIL PROTECTED]
Subject: Re: Can't locate object method "No" via package "such"
Doug MacEa
[EMAIL PROTECTED] (Alan E. Derhaag) wrote:
I upgraded to openssl-0.9.5a and recompiled apache w/mod_ssl and
mod_perl defining the SSL_BASE to the apache src and now the thing
won't start and complains about:
Can't locate object method "No" via package "such" at /dev/null
::Sybase::Simple-connect(@$aref);
}
});
}
it's being run in loaded in startup.pl which causes apache to die on
startup without any errors and when i run the startup,pl on the
command line i get:
Can't locate object method "can_stack_handlers" via package "
I upgraded to openssl-0.9.5a and recompiled apache w/mod_ssl and
mod_perl defining the SSL_BASE to the apache src and now the thing
won't start and complains about:
Can't locate object method "No" via package "such" at /dev/null line 1.
The compile had no warni
[EMAIL PROTECTED] (Doug MacEachern) wrote:
On Tue, 11 Apr 2000, Ken Williams wrote:
Change that to binmode(STDOUT) and it should work. Since STDOUT is tied, I
think Perl is interpreting that as STDOUT-binmode.
that's not the problem, see my reply to Roca.
Oops, I should have looked before I
I'm using mod_perl-1.21 and testing GD-1.25.
When calling any of the demos examples given by GD-1.25 I have the error
"Can't locate object method BINMODE via package Apache".
The perl scripts are as follows:
#!/usr/local/bin/perl
use GD;
print "Content-type: image/png\n\n"
On Tue, 11 Apr 2000, Roca, Ignasi wrote:
I'm using mod_perl-1.21 and testing GD-1.25.
When calling any of the demos examples given by GD-1.25 I have the error
"Can't locate object method BINMODE via package Apache".
The perl scripts are as follows:
#!/usr/local/bin/pe
[EMAIL PROTECTED] (Roca, Ignasi) wrote:
I'm using mod_perl-1.21 and testing GD-1.25.
When calling any of the demos examples given by GD-1.25 I have the error
"Can't locate object method BINMODE via package Apache".
The perl scripts are as follows:
#!/usr/local/bin/perl
use GD;
prin
On Tue, 11 Apr 2000, Roca, Ignasi wrote:
I'm using mod_perl-1.21 and testing GD-1.25.
When calling any of the demos examples given by GD-1.25 I have the error
"Can't locate object method BINMODE via package Apache".
the mod_perl cvs snapshot defines a BINMODE stub (5.6.0 added
On Tue, 11 Apr 2000, Ken Williams wrote:
Change that to binmode(STDOUT) and it should work. Since STDOUT is tied, I
think Perl is interpreting that as STDOUT-binmode.
that's not the problem, see my reply to Roca.
I am trying to get the Apache::Magick module from the O'Reilly book
"Writing Apache Modules with Perl and C" to work. The error I am
running into is:
Can't locate object method "OPEN" via package "Apache" (line 80)
The looks real simply:
open(STDOUT, "=&quo
darren chamberlain wrote:
Try using CORE::open to be sure that the default open is being called.
tried it, I am getting the same error, any more ideas?
Sam
On Thu, 30 Mar 2000, Sam Carleton wrote:
I am trying to get the Apache::Magick module from the O'Reilly book
"Writing Apache Modules with Perl and C" to work. The error I am
running into is:
Can't locate object method "OPEN" via package "Apache" (line 80)
49 matches
Mail list logo