install:mac_compiling_fink

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
install:mac_compiling_fink [2019/05/16 11:37] paffenholzinstall:mac_compiling_fink [2019/05/16 11:37] paffenholz
Line 7: Line 7:
   * Preparation:    * Preparation: 
       * The variable ''JAVA_HOME'' is not set correctly. Please do<code>export JAVA_HOME=/Library/Java/JavaVirtualMachines/<java-version-with-minor>/Contents/Home</code>where you have to put in the approiate java version directory (which you can find out by checking which folders are in ''/Library/Java/JavaVirtualMachines/'').       * The variable ''JAVA_HOME'' is not set correctly. Please do<code>export JAVA_HOME=/Library/Java/JavaVirtualMachines/<java-version-with-minor>/Contents/Home</code>where you have to put in the approiate java version directory (which you can find out by checking which folders are in ''/Library/Java/JavaVirtualMachines/'').
-      * **For release 3.0 and earlier**: For some reason the compiler does not find header libraries installed in the default directories below ''/usr'', so we have to add them manually by adding<code>LDFLAGS='-stdlib=libstdc++' CXXFLAGS='-I/usr/include/c++/4.2.1'</code> to the configure command given in the next step.  
- 
  
   * Configuration: This depends on the compiler you want to use. Also remember that on 10.10 and 10.9 you might need to set ''LDFLGAS'' and ''CFLAGS'' and add the option ''--with-ant'', see the previous step!   * Configuration: This depends on the compiler you want to use. Also remember that on 10.10 and 10.9 you might need to set ''LDFLGAS'' and ''CFLAGS'' and add the option ''--with-ant'', see the previous step!