WeBWorK Main Forum

Thomas Hagedorn - Course Administration Login Error

Thomas Hagedorn - Course Administration Login Error

by Arnold Pizer -
Number of replies: 1
activeTopicCourse Administration Login Error topic started 1/4/2007; 5:33:59 PM
last post 1/10/2007; 12:10:03 PM
userThomas Hagedorn - Course Administration Login Error  blueArrow
1/4/2007; 5:33:59 PM (reads: 22, responses: 1)
We're trying to install Webwork 2.3.1. When I log onto the Course Administration page as administrator, I get the following error (which seems different than those involving "use XML::Parser.pm" that were previously posted):

Warning messages

Error messages

Can't locate XML/Parser.pm in @INC (@INC contains: /local/pg/lib /local/webwork2/lib /local/perl-ww/lib/5.8.8/x86_64-linux /local/perl-ww/lib/5.8.8 /local/perl-ww/lib/site_perl/5.8.8/x86_64-linux /local/perl-ww/lib/site_perl/5.8.8 /local/perl-ww/lib/site_perl . /local/apache_1.3.37/ /local/apache_1.3.37/lib/perl) at /local/webwork2/lib/WeBWorK/Utils/DBImportExport.pm line 30. BEGIN failed--compilation aborted at /local/webwork2/lib/WeBWorK/Utils/DBImportExport.pm line 30. Compilation failed in require at /local/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm line 38. BEGIN failed--compilation aborted at /local/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm line 38. Compilation failed in require at (eval 1244) line 1. Call stack

The information below can help locate the source of the problem.

in WeBWorK::Utils::runtime_use called at line 329 of /local/webwork2/lib/WeBWorK.pm

________

Any suggestions on a fix?

Thanks, Tom

<| Post or View Comments |>


userMichael Gage - Re: Course Administration Login Error  blueArrow
1/10/2007; 12:10:03 PM (reads: 3, responses: 0)
You need to install the module XML::Parser which also requires that you install a binary expat as well. As I recall it is better to install this one by hand rather than to use CPAN.

Here is some info: http://search.cpan.org/src/MSERGEANT/XML-Parser-2.34/README

and the main page is http://search.cpan.org/~msergeant/XML-Parser

It's possible that you have XML::Parser, but that perl is looking for it in the wrong place (site_per/5.8.8......) You'll also want to check to make sure that you have an up-to-date version.

Hope this helps. Let us know how it goes.

-- Mike

<| Post or View Comments |>