Changeset 27635 for main/trunk
- Timestamp:
- 2013-06-17T17:58:31+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/makegs2.sh
r27134 r27635 46 46 cd $gnomelib 47 47 ./CASCADE-MAKE.sh 48 gnomestatus=$? 49 if [ $gnomestatus != 0 ] ; then 50 echo "****************************************" 51 echo "@@@ Failed to compile up gnomelib successfully" 52 echo "****************************************" 53 exit -1 54 fi 48 55 #cd $gsdlhome 49 56 fi … … 65 72 66 73 # 4. now can compile as usual, having set up the environment for wvware 74 # chain the commands with && so it stops at that stage after an error 67 75 cd $gsdlhome 68 ./configure --enable-apache-httpd 69 make 70 make install 76 ./configure --enable-apache-httpd \ 77 && make \ 78 && make install 79 80 status=$? 81 echo "****************************************" 82 if [ $status = 0 ] ; then 83 # 5. Message to warn user that the env of this x-term uses gnome-lib 84 # and GUIs may not work from this console 85 86 echo "*** The environment for this console has been set to compile Greenstone with gnome-lib." 87 echo "*** As a result, graphical applications may not work well." 88 echo "*** In such a case, open a new console." 89 90 else 91 echo "@@@ Error compiling up Greenstone. Return status: $status" 92 fi 93 echo "****************************************" 71 94 72 95 73 # 5. Message to warn user that the env of this x-term uses gnome-lib 74 # and GUIs may not work from this console 75 echo "****************************************" 76 echo "*** The environment for this console has been set to compile Greenstone with gnome-lib." 77 echo "*** As a result, graphical applications may not work well." 78 echo "*** In such a case, open a new console." 79 echo "****************************************" 96
Note:
See TracChangeset
for help on using the changeset viewer.