Ignore:
Timestamp:
2011-02-18T18:35:37+13:00 (13 years ago)
Author:
ak19
Message:

Sam's changes for Mac's libiconv seem to work so that word docs get processed even in the remote Mac GS Server case, therefore am undoing recent changes to gsicontrol.sh (resetting to revision 23252) and setup.bash (resetting to revision 23588) which got the old apache libiconv to only be found and used by apache which needed it, so wvware processing of word docs on a local Mac GS server worked using the system libiconv. But this fix hadn't solved the case for the remote Mac GS2 Server situation, since wvware then found apache's libiconv which was not right for it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/gsicontrol.sh

    r23661 r23726  
    33testdone=0
    44
    5 # Setup.bash needs to be sourced
    6 # On MAC, need to tell apache to find and use its own libiconv<num>.dylib
    7 # If gs2-server.sh is run from GLI, we can't just test for the existence
    8 # of "apache-httpd", so use the full path (from GSDLHOME) to test it exists
    95function test-gsdlhome {
    106    if [ $testdone == "0" ] ; then
     
    2016        echo "  GSDLHOME = $GSDLHOME" ;
    2117        echo "  GSDLOS   = $GSDLOS" ;
    22         if test -e "$GSDLHOME/apache-httpd" ; then
    23         echo "+Adding in executable path for apache-httpd"
    24         PATH=$GSDLHOME/apache-httpd/$GSDLOS/bin:$PATH
    25         export PATH
    26        
    27         if test "$GSDLOS" = "linux" ; then
    28             LD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$LD_LIBRARY_PATH"
    29             export LD_LIBRARY_PATH
    30         elif test "$GSDLOS" = "darwin" ; then     
    31             DYLD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$DYLD_LIBRARY_PATH"
    32             export DYLD_LIBRARY_PATH
    33         fi
    34         fi
    3518        fi
    3619    testdone=1
Note: See TracChangeset for help on using the changeset viewer.