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/09/12 04:09] – [Uptodate source code from SVN] anupamaen:user_advanced:installation [2018/09/26 04:32] – [Uptodate source code from SVN] anupama
Line 387: Line 387:
 export JAVA_HOME=/path/to/your/jdk7 export JAVA_HOME=/path/to/your/jdk7
 export ANT_HOME=/path/to/your/ant export ANT_HOME=/path/to/your/ant
-export PATH=$JAVA_HOME/bin: +export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH
-$ANT_HOME/bin:$PATH+
 </code> </code>
   - Checkout the code: <code>   - Checkout the code: <code>
Line 402: Line 401:
 checkout.imagemagick.ext=true checkout.imagemagick.ext=true
 </code>\\ **Not compiling at present on MacOS High Sierra (10.13.4).** So use the precompiled imagemagick binary* for that instead. </code>\\ **Not compiling at present on MacOS High Sierra (10.13.4).** So use the precompiled imagemagick binary* for that instead.
-  - 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 or later**, 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 and CXXFLAGS environment variables: \\ <code>export CFLAGS="-fPIC $CFLAGS"+export JNICFLAGS="$JNICFLAGS $CFLAGS"</code> Since GS3.08, **if you're on 64 bit linux**, you will need to add -fPIC to the CFLAGS and CXXFLAGS environment variables: \\ <code>export CFLAGS="-fPIC $CFLAGS"
 export CXXFLAGS="-fPIC $CXXFLAGS"</code> 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>
Line 423: Line 422:
 </code> </code>
  
-* If you want imagemagick and ghostscript on a mac, check out the precompiled binaries from svn+* If you want imagemagick and ghostscript on a mac, check out the precompiled binaries from svn **after** the ''ant prepare'' step
  
 <code> <code>
en/user_advanced/installation.txt · Last modified: 2023/08/03 03:07 by anupama