WeBWorK Main Forum

problems after 2.4 install on Fedora 9

problems after 2.4 install on Fedora 9

by Hans Johnston -
Number of replies: 1
Hi Webwork Folks,

I just finished installing webwork 2.4 per the instructions for Fedora 9 OS on the
wiki page. I had called Gavin LaRose (I know him from having been a postrdoc at UofM) and he suggested I post the issue to "the team" in hopes you folks have an idea of the problem.

When I got to the setion "Test that Things are Working Properly" I could not view
ANY of the problems, and there was a long list of errors. Gavin had me try to just view a problem set and I selected "set0" from the Rochester library. While some display fine, many don't, and at the bottom of the page I see:

WeBWorK Warnings

WeBWorK has encountered warnings while processing your request. If this occured when viewing a problem, it was likely caused by an error or ambiguity in that problem. Otherwise, it may indicate a problem with the WeBWorK system itself. If you are a student, report these warnings to your professor to have them corrected. If you are a professor, please consult the warning output below for more information.

Warning messages

  • Failed to evaluate module Parser: Can't use string ("Value::Real::ISA") as an ARRAY ref while "strict refs" in use at /opt/webwork/pg/lib/Value/Context.pm line 107.
  • Compilation failed in require at /opt/webwork/pg/lib/Value.pm line 1128.
  • BEGIN failed--compilation aborted at /opt/webwork/pg/lib/Value.pm line 1128.
  • Compilation failed in require at /opt/webwork/pg/lib/Parser.pm line 790.
  • BEGIN failed--compilation aborted at /opt/webwork/pg/lib/Parser.pm line 790.
  • Compilation failed in require at (eval 975) line 1.
  • Failed to evaluate module Value: Can't use string ("Value::Real::ISA") as an ARRAY ref while "strict refs" in use at /opt/webwork/pg/lib/Value/Context.pm line 107.
  • Compilation failed in require at /opt/webwork/pg/lib/Value.pm line 1128.
  • BEGIN failed--compilation aborted at /opt/webwork/pg/lib/Value.pm line 1128.
  • Compilation failed in require at /opt/webwork/pg/lib/Parser.pm line 790.
  • BEGIN failed--compilation aborted at /opt/webwork/pg/lib/Parser.pm line 790.
  • Compilation failed in require at (eval 975) line 1.
  • Failed to evaluate module Parser::Legacy: Can't call method "copy" on an undefined value at /opt/webwork/pg/lib/Parser/Legacy/LimitedNumeric.pm line 81.
  • Compilation failed in require at /opt/webwork/pg/lib/Parser/Legacy.pm line 6.
  • BEGIN failed--compilation aborted at /opt/webwork/pg/lib/Parser/Legacy.pm line 6.
  • Compilation failed in require at (eval 976) line 1.
  • $# is no longer supported at line 3 of (eval 1027)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 1242) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 1242) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 1243) line 1.
  • $# is no longer supported at line 3 of (eval 1270)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 1485) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 1485) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 1486) line 1.
  • $# is no longer supported at line 3 of (eval 1513)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 1728) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 1728) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 1729) line 1.
  • $# is no longer supported at line 3 of (eval 1756)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 1967) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 1967) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 1968) line 1.
  • $# is no longer supported at line 3 of (eval 1995)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 2219) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 2219) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 2220) line 1.
  • $# is no longer supported at line 3 of (eval 2247)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 2474) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 2474) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 2475) line 1.
  • $# is no longer supported at line 3 of (eval 2502)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 2732) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 2732) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 2733) line 1.
  • $# is no longer supported at line 3 of (eval 2760)
The permissions in /opt/webwork/pg/lib and /opt/webwork/pg/lib/Parser all
seem to be fine.

Any ideas?

Thanks, Hans


In reply to Hans Johnston

Re: problems after 2.4 install on Fedora 9

by Michael Gage -
Hi Hans,

Update your pg directory to the rel-2-4-patches release

cvs update -r rel-2-4-patches -dP


You are seeing a "bug" that occurs when you use perl 5.10 -- perl 5.10
does stricter testing than perl 5.8.x (see earlier postings to this forum)

I'd recommend doing the same update for webwork2 as well.

The rel-2-4-patches branch will have stable updates.

Hope this resolves all your problems -- it will certainly help.

-- Mike