Strange problem with Apache::Request I have it installed and working on one Linux box.
On another similar Linux box it doesn't work: "Can't locate object method "new" via package "Apache::Request" at /usr/lib/perl5/site_perl/5.8.0/Script.pm line 39." (this is the $q = Apache::Request->new($r) line) Same script works fine on the other machine. One difference is this. On good machine, perl-status says: Embedded Perl version v5.8.0 for Apache/1.3.27 (Unix) mod_gzip/1.3.19.1a mod_perl/1.27 process 1454, running since Mon Feb 9 12:22:35 2004 arrays Apache::Request::ISA functions Apache::Request::bootstrap, Apache::Request::dl_load_flags, Apache::Request::expires, Apache::Request::instance, Apache::Request::new, Apache::Request::param, Apache::Request::parms, Apache::Request::parse, Apache::Request::post_params, Apache::Request::query_params, Apache::Request::script_name, Apache::Request::upload On bad machine perl-status says: Embedded Perl version v5.8.0 for Apache/1.3.28 (Unix) mod_gzip/1.3.19.1a mod_perl/1.28 process 31348, running since Mon Feb 9 15:07:26 2004 arrays Apache::Request::ISA functions Apache::Request::dl_load_flags, Apache::Request::instance Where are the other functions? The install seemed to run smoothly, except for some warnings: In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:1768, from /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/modules/perl/mod_perl.h:80, from Request.xs:41: /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/handy.h:257:1: warning: "strEQ" redefined In file included from Request.xs:1: ../c/apache_request.h:63:1: warning: this is the location of the previous definition Running Mkbootstrap for Apache::Request () But I think I had the same warnings when I installed on the good machine. Anyone have any guess what the problem might be here? Thanks. ===== J. __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html