en:developer:windows_source_install
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:developer:windows_source_install [2018/09/07 03:14] – [Current instructions] anupama | en:developer:windows_source_install [2023/03/19 21:17] (current) – kjdon | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | |||
| ====== Source Installation on Windows ====== | ====== Source Installation on Windows ====== | ||
| ======Current instructions====== | ======Current instructions====== | ||
| - | <TABAREA tabs="Greenstone3, | + | <tabbox  | 
| - | <TAB> | + | |
| Tested on Windows (Vista) 64 bit. | Tested on Windows (Vista) 64 bit. | ||
| Line 10: | Line 11: | ||
|   * An SVN client installed, which can be downloaded from http:// |   * An SVN client installed, which can be downloaded from http:// | ||
| * Java JDK 6.x or later. For compiling on Windows 64 bit, need the 64 bit version of JDK. For compiling Greenstone 3.06 and onwards, need JDK 7.x or later. | * Java JDK 6.x or later. For compiling on Windows 64 bit, need the 64 bit version of JDK. For compiling Greenstone 3.06 and onwards, need JDK 7.x or later. | ||
| - | * PERL (ActivePerl for Windows) | + |   * PERL: we used to use ActivePerl for Windows. Now we provide our own modified version of [[http:// | 
|   * **Visual Studio** 8 or later for compiling C++ code. (We haven' |   * **Visual Studio** 8 or later for compiling C++ code. (We haven' | ||
| * If you want to compile GS2 or GS3 with debugging on, you will also need Microsoft SDK | * If you want to compile GS2 or GS3 with debugging on, you will also need Microsoft SDK | ||
| Line 20: | Line 21: | ||
| < | < | ||
| - | svn co http:// | + | svn co https:// | 
| cd gs3-svn | cd gs3-svn | ||
| - | svn co http:// | + | svn co https:// | 
| </ | </ | ||
| For the OS-bitness folder, you can at present choose from " | For the OS-bitness folder, you can at present choose from " | ||
| Line 36: | Line 37: | ||
| (The gs3-devel.bat will print a file not found error on Windows, since gs3-devel.bat runs gs3-setup.bat which refers to some files that the ant prepare step has yet to checkout.) | (The gs3-devel.bat will print a file not found error on Windows, since gs3-devel.bat runs gs3-setup.bat which refers to some files that the ant prepare step has yet to checkout.) | ||
| - | Once the '' | + | Once the '' | 
| + | |||
| + | [ | ||
| + | If you're using Visual Studio 14 ([[https:// | ||
| + | < | ||
| + | pushd gs2build\common-src\indexers\packages\windows\iconv | ||
| + | move iconv.zip iconv_preVS14.zip | ||
| + | move iconv-winVS14-VS2015-plus.zip iconv.zip | ||
| + | rmdir /s /q iconv | ||
| + | popd | ||
| + | </ | ||
| + | ] | ||
| + | |||
| + | Open **a new terminal**, go back to into the SVN Greenstone 3 checkout directory and run the devel script again before running the actual compile command: | ||
| < | < | ||
| gs3-devel.bat | gs3-devel.bat | ||
| Line 44: | Line 58: | ||
| **Note:** after compiling with the above steps, your terminal would be left in a state where running GLI would not be able to locate the Greenstone building scripts like '' | **Note:** after compiling with the above steps, your terminal would be left in a state where running GLI would not be able to locate the Greenstone building scripts like '' | ||
| - | </TAB> | + | <tabbox Greenstone2> | 
| - | <!-- ######################################################################################## | + | |
| - | ############################################################################################## | + | |
| - | ############################################################################################ | + | |
| - | ######################################################################################### | + | |
| - | <TAB> | + | |
| On 64 bit windows, earlier versions of GS2 on SVN used to have an issue with race conditions (random failing due to asynchronous behaviour) when compiling up apache-httpd as part of GS2. Refer to [[http:// | On 64 bit windows, earlier versions of GS2 on SVN used to have an issue with race conditions (random failing due to asynchronous behaviour) when compiling up apache-httpd as part of GS2. Refer to [[http:// | ||
| Line 62: | Line 71: | ||
| * If you want to compile GS2 with debugging on, you will also need Microsoft SDK | * If you want to compile GS2 with debugging on, you will also need Microsoft SDK | ||
| - |   - Checkout greenstone2 from SVN:\\ < | + |   - Checkout greenstone2 from SVN:\\ < | 
| + |   - **NOTE:** If you're using Visual Studio 14 ([[https:// | ||
| + | cd gs2-svn | ||
| + | pushd common-src\indexers\packages\windows\iconv | ||
| + | move iconv.zip iconv_preVS14.zip | ||
| + | move iconv-winVS14-VS2015-plus.zip iconv.zip | ||
| + | rmdir /s /q iconv | ||
| + | popd | ||
| + | </ | ||
|   - Checkout the appropriate subfolder for your OS and bit architecture from http:// |   - Checkout the appropriate subfolder for your OS and bit architecture from http:// | ||
|   - On 64 bit Windows, edit '' |   - On 64 bit Windows, edit '' | ||
|   - Run the top level GS2's '' |   - Run the top level GS2's '' | ||
| setup.bat</ | setup.bat</ | ||
| - |   - Finally, still from your top level GS2 folder, run\\ < | + |   - Finally, still from your top level GS2 folder, run\\ < | 
| - | + |   - Finally, check out and compile GLI:\\ < | |
| - | + | svn co https:// | |
| - | In GS2 SVN checkouts from **before changeset [[http:// | + | cd gli | 
| + | makegli.bat | ||
| + | makejar.bat | ||
| + | </ | ||
| - | </TAB> | + | </tabbox> | 
| - | </ | + | |
| ======Old instructions====== | ======Old instructions====== | ||
| - | <TABAREA tabs="Greenstone3, | + | <tabbox  | 
| - | <TAB> | + | |
| **You NEED Visual Studio C++.** (We haven' | **You NEED Visual Studio C++.** (We haven' | ||
| Line 176: | Line 194: | ||
| =====Advanced===== | =====Advanced===== | ||
| For information on further configuration of the installation (such as changing the port number or host name of the web server), see | For information on further configuration of the installation (such as changing the port number or host name of the web server), see | ||
| - | [[en: | + | [[en: | 
| - | </TAB> | + | <tabbox Greenstone2> | 
| - | <!-- ######################################################################################## | + | |
| - | ############################################################################################## | + | |
| - | ############################################################################################ | + | |
| - | ######################################################################################### | + | |
| - | <TAB> | + | |
| You will need: | You will need: | ||
| * Visual Studio, to use its compiling capabilities which work with the Windows makefiles of Greenstone | * Visual Studio, to use its compiling capabilities which work with the Windows makefiles of Greenstone | ||
| Line 320: | Line 333: | ||
| - | </TAB> | + | </tabbox> | 
| - | </ | + | |
en/developer/windows_source_install.1536290058.txt.gz · Last modified: 2018/09/07 03:14 (external edit)
                
                