been asked by a professor of mine to head the development of an
on-campus WeBWorK server at Mercer University. I'd like to use mod_perl
2.0, since thats what I have installed on my system. So far everything
has run perfectly except for a few things, which are as follows:
1) Missing modules:
I was missing a few perl modules, all of which I was able to install
except one: Time::HiRes . I tried a CPAN install, but this yielded
apparently broken makefiles everytime, which made the install
impossible. If you have properly installed Time::HiRes before, please
share with us how you succeeded. Or if anyone has ideas on how to edit
the WeBWorK::Timing module to use another timing function, please share
2) Changed Module Names for mod_perl 2.0:
As of mod_perl 2.0, the following modules have name changes:
Apache::Constants => Apache::Const ;
Apache::Request => Apache::RequestRec .
There may be others, but these are the few I found.
3) <Perl> Sections not supported yet in httpd.conf:
For some reason, the <Perl> sections which worked perfectly in
mod_perl 1.X don't work at all in 2.0. To work around this, I did a
little research in the mod_perl 2.0 documentation and chose to add the
proper WeBWorK modules to @INC by adding the following to httpd.conf:
This included a startup script in which I could use the proper "use lib
qw(/path/to/new/lib /path/to/other/new/lib);". This let mod_perl
properly find all the new WeBWorK modules.
4) Still more errors...
I'm still getting errors in the apache2 error_log about how some
argument isn't a blessed object. However, it won't share enough
debugging info for me to find the problem. But I will continue to post
new discoveries as they come along.
- Scott McCormack
<| Post or View Comments |>