Changeset 18090
- Timestamp:
- 2008-12-04T17:26:10+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/makegs2.bat
r18034 r18090 24 24 echo ## # # # # # # # # # # # # # ## 25 25 echo #### # ### ### # # ### ## ## # # ### #### 26 echo (C) 200 9, New Zealand Digital Library Project26 echo (C) 2008, New Zealand Digital Library Project 27 27 echo. 28 28 echo. … … 41 41 IF NOT EXIST .\common-src\indexers\packages\windows\iconv\iconv\*.* IF NOT EXIST .\common-src\indexers\packages\windows\iconv\iconv.zip GOTO ENDNOICONV 42 42 43 IF NOT EXIST .\common-src\packages\sqlite\sqlite* IF NOT EXIST .\common-src\packages\sqlite\sqlite*.tar.gz GOTO ENDNOSQLITE 44 43 45 rem Ask the user to extract now or to directly compile 44 echo Do you want to unzipthe required packages (Recommended)? This will be the default action in 10 seconds.46 echo Do you want to extract the required packages (Recommended)? This will be the default action in 10 seconds. 45 47 .\bin\windows\choice.exe /T:Y,10 /C:YN 46 48 IF errorlevel 2 GOTO COMPILE … … 51 53 :UNZIP 52 54 IF NOT EXIST .\bin\windows\unzip.exe GOTO ENDNOUNZIP 55 IF NOT EXIST .\bin\windows\gunzip.exe GOTO ENDNOUNZIP 56 IF NOT EXIST .\bin\windows\tar.exe GOTO ENDNOUNZIP 53 57 54 58 rem Extracting the packages … … 62 66 63 67 IF EXIST .\common-src\indexers\packages\windows\iconv\iconv.zip .\bin\windows\unzip.exe -o .\common-src\indexers\packages\windows\iconv\iconv.zip -d .\common-src\indexers\packages\windows\iconv\ 68 69 IF EXIST .\common-src\packages\sqlite\sqlite*.tar.gz .\bin\windows\gunzip.exe -cd .\common-src\packages\sqlite\sqlite*.tar.gz | .\bin\windows\tar.exe xv --directory=./common-src/packages/sqlite 64 70 echo. 65 71 echo. … … 72 78 IF NOT EXIST .\common-src\packages\windows\stlport\stlport\*.* GOTO NEEDUNZIP 73 79 IF NOT EXIST .\common-src\indexers\packages\windows\iconv\iconv\*.* GOTO NEEDUNZIP 80 IF NOT EXIST .\common-src\packages\sqlite\sqlite* GOTO NEEDUNZIP 74 81 75 82 rem Check some known paths to VCVARS32.BAT … … 147 154 :ENDNOUNZIP 148 155 echo. 149 echo /!\ Error /!\ - unzip.exe has not been found.150 echo Th is is required to extract the packages required for compilation.151 echo Th is tool is part ofthe Winbin folder, more info on this web page:156 echo /!\ Error /!\ - Extacting tools are missing. 157 echo They are required to extract all packages needed for compilation. 158 echo These tools are contained in the Winbin folder, more info on this web page: 152 159 echo http://wiki.greenstone.org/wiki/index.php/Installing_Greenstone_2_from_SVN_source_on_Windows#Getting_winbin 153 160 GOTO END … … 161 168 GOTO END 162 169 170 :ENDNOSQLITE 171 echo. 172 echo /!\ Error /!\ - SQLite is missing. 173 echo Some required packages are missing in .\common-src\packages\sqlite\ 174 echo Please go to this page for more information on how to get everything: 175 echo http://wiki.greenstone.org/wiki/index.php/Installing_Greenstone_2_from_SVN_source_on_Windows 176 GOTO END 177 163 178 :ENDNOICONV 164 179 echo.
Note:
See TracChangeset
for help on using the changeset viewer.