en:developer:compiling_greenstone
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
en:developer:compiling_greenstone [2015/08/25 01:51] – external edit 127.0.0.1 | en: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, | + | <tabbox |
- | <TAB> | + | |
==== Ubuntu ==== | ==== Ubuntu ==== | ||
- | <!-- mv:3 --> | + | |
Note: You need java from the [[http:// | Note: You need java from the [[http:// | ||
Line 33: | Line 35: | ||
ant prepare install | ant prepare install | ||
</ | </ | ||
- | <!-- /mv:3 --> | + | |
- | </ | + | <tabbox Greenstone2> |
- | <TAB> | + | |
The " | The " | ||
Line 47: | Line 48: | ||
You will probably need to use GNU make. | You will probably need to use GNU make. | ||
+ | |||
+ | If you get an error about CPPFunction not declared in client.c, edit runtime-src/ | ||
+ | < | ||
+ | to | ||
+ | < | ||
The Greenstone Librarian Interface (GLI) code is written in Java, and compiling it requires a suitable version of the Java Software Development Kit (version 1.4.0 or newer). To compile this source code, run makegli.sh from the gsdl/gli directory. | The Greenstone Librarian Interface (GLI) code is written in Java, and compiling it requires a suitable version of the Java Software Development Kit (version 1.4.0 or newer). To compile this source code, run makegli.sh from the gsdl/gli directory. | ||
Line 53: | Line 59: | ||
==== Ubuntu ==== | ==== Ubuntu ==== | ||
- | <!-- mv:2 --> | + | |
You need to set JAVA_HOME to the actual root of the jdk, eg "/ | You need to set JAVA_HOME to the actual root of the jdk, eg "/ | ||
Line 74: | Line 80: | ||
make install | make install | ||
</ | </ | ||
- | <!-- /mv:2 --> | + | |
Line 238: | Line 244: | ||
# when you configure Greenstone you should add // | # when you configure Greenstone you should add // | ||
- | Also see the [[http://www.greenstone.org/ | + | Also see the [[http://files.greenstone.org/ |
===Issues=== | ===Issues=== | ||
Line 287: | Line 293: | ||
====Windows (Visual C++)==== | ====Windows (Visual C++)==== | ||
- | The third-party packages (pdftohtml, wvWare, rtftohtml, xlhtml, etc) were compiled using cygwin.</ | + | The third-party packages (pdftohtml, wvWare, rtftohtml, xlhtml, etc) were compiled using cygwin.</ |