en:user_advanced:installation
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:user_advanced:installation [2019/03/25 01:20] – [Installation for a networked lab environment] anupama | en:user_advanced:installation [2023/08/02 03:33] – [Source Distribution] anupama | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | This page is up to date for 3.06 (5 November 2014). Much of it was checked again to be up to date after 3.08. | + | Updated on 30 Sep 2021, with changes that do not apply for Greenstone |
+ | For instructions related | ||
====== Advanced Installation ====== | ====== Advanced Installation ====== | ||
Line 17: | Line 19: | ||
- | * [[en: | + | * [[en: |
+ | * [[en: | ||
+ | **Important Note:** Before proceeding, you're to set all instructed environment variables in the same terminal, unless explicitly stated otherwise. | ||
===== Windows ===== | ===== Windows ===== | ||
Prerequisites for compiling the source component and source distribution on Windows: | Prerequisites for compiling the source component and source distribution on Windows: | ||
- | * Java JDK 6.x or later. | + | * For compiling on Windows 64 bit, need the 64 bit version of JDK. For 3.11 and onwards, JDK 8 is needed. For compiling Greenstone 3.06 and onwards, need JDK 7.x or later. |
+ | C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat | ||
* PERL: if you're using GS3.07 or earlier, get ActivePerl for Windows. From GS3.08 onwards, binaries and source distributions come with a [[http:// | * PERL: if you're using GS3.07 or earlier, get ActivePerl for Windows. From GS3.08 onwards, binaries and source distributions come with a [[http:// | ||
* Visual Studio 8 or later (Visual Studio 12 on 64 bit Windows 10 worked too.) | * Visual Studio 8 or later (Visual Studio 12 on 64 bit Windows 10 worked too.) | ||
Line 41: | Line 47: | ||
:: For this, need to cd into the folder where this script lives using the short filename path to this folder | :: For this, need to cd into the folder where this script lives using the short filename path to this folder | ||
:: %0 is this script | :: %0 is this script | ||
- | :: %~dp gives the full path to the folder containing this script. | + | :: For the following 2 lines, the spaces between percent sign, tilde and what follows after need to be removed |
- | :: %~s gives the windows short filename version | + | :: when writing the active command based on those lines. Spaces have been inserted in the following |
+ | :: to prevent this script from causing errors about these commented out lines when running. | ||
+ | :: % ~ dp gives the full path to the folder containing this script. | ||
+ | :: % ~ s gives the windows short filename version | ||
:: Combine to get what we want. | :: Combine to get what we want. | ||
:: Note that this will leave the DOS prompt pointing to short filename of the folder | :: Note that this will leave the DOS prompt pointing to short filename of the folder | ||
Line 74: | Line 83: | ||
:: (It may be apache httpd that needs 32 bit mode to compile.) | :: (It may be apache httpd that needs 32 bit mode to compile.) | ||
:: For now only VS9.0 (VS2008) works | :: For now only VS9.0 (VS2008) works | ||
+ | |||
:: FOR COMPILING GS2 on WINDOWS: | :: FOR COMPILING GS2 on WINDOWS: | ||
Line 85: | Line 95: | ||
:: (if using 64 bit windows, uncomment the following line by removing the two colons at its start) | :: (if using 64 bit windows, uncomment the following line by removing the two colons at its start) | ||
:: call " | :: call " | ||
+ | |||
+ | |||
+ | |||
+ | :: TO LOCATE YOUR vcvars32.bat (GS2/GS3) OR vcvarsall.bat (GS3) IN YOUR VISUAL STUDIO INSTALLATION: | ||
+ | :: Different Visual Studio installations can contain the vcvars32.bat and/or vcvarsall.bat in locations | ||
+ | :: different to the above examples. To locate your installation' | ||
+ | :: Open a DOS prompt and cd/change directory into your Visual Studio folder. Then use the command: dir /b /s " | ||
+ | :: and specify find the vcvars script by name, e.g. | ||
+ | :: C:\Program Files (x86)\Microsoft Visual Studio> | ||
+ | :: If such a file exists within your Visual Studio installation, | ||
+ | :: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat | ||
+ | :: Use this result in the " | ||
+ | :: (and further, only for vcvarsall.bat, | ||
+ | :: call " | ||
+ | |||
:done | :done | ||
Line 90: | Line 115: | ||
To make it easier for developers, a batch file containing placeholders you can adjust is already prepared and discussed at [[http:// | To make it easier for developers, a batch file containing placeholders you can adjust is already prepared and discussed at [[http:// | ||
==== Source Component ==== | ==== Source Component ==== | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | **Note:** Greenstone 3 does not at present compile successfully if it was installed in a place containing spaces. The solution is to move the installed GS3 folder out into a different location, one without spaces in the filepath, //before// compiling. Once compiling is done, you can move your installed GS3 folder back to its original location. |
- Get the source component zip file from the downloads page. | - Get the source component zip file from the downloads page. | ||
- Unzip it directly into your Greenstone installation folder, make sure not to create intermediary folders. If Windows prompts you about whether you want existing folders merged (and existing files replaced), tick the box to confirm for all and click in the affirmative. | - Unzip it directly into your Greenstone installation folder, make sure not to create intermediary folders. If Windows prompts you about whether you want existing folders merged (and existing files replaced), tick the box to confirm for all and click in the affirmative. | ||
Line 98: | Line 124: | ||
- Go into your Greenstone installation folder, '' | - Go into your Greenstone installation folder, '' | ||
- The Java Runtime (JRE) included with Greenstone 3 binaries is a 32 bit Java 7 runtime. This means that //if the Windows machine that you're recompiling the binary with the source component on is not 32 bit Java 7 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 7 runtime. This means that //if the Windows machine that you're recompiling the binary with the source component on is not 32 bit Java 7 too//, then you will need to do the following before compiling \\ | ||
- | * run '' | ||
- | * you may also want to want to delete '' | ||
* rename '' | * rename '' | ||
+ | * run '' | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | 4\nmake.exe" | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | >>>> | ||
+ | | ||
+ | | ||
+ | |||
+ | BUILD FAILED | ||
+ | GS3\build.xml: | ||
+ | * you may also want to want to delete '' | ||
- 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 '' | ||
- | **Note for Windows 64 bit:** | + | **To run GS3 after re-compiling:** |
- | To run GLI after recompiling your binary on a 64 bit Windows machine, you need JDK 7 (or JRE 7) for 64 bit set up in your environment, since the JRE included with the Greenstone Windows binary is for 32 bit, as the Greenstone | + | To run GLI after recompiling your binary on a 64 bit Windows machine, you need the same version of JDK or JRE (and for the same bit architecture, 32 or 64 bit) as that you used to compile up Greenstone |
- | Therefore, to run GLI after compiling GS3 for 64 bit, add the bin folder of JRE 7 for 64 bit to the PATH, or set JAVA_HOME to JDK 7 64 bit and add its bin folder to the PATH. Then run GLI in this environment. | + | **Note if you want to use the bundled JRE for Windows 64 bit:** |
- | </TAB> | + | |
- | <TAB> | + | To run GLI after recompiling your binary on a 64 bit Windows machine, you need JDK 8 or JRE 8 (for pre-GS3.11 you'd need JDK 7 else JRE 7) for 64 bit set up in your environment, |
+ | |||
+ | Therefore, to run GLI after compiling GS3 for 64 bit, add the bin folder of JRE for 64 bit to the PATH, or set JAVA_HOME to JDK 64 bit and add its bin folder to the PATH. Then run GLI in this environment. | ||
+ | <tabbox Greenstone2> | ||
- Get the source component zip file from the downloads page. | - Get the source component zip file from the downloads page. | ||
- Unzip it in your Greenstone installation. If Windows prompts you about whether you want existing folders merged (and existing files replaced), tick the box to confirm for all and click in the affirmative. | - Unzip it in your Greenstone installation. If Windows prompts you about whether you want existing folders merged (and existing files replaced), tick the box to confirm for all and click in the affirmative. | ||
Line 123: | Line 174: | ||
**Note:** Building collections that use lucene as their indexer requires Java. If you compiled up GS2 using a later version of Java than the version of JRE included in the binary (Java 7), then building a lucene collection may produce error messages about incompatible java versions. In such a case, rename your GS2 installation '' | **Note:** Building collections that use lucene as their indexer requires Java. If you compiled up GS2 using a later version of Java than the version of JRE included in the binary (Java 7), then building a lucene collection may produce error messages about incompatible java versions. In such a case, rename your GS2 installation '' | ||
- | </TAB> | + | </tabbox> |
- | </ | + | |
==== Source Distribution ==== | ==== Source Distribution ==== | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
- Get the source distribution zip file from the downloads page. | - Get the source distribution zip file from the downloads page. | ||
- //Unzip it in a location with no spaces in the filepath.// | - //Unzip it in a location with no spaces in the filepath.// | ||
Line 133: | Line 182: | ||
- 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. | ||
+ | - If you don't already have an imagemagick installed on your system and want to have // | ||
+ | |||
**Notes for Windows 64 bit:** | **Notes for Windows 64 bit:** | ||
- | To run GLI or the gs3-server after compiling the source code on a 64 bit Windows machine, you need your environment to be set up with JDK 7+ (or JRE 7+) for 64-bit and Ant: set the JAVA_HOME environment variable to your 64 bit JDK and add the JDK's '' | + | To run GLI or the gs3-server after compiling the source code on a 64 bit Windows machine, you need your environment to be set up with JDK 8 or JRE 8 (or JDK 7+ else JRE 7+ for Greenstone versions prior to GS3.11) for 64-bit and Ant: set the JAVA_HOME environment variable to your 64 bit JDK and add the JDK's '' |
- | </TAB> | + | <tabbox Greenstone2> |
- | <TAB> | + | |
- Get the source distribution zip file from the downloads page. | - Get the source distribution zip file from the downloads page. | ||
- Unzip it | - Unzip it | ||
Line 153: | Line 204: | ||
- If you wish to compile up the GLI jar files, such as for Remote Greenstone situations, run the following from within the gli folder: '' | - If you wish to compile up the GLI jar files, such as for Remote Greenstone situations, run the following from within the gli folder: '' | ||
- You will need to enable the Administration pages if you want access to them. Do so by editing your Greenstone installation' | - You will need to enable the Administration pages if you want access to them. Do so by editing your Greenstone installation' | ||
- | - If you don't already have an imagemagick installed and want to have // | + | - If you don't already have an imagemagick installed |
- | </TAB> | + | </tabbox> |
- | </ | + | |
Line 161: | Line 211: | ||
Prerequisites for compiling on Windows: | Prerequisites for compiling on Windows: | ||
- | * Java JDK 6.x or later | + | * Java JDK 6.x or later, JDK 7+ for GS3.06 onwards, and JDK 8 for GS3.11 onwards |
* PERL (ActivePerl for Windows | * PERL (ActivePerl for Windows | ||
* Visual Studio 8 or later | * Visual Studio 8 or later | ||
Line 174: | Line 224: | ||
which can be accomplished using the file '' | which can be accomplished using the file '' | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
Run the following: | Run the following: | ||
< | < | ||
- | svn co http:// | + | svn co https:// |
+ | cd gs3-svn | ||
ant | ant | ||
ant prepare | ant prepare | ||
ant install | ant install | ||
</ | </ | ||
- | </TAB> | + | <tabbox Greenstone2> |
- | <TAB> | + | <code> |
- | Then run: | + | svn co https:// |
+ | cd gs2-svn | ||
+ | </code> | ||
+ | Then on 64 bit Windows run: | ||
+ | < | ||
+ | makegs2x64.bat | ||
+ | </ | ||
+ | whereas on 32 bit Windows, you'd need to run: | ||
< | < | ||
makegs2.bat | makegs2.bat | ||
Line 191: | Line 248: | ||
* Choose yes twice | * Choose yes twice | ||
* Choose step 4 to compile ALL without debugging | * Choose step 4 to compile ALL without debugging | ||
- | </TAB> | + | |
- | </TABAREA> | + | Check out and compile GLI: |
+ | < | ||
+ | svn co https:// | ||
+ | cd gli | ||
+ | makegli.bat | ||
+ | makejar.bat | ||
+ | </code> | ||
+ | </tabbox> | ||
For more detailed instructions on source installation, | For more detailed instructions on source installation, | ||
Line 202: | Line 266: | ||
* [[en: | * [[en: | ||
* ANT | * ANT | ||
- | * Java JDK. JDK 7 for Greenstone 3.06 and onwards | + | * Java JDK. JDK 7 for Greenstone 3.06 and onwards. \\ **WARNING: |
* C/C++ compiler: XCode on Mac, gcc/g++ on Linux | * C/C++ compiler: XCode on Mac, gcc/g++ on Linux | ||
==== Source Component ==== | ==== Source Component ==== | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
- Download and extract the Source Component for your Operating System into the top-level folder of your Greenstone 3 binary installation. For Linux/Mac, download the tar.gz version as zip doesn' | - Download and extract the Source Component for your Operating System into the top-level folder of your Greenstone 3 binary installation. For Linux/Mac, download the tar.gz version as zip doesn' | ||
- | - Set up ant and Java: set JAVA_HOME (to JDK 7 for Greenstone 3.06) and add its '' | + | - Set up ant and Java: set JAVA_HOME (to JDK 7 for Greenstone 3.06, JDK 8 for Greenstone 3.11 onwards) and add its '' |
export JAVA_HOME=/ | export JAVA_HOME=/ | ||
export ANT_HOME=/ | export ANT_HOME=/ | ||
export PATH=$JAVA_HOME/ | export PATH=$JAVA_HOME/ | ||
- | </ | + | </ |
export CXXFLAGS=" | export CXXFLAGS=" | ||
- | export JNICFLAGS=" | + | export JNICFLAGS=" |
export CXXFLAGS=" | export CXXFLAGS=" | ||
- | - The Java Runtime (JRE) included in binaries from Greenstone 3.07 onward is version 7. 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 '' | * rename the '' | ||
* run '' | * run '' | ||
- | * you may also want to want to delete '' | + | * 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:\\ < | ||
cd gs2build/ | cd gs2build/ | ||
Line 229: | Line 292: | ||
cd ../../.. | cd ../../.. | ||
</ | </ | ||
- | - In the terminal, you can now finally run '' | + | - In the same terminal, you can now finally run '' |
> env | grep INSTALL | > env | grep INSTALL | ||
PERL_MM_OPT=INSTALL_BASE=/ | PERL_MM_OPT=INSTALL_BASE=/ | ||
Line 240: | Line 303: | ||
The gnome-lib environment may conflict with graphical applications on Linux systems. After compiling, open a fresh terminal to run GLI or other graphical applications. But make sure the new terminal has the environment set up for Java and Ant too before running any Greenstone applications like the Greenstone Server (gs3-server) and GLI. | The gnome-lib environment may conflict with graphical applications on Linux systems. After compiling, open a fresh terminal to run GLI or other graphical applications. But make sure the new terminal has the environment set up for Java and Ant too before running any Greenstone applications like the Greenstone Server (gs3-server) and GLI. | ||
- | </ | + | |
- | <!-- ############# | + | |
- | <TAB> | + | <tabbox Greenstone2> |
- Download the Source Component tar.gz file that matches with your Greenstone binary version, and put it in your Greenstone installation folder. For Linux/Mac, you want the tar.gz version because the zip version doesn' | - Download the Source Component tar.gz file that matches with your Greenstone binary version, and put it in your Greenstone installation folder. For Linux/Mac, you want the tar.gz version because the zip version doesn' | ||
- Use a terminal to extract the downloaded file's contents into your Greenstone installation folder: \\ < | - Use a terminal to extract the downloaded file's contents into your Greenstone installation folder: \\ < | ||
Line 318: | Line 381: | ||
where the WebServerName and WebServerPort are what you specified when you [[en: | where the WebServerName and WebServerPort are what you specified when you [[en: | ||
- | </TAB> | + | </tabbox> |
- | </ | + | |
==== Source Distribution ==== | ==== Source Distribution ==== | ||
Line 336: | Line 398: | ||
</ | </ | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
- Download the Source Distribution for your Operating System and extract it into the location where you want Greenstone installed. For Linux/Mac, download the tar.gz version as zip doesn' | - Download the Source Distribution for your Operating System and extract it into the location where you want Greenstone installed. For Linux/Mac, download the tar.gz version as zip doesn' | ||
- | - Make sure JAVA_HOME is set (to JDK 7 for Greenstone 3.06) and that its '' | + | - Make sure JAVA_HOME is set (to JDK 7 for Greenstone 3.06, JDK 8 from Greenstone 3.11 onwards) and that its '' |
- Most of the linux and mac machines we tested require the gnome-lib extension. Without it, if compiling fails with an error message about '' | - Most of the linux and mac machines we tested require the gnome-lib extension. Without it, if compiling 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:\\ < | ||
cd gs2build/ | cd gs2build/ | ||
- | tar -xvzf gnome-lib-minimal-< | + | cd gnome-lib |
- | cd gnome-lib-minimal | + | # gnome-lib can take longer to compile. |
+ | # Alternatively, | ||
+ | # as per instructions above, then run the following commands: | ||
+ | #mv gnome-lib gnome-lib.orig | ||
+ | #tar -xvzf gnome-lib-minimal-< | ||
+ | #cd gnome-lib-minimal | ||
source ./ | source ./ | ||
cd ../../.. | cd ../../.. | ||
</ | </ | ||
- | - If you're on Mac OS version 10.11/El Capitan, set CFLAGS, CXXFLAGS and JNIFLAGS as follows: \\ < | + | - **If you're on a Mac OS version |
export CXXFLAGS=" | export CXXFLAGS=" | ||
- | export JNICFLAGS=" | + | export JNICFLAGS=" |
export CXXFLAGS=" | export CXXFLAGS=" | ||
- | - In the terminal, you can now finally run '' | + | - In the same terminal, you can now finally run '' |
> env | grep INSTALL | > env | grep INSTALL | ||
PERL_MM_OPT=INSTALL_BASE=/ | PERL_MM_OPT=INSTALL_BASE=/ | ||
Line 358: | Line 424: | ||
> export PERL_MM_OPT= | > export PERL_MM_OPT= | ||
> ant install</ | > ant install</ | ||
+ | |||
+ | - If you don't already have an imagemagick installed on your system and want to have // | ||
**Note:** | **Note:** | ||
- | The gnome-lib environment may conflict with graphical applications on Linux systems. After compiling, open a fresh terminal to run GLI or other graphical applications. Make sure the new terminal has the environment set up for Java and Ant too before running any Greenstone applications like the Greenstone Server (gs3-server) and GLI. | + | The gnome-lib environment may conflict with graphical applications on Linux systems. After compiling, open a fresh terminal to run GLI or other graphical applications. Make sure the new terminal has the environment set up for Java (version 8 from GS3.11 and onwards) |
- | </ | + | |
- | <!-- ####################################################### | + | <tabbox Greenstone2> |
- | <TAB> | + | |
- Download the Source Distribution and extract it. For Linux/Mac, please use the tar.gz version as zip doesn' | - Download the Source Distribution and extract it. For Linux/Mac, please use the tar.gz version as zip doesn' | ||
- If you want to compile up gnome-lib yourself, skip this step. If you want to use a pre-compiled gnome-lib binary (to save on all the time of compiling gnome-lib), download the gnome-lib-minimal package for your OS by visiting http:// | - If you want to compile up gnome-lib yourself, skip this step. If you want to use a pre-compiled gnome-lib binary (to save on all the time of compiling gnome-lib), download the gnome-lib-minimal package for your OS by visiting http:// | ||
Line 376: | Line 443: | ||
- You will need to enable the Administration pages if you want access to them. Do so by editing your Greenstone installation' | - You will need to enable the Administration pages if you want access to them. Do so by editing your Greenstone installation' | ||
- | </TAB> | + | </tabbox> |
- | </ | + | |
==== Uptodate source code from SVN ==== | ==== Uptodate source code from SVN ==== | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
- Make sure you have SVN installed and on your Path | - Make sure you have SVN installed and on your Path | ||
Line 388: | Line 453: | ||
export ANT_HOME=/ | export ANT_HOME=/ | ||
export PATH=$JAVA_HOME/ | export PATH=$JAVA_HOME/ | ||
- | </ | + | </ |
- Checkout the code: < | - Checkout the code: < | ||
- | svn co http:// | + | svn co https:// |
</ | </ | ||
- Generate the file '' | - Generate the file '' | ||
ant | ant | ||
</ | </ | ||
- | - Most Linux systems and probably all the newer Mac systems require // | + | - Most Linux systems and probably all the newer Mac systems require // |
- | checkout.gnomelib.ext=true | + | - If you want to compile imagemagick from source on Unix systems (though for Mac you can also use the precompiled imagemagick binary*), |
- | </ | + | |
- | - If you want to compile imagemagick from source on Unix systems (though for Mac you can also use the precompiled imagemagick binary*), < | + | |
checkout.imagemagick.ext=true | checkout.imagemagick.ext=true | ||
- | </ | + | </ |
- | - **If you're on Mac OS version 10.11/El Capitan or later**, set CFLAGS, CXXFLAGS and JNIFLAGS as follows: \\ < | + | |
- | export CXXFLAGS=" | + | |
- | export JNICFLAGS=" | + | |
- | export CXXFLAGS=" | + | |
- Finally, you can start the steps for building GS3 from SVN: < | - Finally, you can start the steps for building GS3 from SVN: < | ||
ant prepare</ | ant prepare</ | ||
- | - This step is only applicable if you had decided on using a // | + | - This step is only applicable if you had decided on using a // |
tar -xvzf gnome-lib-minimal-< | tar -xvzf gnome-lib-minimal-< | ||
cd gnome-lib-minimal | cd gnome-lib-minimal | ||
Line 426: | Line 485: | ||
< | < | ||
cd gs2build | cd gs2build | ||
- | svn co http:// | + | svn co https:// |
- | svn co http:// | + | |
+ | svn export https:// | ||
+ | tar -xvzf imagemagick-darwin-10.11.tar.gz | ||
+ | mv imagemagick/darwin | ||
+ | rm -rf imagemagick-darwin-10.11.tar.gz | ||
+ | rm -rf imagemagick | ||
</ | </ | ||
- | </TAB> | + | <tabbox Greenstone2> |
- | <TAB> | + | |
- First grab all the source code from SVN by running the following commands in your terminal \\ < | - First grab all the source code from SVN by running the following commands in your terminal \\ < | ||
- | svn co http:// | + | svn co https:// |
cd greenstone2 | cd greenstone2 | ||
- | svn co http:// | + | svn co https:// |
- | cd / | + | |
</ | </ | ||
- | - If you want to compile up gnome-lib yourself, skip this step. If you want to use a pre-compiled gnome-lib binary, download the gnome-lib-minimal package for your OS by visiting | + | - If you want to compile up gnome-lib yourself, skip this step. If you want to use a pre-compiled gnome-lib binary, download the gnome-lib-minimal package for your OS by visiting |
- Compile up Greenstone: \\ < | - Compile up Greenstone: \\ < | ||
./ | ./ | ||
Line 446: | Line 509: | ||
</ | </ | ||
- You will need to enable the Administration pages if you want access to them. Do so by editing your Greenstone installation' | - You will need to enable the Administration pages if you want access to them. Do so by editing your Greenstone installation' | ||
- | </TAB> | + | </tabbox> |
- | </ | + | |
- | For more detailed instructions on installation, | + | For more detailed instructions on installation, |
and [[en: | and [[en: | ||
Line 565: | Line 627: | ||
- To get the local library server (server.exe) to work from the new location: if your top-level Greenstone installation folder contains the files llssite.cfg and glisite.cfg, | - To get the local library server (server.exe) to work from the new location: if your top-level Greenstone installation folder contains the files llssite.cfg and glisite.cfg, | ||
- To get the Apache web server included with Greenstone to work: delete the file lib\java\log4j.properties. (Doing so will ensure that if you execute the gs2-server.bat file--which launches the Greenstone Server Interface--this properties file will be regenerated with the correct value for gsdlhome.) | - To get the Apache web server included with Greenstone to work: delete the file lib\java\log4j.properties. (Doing so will ensure that if you execute the gs2-server.bat file--which launches the Greenstone Server Interface--this properties file will be regenerated with the correct value for gsdlhome.) | ||
- | |||
en/user_advanced/installation.txt · Last modified: 2023/08/03 03:07 by anupama