i am trying to install otrs 3.3.6 on ubuntu 18.4, but i had problem in the following step in the guide:
Step 5: Check if all needed modules are installed
i got always this error :shell> perl -cw /opt/otrs/bin/cgi-bin/index.pl
/opt/otrs/bin/cgi-bin/index.pl syntax OK
shell> perl -cw /opt/otrs/bin/cgi-bin/customer.pl
/opt/otrs/bin/cgi-bin/customer.pl syntax OK
shell> perl -cw /opt/otrs/bin/otrs.PostMaster.pl
/opt/otrs/bin/otrs.PostMaster.pl syntax OK
And i checked the Perl Modules :perl otrs.PostMasterMailbox.pl
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/
(&{ <-- HERE .+?})
/ at /opt/otrs/Kernel/System/HTMLUtils.pm line 1042.
Compilation failed in require at /opt/otrs/Kernel/System/EmailParser.pm line 15.
BEGIN failed--compilation aborted at /opt/otrs/Kernel/System/EmailParser.pm line 15.
Compilation failed in require at /opt/otrs/Kernel/System/PostMaster.pm line 15.
BEGIN failed--compilation aborted at /opt/otrs/Kernel/System/PostMaster.pm line 15.
Compilation failed in require at otrs.PostMasterMailbox.pl line 40.
BEGIN failed--compilation aborted at otrs.PostMasterMailbox.pl line 40.
otrs@otrsserver:/opt/otrs/bin$ perl otrs.CheckModules.pl
o Crypt::Eksblowfish::Bcrypt.......ok (v0.009)
o Crypt::SSLeay....................ok (v0.73_04)
o Date::Format.....................ok (v2.24)
o DBI..............................ok (v1.640)
o DBD::mysql.......................ok (v4.046)
o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.)
o DBD::Pg..........................Not installed! (optional - Required to connect to a PostgreSQL database.)
o Encode::HanExtra.................ok (v0.23)
o GD...............................ok (v2.66)
o GD::Text.......................ok (v0.86)
o GD::Graph......................ok (v1.48)
o IO::Socket::SSL..................ok (v2.056)
o JSON::XS.........................ok (v3.04)
o List::Util::XS...................ok (v1.46_02)
o LWP::UserAgent...................FAILED! Not all prerequisites for this module correctly installed.
o Mail::IMAPClient.................ok (v3.39)
o IO::Socket::SSL................ok (v2.056)
o ModPerl::Util....................ok (v2.000010)
o Net::DNS.........................ok (v1.10)
o Net::LDAP........................ok (v0.65)
o Net::SSL.........................ok (v2.88)
o PDF::API2........................ok (v2.033)
o Compress::Zlib.................ok (v2.074)
o Text::CSV_XS.....................ok (v1.34)
o Time::HiRes......................ok (v1.9741)
o XML::Parser......................ok (v2.44)
o YAML::XS.........................ok (v0.69)
I am not sure if o LWP::UserAgent is the reason for my problem, but when i am trying to install LWP::UserAgent using cpan, it is saying it is up to date v6.33 and if i am trying to install it using sudo apt-get install. it is saying : E: unable to locate Package LWP::UserAgent
I used also apt-cache search LWP::UserAgent to find all libs then i installed all of them with apt-get install
Could anyone help me please?
Thanks in advance