Changeset 23588


Ignore:
Timestamp:
2011-01-14T15:46:02+13:00 (13 years ago)
Author:
sjm84
Message:

Modifying wvWare to put its libraries into /data/sjm84/greenstone2-svn/lib/[linux|darwin] and also added this directory to the [DY]LD_LIBRARY_PATH when sourcing setup.bash

Location:
main/trunk/greenstone2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/packages/configure

    r22696 r23588  
    119119##fi
    120120
     121libdir="${prefix}/lib/$GSDLOS"
     122
    121123# This loads the top configure's cache file, with variables already set.
    122124if test -f "$cache_file" ; then
     
    137139# datadir is for default location of wvHtml.xml config file
    138140cd wv-gs && \
    139 ./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir" --datadir="$prefix/etc/packages" $HOSTTARGETFLAGS
     141./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir" --libdir="$libdir" --datadir="$prefix/etc/packages" $HOSTTARGETFLAGS
    140142
    141143# configure the pdftohtml converter
  • main/trunk/greenstone2/setup.bash

    r22422 r23588  
    161161  export PATH
    162162 
     163  if test "$GSDLOS" = "linux" ; then
     164      LD_LIBRARY_PATH="$GSDLHOME/lib/$GSDLOS:$LD_LIBRARY_PATH"
     165      export LD_LIBRARY_PATH
     166  elif test "$GSDLOS" = "darwin" ; then
     167      DYLD_LIBRARY_PATH="$GSDLHOME/lib/$GSDLOS:$DYLD_LIBRARY_PATH"
     168      export DYLD_LIBRARY_PATH
     169  fi
    163170 
    164171  # Override Imagemagick and Ghostscript paths to the bundled applications shipped with greenstone if they exists otherwise use default environment variables.
     
    195202fi
    196203 
    197  
     204
    198205 
    199206  MANPATH=$MANPATH:$GSDLHOME/packages/mg/man
Note: See TracChangeset for help on using the changeset viewer.