Changeset 34151

Timestamp:
11.06.2020 14:16:45 (4 weeks ago)
Author:
ak19
Message:

Part 1. Untested. (The commit didn't go through previously for whateer reason.) CGI.pm no longer included with core perl distributions (from 5.22 onwards, I think). But Greenstone needs it for gliserver.pl, metadata-server.pl, etc. Otherwise we see errors like ERROR: Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: .../web/WEB-INF/cgi ...). The existing CGI.pm in common-src/cgi-bin is not enough as the error simply becomes that CGI::Util.pm can't be found in @INC. Dr Bainbridge advised compiling up a CGI.pm and then Kathy suggested for it to go into or rather end up in web/WEB-INF/cgi, since GS2 uses it too. Having compiled it up against a local PREFIX on a perl 5.22 machine, I am committing the tarball and helper files like CGI::Util.pm with their correct folder structure. Once I commit the svn:externals property in web/WEB-INF/cgi, this tarball will also be present in the correct location for GS3 hopefully. Whoever finds that they don't have CGI.pm can then untar it. Not tested to actually work, however.

Files:
1 added