en:user_advanced:installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:user_advanced:installation [2023/07/30 20:04] – [Source Distribution] anupama | en:user_advanced:installation [2023/08/03 03:07] (current) – [Source Distribution] anupama | ||
---|---|---|---|
Line 276: | Line 276: | ||
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 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 \\ | ||
Line 406: | Line 406: | ||
cd gnome-lib | cd gnome-lib | ||
# gnome-lib can take longer to compile. | # gnome-lib can take longer to compile. | ||
- | # Alternatively, | + | # Alternatively, |
- | # had grabbed the gnome-lib-minimal tarball as above, then: | + | # as per instructions |
+ | #mv gnome-lib gnome-lib.orig | ||
#tar -xvzf gnome-lib-minimal-< | #tar -xvzf gnome-lib-minimal-< | ||
#cd gnome-lib-minimal | #cd gnome-lib-minimal | ||
Line 413: | Line 414: | ||
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=" | ||
Line 423: | Line 424: | ||
> export PERL_MM_OPT= | > export PERL_MM_OPT= | ||
> ant install</ | > ant install</ | ||
+ | - **For Mac OS, from El Capitan onwards:** 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> | <tabbox Greenstone2> |
en/user_advanced/installation.1690747470.txt.gz · Last modified: 2023/07/30 20:04 by anupama