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.

Location:
main/trunk/greenstone2
Files:
2 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
  • main/trunk/greenstone2/setup.bash

    r23648 r23726  
    240240fi
    241241
     242if test -e apache-httpd ; then
     243  echo "+Adding in executable path for apache-httpd"
     244  PATH=$GSDLHOME/apache-httpd/$GSDLOS/bin:$PATH
     245  export PATH
     246
     247  if test "$GSDLOS" = "linux" ; then
     248      LD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$LD_LIBRARY_PATH"
     249      export LD_LIBRARY_PATH
     250 
     251  elif test "$GSDLOS" = "darwin" ; then
     252      DYLD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$DYLD_LIBRARY_PATH"
     253      export DYLD_LIBRARY_PATH
     254  fi
     255fi
     256
    242257if test -e local ; then
    243258  if test -e local/setup.bash ; then
Note: See TracChangeset for help on using the changeset viewer.