User Tools

Site Tools


en:developer:compiling_greenstone

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
Last revisionBoth sides next revision
en:developer:compiling_greenstone [2016/02/15 01:23] kjdonen:developer:compiling_greenstone [2023/03/13 01:46] – external edit 127.0.0.1
Line 1: Line 1:
 +
 +
 +
 ====== Compiling Greenstone ====== ====== Compiling Greenstone ======
  
  
-<TABAREA tabs="Greenstone3,Greenstone2"> +<tabbox Greenstone3>=====Unix=====
-<TAB>=====Unix=====+
 ==== Ubuntu ==== ==== Ubuntu ====
-<!-- mv:3 -->+
 Note: You need java from the [[http://java.sun.com/javase/downloads/index.jsp|sun website]], **not** from the <tt>sun-java6-jdk</tt> package. Note: You need java from the [[http://java.sun.com/javase/downloads/index.jsp|sun website]], **not** from the <tt>sun-java6-jdk</tt> package.
  
Line 33: Line 35:
 ant prepare install ant prepare install
 </code> </code>
-<!-- /mv:3 --> + 
-</TAB> +<tabbox Greenstone2>=====Unix=====
-<TAB>=====Unix=====+
  
 The "standard" commands of The "standard" commands of
Line 58: Line 59:
  
 ==== Ubuntu ==== ==== Ubuntu ====
-<!-- mv:2 --> + 
 You need to set JAVA_HOME to the actual root of the jdk, eg "/usr/lib/jvm/java-6-sun". JAVA_HOME cannot be left empty or be set to /usr. You need to set JAVA_HOME to the actual root of the jdk, eg "/usr/lib/jvm/java-6-sun". JAVA_HOME cannot be left empty or be set to /usr.
  
Line 79: Line 80:
 make install make install
 </code> </code>
-<!-- /mv:2 -->+
  
  
Line 243: Line 244:
 # when you configure Greenstone you should add //--with-gdbm=/Users/<username>/gdbm-1.8.3//(or wherever you installed it to) to the command. Note that this means that the compile option in the CD-ROM distribution Install script will fail, since it will only look in the default locations (/lib, /usr/lib/ and /usr/local/lib) # when you configure Greenstone you should add //--with-gdbm=/Users/<username>/gdbm-1.8.3//(or wherever you installed it to) to the command. Note that this means that the compile option in the CD-ROM distribution Install script will fail, since it will only look in the default locations (/lib, /usr/lib/ and /usr/local/lib)
  
-Also see the [[http://www.greenstone.org/docs/Install-Notes-osx.html|OSX Install Notes]] page.+Also see the [[http://files.greenstone.org/technical/Install-Notes-osx.html|OSX Install Notes]] page.
  
 ===Issues=== ===Issues===
Line 292: Line 293:
 ====Windows (Visual C++)====  ====Windows (Visual C++)==== 
  
-The third-party packages (pdftohtml, wvWare, rtftohtml, xlhtml, etc) were compiled using cygwin.</TAB></TABAREA> +The third-party packages (pdftohtml, wvWare, rtftohtml, xlhtml, etc) were compiled using cygwin.</tabbox>