Changeset 35534
- Timestamp:
- 2021-09-30T15:46:55+13:00 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/makegs2.sh
r32014 r35534 47 47 bitness=`uname -m` 48 48 # if we're 64 bit, add -fPIC to CFLAGS. Check if bitness contains substring "64" 49 if [[ $bitness == *"64"* ]]; then50 export CFLAGS="-fPIC $CFLAGS"51 echo "64 bit unix system, incl -fPIC in CFLAGS so it is now: $CFLAGS"52 fi49 #if [[ $bitness == *"64"* ]]; then 50 # export CFLAGS="-fPIC $CFLAGS" 51 # echo "64 bit unix system, incl -fPIC in CFLAGS so it is now: $CFLAGS" 52 #fi 53 53 54 54 # Compile by chaining the commands with && so it stops at that stage after an error … … 79 79 echo "@@@ Error compiling up Greenstone. Return status: $status" 80 80 fi 81 if [[ $bitness == *"64"* ]]; then82 echo ""83 echo "This unix is 64 bit. So added -fPIC to CFLAGS, which is now: $CFLAGS"84 fi81 #if [[ $bitness == *"64"* ]]; then 82 # echo "" 83 # echo "This unix is 64 bit. So added -fPIC to CFLAGS, which is now: $CFLAGS" 84 #fi 85 85 echo "****************************************" 86 86 … … 160 160 rm -rf ext/imagemagick.tar.gz 161 161 fi 162 163 164 # PDFv2Plugin needs PDFBoxConverter extension, which doesn't come installed in GS2 by default 165 # But without it, the PDFv2Plugin won't work and pluginfo.pl -describeall will break, 166 # GLI will have issues launching. So repeat what the GS2 installer does: 167 # rename PDFv2Plugin.pm to PDFv2Plugin.tmp and show user a message on how to make it functional. 168 echo "" 169 echo " Renaming PDFv2Plugin to make it unfunctional." 170 echo " To make it functional, install the PDFBoxConverter extension for Greenstone" 171 echo " and then rename the PDFv2Plugin.tmp file to PDFv2Plugin.pm" 172 echo "" 173 mv perllib/plugins/PDFv2Plugin.pm perllib/plugins/PDFv2Plugin.tmp 174
Note:
See TracChangeset
for help on using the changeset viewer.