http://webwork.maa.org/wiki/Installation_Manual_for_2.12_on_Ubuntu_16.04#.WG-bflzD42g
When I run check_modules.pl apache2 I get the output shown at bottom of this post.
I tried to follow these instructions:
sudo perl -MCPAN -e shell [sudo] password for wwadmin: <wwadmin password>
and accept any defaults. Then
cpan> install Mail::Sender
and accept any defaults. Now
cpan> exitHowever, the first question said something about defaults and I answered yes, when I think I should have answered No. Unfortunately, once this process has been screwed up it doesnt seem to be reversible. I have tried to reinstall and I have tried to uninstall Mail::Sender to start over. Neither methods have fixed my problems.
I really dont want to start over entirely and could use some help in figuring out what to do to fix this efficiently.
Here is the output from check_modules.pl apache2:
Checking your $PATH for executables required by WeBWorK...
$PATH= /home/wwadmin/bin
/home/wwadmin/.local/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
/opt/webwork/webwork2/bin
curl found at /usr/bin/curl
mkdir found at /bin/mkdir
mv found at /bin/mv
mysql found at /usr/bin/mysql
tar found at /bin/tar
git found at /usr/bin/git
gzip found at /bin/gzip
latex found at /usr/bin/latex
pdflatex found at /usr/bin/pdflatex
dvipng found at /usr/bin/dvipng
giftopnm found at /usr/bin/giftopnm
ppmtopgm found at /usr/bin/ppmtopgm
pnmtops found at /usr/bin/pnmtops
pnmtopng found at /usr/bin/pnmtopng
pngtopnm found at /usr/bin/pngtopnm
Checking your @INC for modules required by WeBWorK...
@INC= /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.22.1
/usr/local/share/perl/5.22.1
/usr/lib/x86_64-linux-gnu/perl5/5.22
/usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.22
/usr/share/perl/5.22
/usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base
.
Array::Utils found and loaded
Benchmark found and loaded
Carp found and loaded
CGI found and loaded
Class::Accessor found and loaded
Crypt::SSLeay found and loaded
Dancer found and loaded
Dancer::Plugin::Database found and loaded
Data::Dumper found and loaded
Data::UUID found and loaded
Date::Format found and loaded
Date::Parse found and loaded
DateTime found and loaded
DBD::mysql found and loaded
DBI found and loaded
Digest::MD5 found and loaded
Digest::SHA found and loaded
Email::Address found and loaded
Errno found and loaded
Exception::Class found and loaded
File::Copy found and loaded
File::Find found and loaded
File::Find::Rule found and loaded
File::Path found and loaded
File::Spec found and loaded
File::stat found and loaded
File::Temp found and loaded
GD found and loaded
Getopt::Long found and loaded
Getopt::Std found and loaded
HTML::Entities found and loaded
HTML::Scrubber found and loaded
HTML::Tagset found and loaded
HTML::Template found and loaded
IO::File found and loaded
Iterator found and loaded
Iterator::Util found and loaded
Prototype mismatch: sub main::from_json: none vs ($@) at (eval 110) line 2.
Prototype mismatch: sub main::to_json: none vs ($@) at (eval 110) line 2.
JSON found and loaded
Locale::Maketext::Lexicon found and loaded
Locale::Maketext::Simple found and loaded
LWP::Protocol::https found and loaded
Mail::Sender is deprecated and you should look to Email::Sender instead at (eval 140) line 2.
Mail::Sender found and loaded
MIME::Base64 found and loaded
Net::IP found and loaded
Net::LDAPS found and loaded
Net::OAuth found and loaded
Net::SMTP found and loaded
Opcode found and loaded
PadWalker found and loaded
Path::Class found and loaded
PHP::Serialization found and loaded
Pod::Usage found and loaded
Pod::WSDL found and loaded
Safe found and loaded
Scalar::Util found and loaded
SOAP::Lite found and loaded
Socket found and loaded
SQL::Abstract found and loaded
String::ShellQuote found and loaded
Template found and loaded
Text::CSV found and loaded
Text::Wrap found and loaded
Tie::IxHash found and loaded
Time::HiRes found and loaded
Time::Zone found and loaded
URI::Escape found and loaded
UUID::Tiny found and loaded
XML::Parser found and loaded
XML::Parser::EasyTree found and loaded
XML::Writer found and loaded
XMLRPC::Lite found and loaded
YAML found and loaded
Apache2::Request found and loaded
Apache2::Cookie found and loaded
Apache2::ServerRec found and loaded
Apache2::ServerUtil found and loaded
wwadmin@mathdev:/usr/local/share/perl/5.22.1/Mail$ Mail::Sender is deprecated and you should look to Email::Sender instead at (eval 140) line 2.
-bash: syntax error near unexpected token `('