Changeset 20303 for greenstone3/trunk/gs3-setup.sh
- Timestamp:
- 2009-08-17T13:26:28+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/gs3-setup.sh
r20302 r20303 83 83 addtopath PATH "$GSDL3SRCHOME/bin/script" 84 84 addtopath PATH "$GSDL3SRCHOME/bin" 85 addtopath PATH "$GSDL3SRCHOME/gs2build/bin/linux/imagemagick/bin"86 addtopath PATH "$GSDL3SRCHOME/gs2build/bin/darwin/imagemagick/bin"87 addtopath PATH "$GSDL3SRCHOME/gs2build/bin/linux/ghostscript/bin"88 addtopath PATH "$GSDL3SRCHOME/gs2build/bin/darwin/ghostscript/bin"89 addtopath PATH "$GSDL3SRCHOME/gs2build/bin/linux/wv/bin"90 addtopath PATH "$GSDL3SRCHOME/gs2build/bin/darwin/wv/bin"91 85 echo " - Adjusted PATH" 92 86 … … 120 114 addtopath LD_LIBRARY_PATH "$GSDL3SRCHOME/lib/jni" 121 115 addtopath DYLD_LIBRARY_PATH "$GSDL3SRCHOME/lib/jni" 122 addtopath LD_LIBRARY_PATH "$GSDL3SRCHOME/gs2build/bin/linux/imagemagick/lib"123 addtopath DYLD_LIBRARY_PATH "$GSDL3SRCHOME/gs2build/bin/darwin/imagemagick/lib"124 addtopath LD_LIBRARY_PATH "$GSDL3SRCHOME/gs2build/bin/linux/ghostscript/lib"125 addtopath DYLD_LIBRARY_PATH "$GSDL3SRCHOME/gs2build/bin/darwin/ghostscript/lib"126 addtopath LD_LIBRARY_PATH "$GSDL3SRCHOME/gs2build/bin/linux/wv/lib"127 addtopath DYLD_LIBRARY_PATH "$GSDL3SRCHOME/gs2build/bin/darwin/wv/lib"128 116 echo " - Adjusted LD_LIBRARY_PATH and DYLD_LIBRARY_PATH" 129 117 … … 158 146 fi 159 147 148 #ImageMagick 149 if test -d "$GSDL3SRCHOME/gs2build/bin/$GSDLOS/imagemagick" ; then 150 addtopath PATH "$GSDL3SRCHOME/gs2build/bin/$GSDLOS/imagemagick/bin" 151 MAGICK_HOME="$GSDL3SRCHOME/gs2build/bin/$GSDLOS/imagemagick" 152 export MAGICK_HOME 153 if test "$GSDLOS" = "linux"; then 154 addtopath LD_LIBRARY_PATH "$GSDL3SRCHOME/gs2build/bin/$GSDLOS/imagemagick/lib" 155 elif test "$GSDLOS" = "darwin"; then 156 addtopath DYLD_LIBRARY_PATH "$GSDL3SRCHOME/gs2build/bin/$GSDLOS/imagemagick/lib" 157 fi 158 echo " - Setup ImageMagick" 159 fi 160 161 #Ghostscript 162 if test -d "$GSDL3SRCHOME/gs2build/bin/$GSDLOS/ghostscript"; then 163 addtopath PATH "$GSDL3SRCHOME/gs2build/bin/$GSDLOS/ghostscript/bin" 164 GS_LIB="$GSDL3SRCHOME/gs2build/bin/$GSDLOS/ghostscript/share/ghostscript/8.63/lib" 165 export GS_LIB 166 GS_FONTPATH="$GSDL3SRCHOME/gs2build/bin/$GSDLOS/ghostscript/share/ghostscript/8.63/Resource/Font" 167 export GS_FONTPATH 168 echo " - Setup GhostScript" 169 fi 170 171 #wvWare 172 if test -d "$GSDL3SRCHOME/gs2build/bin/$GSDLOS/wv"; then 173 if test "$GSDLOS" = "linux"; then 174 addtopath LD_LIBRARY_PATH "$GSDL3SRCHOME/gs2build/bin/$GSDLOS/wv/lib" 175 elif test "$GSDLOS" = "darwin"; then 176 addtopath DYLD_LIBRARY_PATH "$GSDL3SRCHOME/gs2build/bin/$GSDLOS/wv/lib" 177 fi 178 echo " - Setup wvWare" 179 fi 180 160 181 } 161 182
Note:
See TracChangeset
for help on using the changeset viewer.