Ignore:
Timestamp:
2019-04-12T19:36:30+12:00 (5 years ago)
Author:
ak19
Message:

On Ubuntu 18.04, confirmed Renate's findings that gsdlCGI.pm wasn't found by gliserver.pl in its @INC paths. Have now added the containing cgi-bin folder on GS2 and cgi folder on GS3 to @INC to teach gliserver.pl to find gsdlCGI.pm. This however needed a fix in build.xml where force-start-tomcat was passing the wrong value for GSDL3HOME to tomcat: it was passing in basedir instead of web.home. With this fix, gliserver.pl now works on Ubuntu 18.04. Have added lines identical to the changes in gliserver.pl to the other pl files in the cgi(-bin) folder for those pl files that similarly import gsdlCGI.pm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r33004 r33011  
    24332433    <exec executable="${sudo.or.not}" os="${os.unix}" dir="${catalina.home}/bin" spawn="false">
    24342434      <!--<env key="GSDLOS" value="linux"/> do we need this?? -->
    2435       <env key="GSDL3HOME" value="${basedir}"/>
     2435      <env key="GSDL3HOME" value="${web.home}"/>
    24362436      <env key="PATH" path="${tomcat.path}"/>
    24372437      <env key="CATALINA_OPTS" value="${catalina.opts}"/>
     
    24462446    <exec executable="${catalina.home}/bin/startup.bat" osfamily="windows" dir="${catalina.home}/bin" spawn="true">
    24472447      <env key="GSDLOS" value="windows"/>
    2448       <env key="GSDL3HOME" value="${basedir}"/>
     2448      <env key="GSDL3HOME" value="${web.home}"/>
    24492449      <env key="Path" path="${tomcat.path}"/>
    24502450      <env key="PATH" path="${tomcat.path}"/>
Note: See TracChangeset for help on using the changeset viewer.