User Tools

Site Tools


en:user_advanced:installation

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:user_advanced:installation [2018/06/26 09:18] – [Uptodate source code from SVN] anupamaen:user_advanced:installation [2018/07/30 01:54] – [Uptodate source code from SVN] kjdon
Line 403: Line 403:
   - If you're on Mac OS version 10.11/El Capitan, set CFLAGS, CXXFLAGS and JNIFLAGS as follows: \\ <code>export CFLAGS="$CFLAGS -I$JAVA_HOME/include -I$JAVA_HOME/include/darwin"   - If you're on Mac OS version 10.11/El Capitan, set CFLAGS, CXXFLAGS and JNIFLAGS as follows: \\ <code>export CFLAGS="$CFLAGS -I$JAVA_HOME/include -I$JAVA_HOME/include/darwin"
 export CXXFLAGS="$CXXFLAGS $CFLAGS" export CXXFLAGS="$CXXFLAGS $CFLAGS"
-export JNICFLAGS="$JNICFLAGS $CFLAGS"</code> Since GS3.08, if you're on 64 bit linux, you will also need to add -fPIC to the CFLAGS environment variable: \\ <code>export CFLAGS="-fPIC $CFLAGS"</code>+export JNICFLAGS="$JNICFLAGS $CFLAGS"</code> Since GS3.08, if you're on 64 bit linux, you will also need to add -fPIC to the CFLAGS environment variable: \\ <code>export CFLAGS="-fPIC $CFLAGS
 +export CXXFLAGS="-fPIC $CXXFLAGS"</code>
   - Finally, you can start the steps for building GS3 from SVN: <code>   - Finally, you can start the steps for building GS3 from SVN: <code>
 ant prepare</code> ant prepare</code>
-  - If you had determined to use a pre-compiled gnome-lib in step 5, then visit http://trac.greenstone.org/browser/gs2-extensions/gnome-lib/trunk and there click on the link for the ''gnome-lib-**minimal**-'' zip/tarball for your operating system. On the next page, click on the download link to download the zip/tarball file, then move this downloaded file into ''gs2build/ext''. After that, unpack and set up your gnome-lib-minimal for compiling as follows: \\ <code>cd gs2build/ext+  - This step is only applicable if you had decided on using //pre-compiled// ''gnome-lib'' in step 5. In that case, visit http://trac.greenstone.org/browser/gs2-extensions/gnome-lib/trunk and there click on the link for the ''gnome-lib-**minimal**-'' zip/tarball for your operating system. On the next page, click on the download link to download the zip/tarball file, then move this downloaded file into ''gs2build/ext''. After that, unpack and set up your gnome-lib-minimal for compiling as follows: \\ <code>cd gs2build/ext
 tar -xvzf gnome-lib-minimal-<your-OS-version>.tar.gz tar -xvzf gnome-lib-minimal-<your-OS-version>.tar.gz
 cd gnome-lib-minimal cd gnome-lib-minimal
Line 424: Line 425:
  
 <code> <code>
 +cd gs2build
 svn co http://svn.greenstone.org/main/trunk/binaries/mac/intel/imagemagick bin/darwin/imagemagick svn co http://svn.greenstone.org/main/trunk/binaries/mac/intel/imagemagick bin/darwin/imagemagick
 svn co http://svn.greenstone.org/main/trunk/binaries/mac/intel/ghostscript bin/darwin/ghostscript svn co http://svn.greenstone.org/main/trunk/binaries/mac/intel/ghostscript bin/darwin/ghostscript
en/user_advanced/installation.txt · Last modified: 2023/08/03 03:07 by anupama