I am trying to install webgui on a new core 4 install. Part of the install is to edit perl.conf, by adding the following:
<Files ~ ".(pl)$"> SetHandler perl-script PerlHandler ModPerl::Registry PerlOptions +SetupEnv +ParseHeaders </Files> PerlRequire /data/WebGUI/sbin/preload.perl
Apache starts fine, but the error log shows the following after an attempt is made to access the web site:
Can't locate object method "request" via package "Apache" at /data/WebGUI/lib/WebGUI/Session.pm line 159
I thought "request" was for mod_perl 1??
Apache::Request looks to come from libapreq-1.33. When I attempt to install it I get the following:
perl Makefile.PL && make && make test && make install mod_perl 1.x ( < 1.99) is required at Makefile.PL line 34. BEGIN failed--compilation aborted at Makefile.PL line 36
Of course core 4 comes with mod_perl 2
Another forum recommended using Apache::Cookie, but It complains about the same thing.
Any ideas how to fix this?
On 1/2/06, Raymond Norton admin@lctn.org wrote:
I am trying to install webgui on a new core 4 install. Part of the install is to edit perl.conf, by adding the following:
<Files ~ ".(pl)$"> SetHandler perl-script PerlHandler ModPerl::Registry PerlOptions +SetupEnv +ParseHeaders
</Files> PerlRequire /data/WebGUI/sbin/preload.perl
Please read the fast_start guide (located in the /usr/share docs area for mod_perl.) you will need to use perldoc to read the POD file.
There is a line that you can use that allows using old mod_perl 1 Perl code, specifically see:
http://perl.apache.org/docs/2.0/user/porting/porting.html#Using_the_C_Apache...
HTH/Bill -- WC -Sx- Jones | http://ccsh.us/ | Open Source Consulting