old:user_advanced:installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
old:user_advanced:installation [2023/03/13 01:46] – external edit 127.0.0.1 | old:user_advanced:installation [2023/07/20 11:23] (current) – [Source Distribution] anupama | ||
---|---|---|---|
Line 212: | Line 212: | ||
<tabbox Greenstone3> | <tabbox Greenstone3> | ||
- 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 '' | ||
Line 340: | Line 340: | ||
<tabbox Greenstone3> | <tabbox Greenstone3> | ||
- 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, | ||
+ | # had grabbed and extracted the gnome-lib-minimal tarball as above, then: | ||
+ | #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 Mac OS version 10.11/El Capitan**, set CFLAGS, CXXFLAGS and JNIFLAGS as follows: \\ < |
export CXXFLAGS=" | export CXXFLAGS=" | ||
- | export JNICFLAGS=" | + | export JNICFLAGS=" |
export CXXFLAGS=" | export CXXFLAGS=" | ||
- In the same terminal, you can now finally run '' | - In the same terminal, you can now finally run '' |
old/user_advanced/installation.1678671991.txt.gz · Last modified: 2023/03/13 01:46 by 127.0.0.1