User Tools

Site Tools


en:developer:windows_source_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:developer:windows_source_install [2018/11/27 02:24] anupamaen:developer:windows_source_install [2019/04/16 04:52] – [Current instructions] anupama
Line 10: Line 10:
   * An SVN client installed, which can be downloaded from http://subversion.apache.org/packages.html. The instructions below assume a command-line SVN client.    * An SVN client installed, which can be downloaded from http://subversion.apache.org/packages.html. The instructions below assume a command-line SVN client. 
   * 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://trac.greenstone.org/browser/main/trunk/release-kits/shared/windows/perl.zip|Strawberry Perl]] that has everything we need so far.
   * **Visual Studio** 8 or later for compiling C++ code. (We haven't tried it with Microsoft's free Visual Studio Express yet.) For 64-bit Windows, we found that Visual Studio versions 9 and 12 worked to compile GS3 from SVN.   * **Visual Studio** 8 or later for compiling C++ code. (We haven't tried it with Microsoft's free Visual Studio Express yet.) For 64-bit Windows, we found that Visual Studio versions 9 and 12 worked to compile GS3 from SVN.
   * 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 38: Line 38:
 Once the ''ant prepare'' step has //finished//: Once the ''ant prepare'' step has //finished//:
  
-If you're using Visual Studio 14 ([[https://en.wikipedia.org/wiki/Microsoft_Visual_Studio#History|a.k.a. Visual Studio 2015]]), then before proceeding, backup your windows iconv.zip and rename gs-libiconv-winVS14-VS2015-plus.zip as the new iconv.zip, as below. (For details on which libiconv this uses and how it was modified to get it to work with VS14, refer [[http://trac.greenstone.org/browser/main/trunk/greenstone2/common-src/indexers/packages/windows/iconv/GS-README-VS14-VS2015-AND-LATER.txt|to this]].)+
 +If you're using Visual Studio 14 ([[https://en.wikipedia.org/wiki/Microsoft_Visual_Studio#History|a.k.a. Visual Studio 2015]]), then before proceeding, backup your windows iconv.zip and rename iconv-winVS14-VS2015-plus.zip as the new iconv.zip, as below. (For details on which libiconv this uses and how it was modified to get it to work with VS14, refer [[http://trac.greenstone.org/browser/main/trunk/greenstone2/common-src/indexers/packages/windows/iconv/GS-README-VS14-VS2015-AND-LATER.txt|to this]].)
 <code> <code>
-cd gs2build\common-src\indexers\packages\windows\iconv+pushd gs2build\common-src\indexers\packages\windows\iconv
 move iconv.zip iconv_preVS14.zip move iconv.zip iconv_preVS14.zip
-move gs-libiconv-winVS14-VS2015-plus.zip iconv.zip+move iconv-winVS14-VS2015-plus.zip iconv.zip 
 +rmdir /s /q iconv 
 +popd
 </code> </code>
 +]
  
 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: 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:
Line 72: Line 76:
  
   - Checkout greenstone2 from SVN:\\ <code> svn co http://svn.greenstone.org/main/trunk/greenstone3 gs3-svn</code>   - Checkout greenstone2 from SVN:\\ <code> svn co http://svn.greenstone.org/main/trunk/greenstone3 gs3-svn</code>
-  - **NOTE:** If you're using Visual Studio 14 ([[https://en.wikipedia.org/wiki/Microsoft_Visual_Studio#History|a.k.a. Visual Studio 2015]]), then before proceeding, backup your windows iconv.zip and rename gs-libiconv-winVS14-VS2015-plus.zip as the new iconv.zip, as below. (For details on which libiconv this uses and how it was modified to get it to work with VS14, refer [[http://trac.greenstone.org/browser/main/trunk/greenstone2/common-src/indexers/packages/windows/iconv/GS-README-VS14-VS2015-AND-LATER.txt|to this]].)\\ <code> +  - **NOTE:** If you're using Visual Studio 14 ([[https://en.wikipedia.org/wiki/Microsoft_Visual_Studio#History|a.k.a. Visual Studio 2015]]), then before proceeding, backup your windows iconv.zip and rename iconv-winVS14-VS2015-plus.zip as the new iconv.zip, as below. (For details on which libiconv this uses and how it was modified to get it to work with VS14, refer [[http://trac.greenstone.org/browser/main/trunk/greenstone2/common-src/indexers/packages/windows/iconv/GS-README-VS14-VS2015-AND-LATER.txt|to this]].)\\ <code> 
-cd gs2build\common-src\indexers\packages\windows\iconv+pushd common-src\indexers\packages\windows\iconv
 move iconv.zip iconv_preVS14.zip move iconv.zip iconv_preVS14.zip
-move gs-libiconv-winVS14-VS2015-plus.zip iconv.zip+move iconv-winVS14-VS2015-plus.zip iconv.zip 
 +rmdir /s /q iconv 
 +popd
 </code> </code>
   - Checkout the appropriate subfolder for your OS and bit architecture from http://svn.greenstone.org/local/greenstone2/ into your greenstone 2 checkout's toplevel folder. Name the downloaded subfolder ''local''. If you're on Windows 64 bit, then you'd do:\\ <code>svn co http://svn.greenstone.org/local/greenstone2/windows-64bit local</code>   - Checkout the appropriate subfolder for your OS and bit architecture from http://svn.greenstone.org/local/greenstone2/ into your greenstone 2 checkout's toplevel folder. Name the downloaded subfolder ''local''. If you're on Windows 64 bit, then you'd do:\\ <code>svn co http://svn.greenstone.org/local/greenstone2/windows-64bit local</code>
en/developer/windows_source_install.txt · Last modified: 2023/03/19 21:17 by kjdon