en:user_advanced:installation_312
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:user_advanced:installation_312 [2025/07/18 05:13] – anupama | en:user_advanced:installation_312 [2026/07/20 00:56] (current) – [Check developer tools and set up environment] kjdon | ||
|---|---|---|---|
| Line 57: | Line 57: | ||
| - Open a DOS prompt to run the following scripts and commands: | - Open a DOS prompt to run the following scripts and commands: | ||
| - Go into your Greenstone installation folder, '' | - Go into your Greenstone installation folder, '' | ||
| - | - ** Visual Studio** | + | - **Visual Studio** |
| - | - ** Java ** - the binary release only comes with a JRE, compiling needs a JDK. Greenstone needs Java 8 or 11 (its untested on higher versions). | + | - **Java** |
| * If you have a suitable Java already installed, please edit local/ | * If you have a suitable Java already installed, please edit local/ | ||
| * If you don't have a JDK, please run get-selfcontained-jdk.bat in the ext-cli folder - this will download a JDK 11. | * If you don't have a JDK, please run get-selfcontained-jdk.bat in the ext-cli folder - this will download a JDK 11. | ||
| - | - ** Ant ** - Ant is bundled in the binary release | + | - **Ant** - Ant is bundled in the binary release |
| - | - ** Perl ** - Perl is also bundled in the binary release. | + | - **Perl** - Perl is also bundled in the binary release. |
| - In the greenstone3 folder, run '' | - In the greenstone3 folder, run '' | ||
| - The Java Runtime (JRE) included with Greenstone 3 binaries is a 32 bit Java 8 runtime. This means that //if the Windows machine that you're recompiling the binary with the source component on is not 32 bit Java 8 too//, then you will need to do the following before compiling \\ | - The Java Runtime (JRE) included with Greenstone 3 binaries is a 32 bit Java 8 runtime. This means that //if the Windows machine that you're recompiling the binary with the source component on is not 32 bit Java 8 too//, then you will need to do the following before compiling \\ | ||
| - | <!--* rename '' | + | * < |
| - | | + | |
| - Finally, you can compile Greenstone 3. Still in your Greenstone installation folder, run '' | - Finally, you can compile Greenstone 3. Still in your Greenstone installation folder, run '' | ||
| - Grab the strawberry perl-with-cpan for Windows from https:// | - Grab the strawberry perl-with-cpan for Windows from https:// | ||
| Line 87: | Line 86: | ||
| - Set up the environment for compiling Greenstone by running the setupenv.bat script described above: '' | - Set up the environment for compiling Greenstone by running the setupenv.bat script described above: '' | ||
| - Go into your Greenstone 3 installation folder, '' | - Go into your Greenstone 3 installation folder, '' | ||
| - | - Edit your '' | ||
| - Now you can finally compile Greenstone 3. Still in your Greenstone installation folder, run '' | - Now you can finally compile Greenstone 3. Still in your Greenstone installation folder, run '' | ||
| - It can take several minutes to compile up. | - It can take several minutes to compile up. | ||
| Line 146: | Line 144: | ||
| </ | </ | ||
| - The Java Runtime (JRE) included in binaries from Greenstone 3.07 onward is version 7 and version 8 for Greenstone 3.11 onward. For 32 bit linux binaries, the included JRE is 32 bit and for 64 bit linux binaries the JRE is 64 bit. //If you have set up a system Java of a version different from the JRE included//, then \\ | - The Java Runtime (JRE) included in binaries from Greenstone 3.07 onward is version 7 and version 8 for Greenstone 3.11 onward. For 32 bit linux binaries, the included JRE is 32 bit and for 64 bit linux binaries the JRE is 64 bit. //If you have set up a system Java of a version different from the JRE included//, then \\ | ||
| - | < | + | * <!--* rename the '' |
| - | | + | |
| - | <!--* you may also want to want to delete '' | + | |
| - Most of the linux and mac machines we tested require the gnome-lib extension. Without it, if compilation fails with an error message about '' | - Most of the linux and mac machines we tested require the gnome-lib extension. Without it, if compilation fails with an error message about '' | ||
| - Use the terminal to extract the downloaded gnome-lib-minimal extension and set up the gnome-lib environment for compiling as follows:\\ < | - Use the terminal to extract the downloaded gnome-lib-minimal extension and set up the gnome-lib environment for compiling as follows:\\ < | ||
en/user_advanced/installation_312.1752815595.txt.gz · Last modified: by anupama
