I'm trying to install WeBWork 2.47 on a Red Hat 5 Enterprise server with apache 2.2. I've followed the install instructions specific to Fedora 9 and they seemed to work up to a point. However there were two problems. First, after creating and logging into the admin course, the following warnings appeared:
Can't do mkdir(/opt/webwork/courses/modelCourse/html/tmp, 0770): No such file or directory at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 199.
Can't do chmod(0770, /opt/webwork/courses/modelCourse/html/tmp): No such file or directory at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 201.
Use of uninitialized value in numeric eq (==) at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 203.
Use of uninitialized value in chown at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 204.
Use of uninitialized value in concatenation (.) or string at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 204.
Can't do chown(-1,,/opt/webwork/courses/modelCourse/html/tmp): No such file or directory at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 204.
Can't do mkdir(/opt/webwork/courses/modelCourse/DATA/mailmerge, 0770): No such file or directory at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 199.
Can't do chmod(0770, /opt/webwork/courses/modelCourse/DATA/mailmerge): No such file or directory at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 201.
Use of uninitialized value in numeric eq (==) at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 203.
Use of uninitialized value in chown at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 204.
Use of uninitialized value in concatenation (.) or string at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 204.
Can't do chown(-1,,/opt/webwork/courses/modelCourse/DATA/mailmerge): No such file or directory at /opt/webwork/pg/lib/WeBWorK/PG/IO.pm line 204.
Warning messages
cd /opt/webwork/webwork2/tmp/ImageGenerator.GUYXdDDy && /usr/bin/latex equation > latex.out 2> latex.err returned non-zero status 32512: Inappropriate ioctl for device at /opt/webwork/pg/lib/WeBWorK/PG/ImageGenerator.pm line 343.
cd /opt/webwork/webwork2/tmp/ImageGenerator.GUYXdDDy failed at /opt/webwork/pg/lib/WeBWorK/PG/ImageGenerator.pm line 344.
Unable to execute /usr/bin/latex at /opt/webwork/pg/lib/WeBWorK/PG/ImageGenerator.pm line 346.
total 20
-rw-r--r-- 1 apache wwdata 271 Jul 2 22:38 equation.tex
-rw-r--r-- 1 apache wwdata 46 Jul 2 22:38 latex.err
-rw-r--r-- 1 apache wwdata 0 Jul 2 22:38 latex.out
Unable to read logfile /opt/webwork/webwork2/tmp/ImageGenerator.GUYXdDDy/equation.log at /opt/webwork/pg/lib/WeBWorK/PG/ImageGenerator.pm line 354.
cd /opt/webwork/webwork2/tmp/ImageGenerator.GUYXdDDy && /usr/bin/latex equation > latex.out 2> latex.err failed to generate a DVI file at /opt/webwork/pg/lib/WeBWorK/PG/ImageGenerator.pm line 358.
cd /opt/webwork/webwork2/tmp/ImageGenerator.GUYXdDDy && /usr/bin/dvipng -bgtransparent -D120 -q -depth equation > dvipng.out 2> dvipng.err returned non-zero status 32512: No such file or directory at /opt/webwork/pg/lib/WeBWorK/PG/ImageGenerator.pm line 364.
DBD::mysql::db selectall_arrayref failed: Table 'webwork.depths' doesn't exist at /opt/webwork/pg/lib/WeBWorK/PG/ImageGenerator.pm line 435.
Error messages
Can't use an undefined value as an ARRAY reference at /opt/webwork/pg/lib/WeBWorK/PG/ImageGenerator.pm line 436.
Call stack
The information below can help locate the source of the problem.
in WeBWorK::PG::Local::new called at line 52 of /opt/webwork/webwork2/lib/WeBWorK/PG.pm
in WeBWorK::PG::new called at line 231 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
in WeBWorK::ContentGenerator::ProblemSet::info called at line 152 of /opt/webwork/webwork2/lib/WeBWorK/Template.pm
in WeBWorK::Template::template called at line 491 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
in WeBWorK::ContentGenerator::content called at line 195 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
in WeBWorK::ContentGenerator::go called at line 353 of /opt/webwork/webwork2/lib/WeBWorK.pm
Any insights would be greatly appreciated. Thanks in advance.