source: main/trunk/greenstone2/common-src/cgi-bin/CGIModule.tar.gz@ 35683

Last change on this file since 35683 was 34151, checked in by ak19, 4 years ago

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.

  • Property svn:mime-type set to application/octet-stream
File size: 56.3 KB

HTML preview not available, since no preview renderer could handle it.Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.