SID-02507: Errors on first time configure
| Status: |
Answered |
TWiki version: |
6.1.0 |
Perl version: |
5.36.1 |
| Category: |
CategoryInstallation |
Server OS: |
Redhat Enterprise 8 |
Last update: |
2 years ago |
Hello, I am working on setting up a twiki on a remote server running Redhat Enterprise 8 and am getting an error on the last installation step when going to <host>/do/configure. I have seen some of the other posts about this error but do not understand the solutions offered. Unfortunately, I have never set up a web server or done anything like this before. The full error message is below, any advice would be greatly appreciated. Thank you in advance!
Failed to load the perl module CGI qw(:any). The module could not be found.
Please ensure that:
- CGI qw(:any) is installed,
- that the module is available on the @INC path,
- that the webserver user (apache) has permission to read the CGI qw(:any).pm file.
The detailed error seen was:
Can't locate HTML/Entities.pm in @INC (you may need to install the HTML::Entities module) (@INC contains: /var/www/twiki/lib . /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /var/www/twiki/lib/CPAN/lib//arch /var/www/twiki/lib/CPAN/lib//5.26.3/x86_64-linux-thread-multi /var/www/twiki/lib/CPAN/lib//5.26.3 /var/www/twiki/lib/CPAN/lib/) at /var/www/twiki/lib/CGI.pm line 6.
BEGIN failed--compilation aborted at /var/www/twiki/lib/CGI.pm line 6.
Compilation failed in require at (eval 10) line 1.
BEGIN failed--compilation aborted at (eval 10) line 1.
--
Caitlin Barron - 2023-06-07
Discussion and Answer
It looks like you have the
CGI module, but that it cannot load the
HTML::Entities module. Install it using CPAN, see
HowToInstallCpanModules.
--
Peter Thoeny - 2023-06-08
I saw that too but when I try to install it I get
cpan[2]> install HTML::Entities
HTML::Entities is up to date (3.81).
--
Caitlin Barron - 2023-06-08
I saw that too but when I try to install it I get
cpan[2]> install HTML::Entities
HTML::Entities is up to date (3.81).
--
Caitlin Barron - 2023-06-08
oops, did not mean to double post
--
Caitlin Barron - 2023-06-08
It depends where your cpan[2] installs modules. Make sure to to add this to
@INC if missing. You can set the
@localPerlLibPath in
twiki/bin/LocalLib.cfg
--
Peter Thoeny - 2023-06-14
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.