Changeset 34150 for main

Timestamp:
2020-06-11T14:14:50+12:00 (4 years ago)
Author:
ak19
Message:

Part 2. Untested. Setting svn externals property to pull CGIModule.tar.gz tarball into web/WEB-INF/cgi for whoever is missing CGI.pm. Related to previous commit whose commit message was: 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.

File:
1 edited

  • main/trunk/greenstone3/web/WEB-INF/cgi

    • Property svn:externals
      •  

        old new  
        11http://svn.greenstone.org/main/trunk/greenstone2/common-src/cgi-bin/metadata-server.pl metadata-server.pl
        22http://svn.greenstone.org/main/trunk/greenstone2/common-src/cgi-bin/document-extract.pl document-extract.pl
         3http://svn.greenstone.org/main/trunk/greenstone2/common-src/cgi-bin/CGIModule.tar.gz CGIModule.tar.gz
        34
Note: See TracChangeset for help on using the changeset viewer.