WeBWorK Main Forum

WWSafe.pm is not in webwork2/lib in v. 2.17

WWSafe.pm is not in webwork2/lib in v. 2.17

by Andras Balogh -
Number of replies: 2

Just upgraded to 2.17 and and I cannot start apache2.

The error message is "Can't locate WWSafe.pm in @INC ..."

WWSafe.pm was in /opt/webwork/webwork2/lib before, but it is not there in 2.17. I copied the file and was able to start apache2.

check_modules.pl checks for Safe, but not for WWSafe. 

I also have a WWSafe.pm file in /usr/local/share/perl/5.30.0, but that is not in @INC, another possible issue I had.

In reply to Andras Balogh

Re: WWSafe.pm is not in webwork2/lib in v. 2.17

by Glenn Rice -

You need to upgrade your copy of conf/webwork.apache2.4-config.  WWSafe.pm is now part of pg. Make sure you have the $pg_dir part from the dist file.