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

Next revision
Previous revision
Next revisionBoth sides next revision
en:developer:compiling_greenstone [2015/08/25 01:51] – external edit 127.0.0.1en:developer:compiling_greenstone [2017/05/08 01:46] kjdon
Line 47: Line 47:
  
 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/packages/yaz/yaz-2.1.4/client/client.c, and change
 +<code>rl_attempted_completion_function = (CPPFunction*)readline_completer;</code>
 +to 
 +<code>rl_attempted_completion_function = (rl_completion_func_t*)readline_completer;</code>
  
 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 238: Line 243:
 # 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===