en:developer:windows_source_install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:developer:windows_source_install [2017/02/23 03:36] – anupama | en:developer:windows_source_install [2019/05/10 08:23] – [Current instructions] anupama | ||
---|---|---|---|
Line 10: | Line 10: | ||
* 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 26: | Line 26: | ||
For the OS-bitness folder, you can at present choose from " | For the OS-bitness folder, you can at present choose from " | ||
- | Use a text editor to edit '' | + | Use a text editor to edit '' |
Then you're ready to proceed by running the // | Then you're ready to proceed by running the // | ||
Line 36: | Line 36: | ||
(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.) | ||
- | Next, 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: | + | 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 62: | Line 75: | ||
* 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 when 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\\ < | ||
- | In GS2 SVN checkouts from **before changeset [[http:// | + | In GS2 SVN checkouts from **before changeset [[http:// |
</ | </ |
en/developer/windows_source_install.txt · Last modified: 2023/03/19 21:17 by kjdon