PGroot is set (along with webwork root) in the httpd.conf file (the apache config file)
These two directories are passed to the apache server so that mod_perl knows where to find everything else.
It's a good bet that your copy is not correctly loading the files
PGgraphmacros.pl and that that is causing the errors. I would have
expected that there would be warnings in the log file that indicated
that those files could not be read. If not, you can report that as a
bug. There should be some warning if the file is not loaded properly.
The be_stict problem was fixed this last weekend (at least it now works on perl 5.8.3)
It involved a modification in the definition of PG_restricted_eval().
While it might be a bit of trouble initially I'd recommend updating the
pg library to the latest version (unless you made substantial
modifications besides the be_strict one)
and probably the webwork-modperl library unless you made a great many
modifications in that. Save your current versions just in case -- we
don't have much experience with apache2 and I wouldn't want you to
loose the changes you've made to get WeBWorK to work with apache2.
There were a lot of patches and bugs corrected over this last weekend.
<| Post or View Comments |>