Changeset 23620 for main/trunk


Ignore:
Timestamp:
2011-01-20T18:26:36+13:00 (13 years ago)
Author:
ak19
Message:

Implemented Dr Bainbridge and Sam's solution to the libiconv/wvware/gnome/apache problem: apache's lib folder (containing its own libiconv) is no longer set in the DYLD_LIBRARY_PATH exported from GS2's setup.bash, but is now set specifically for the web-server in gs2-server.sh

Location:
main/trunk/greenstone2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/gs2-server.sh

    r23603 r23620  
    11#!/bin/bash
     2
     3if test -e apache-httpd ; then
     4  echo "+Adding in executable path for apache-httpd"
     5  PATH=$GSDLHOME/apache-httpd/$GSDLOS/bin:$PATH
     6  export PATH
     7
     8  if test "$GSDLOS" = "linux" ; then
     9      LD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$LD_LIBRARY_PATH"
     10      export LD_LIBRARY_PATH
     11
     12  elif test "$GSDLOS" = "darwin" ; then
     13      DYLD_LIBRARY_PATH="$GSDLHOME/apache-httpd/$GSDLOS/lib:$DYLD_LIBRARY_PATH"
     14      export DYLD_LIBRARY_PATH
     15  fi
     16fi
     17
     18
    219if [ -z "$serverlang" ]; then
    320    serverlang=en
  • main/trunk/greenstone2/setup.bash

    r23588 r23620  
    240240fi
    241241
    242 if 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
    255 fi
    256 
    257242
    258243if test -e local ; then
Note: See TracChangeset for help on using the changeset viewer.