source: main/trunk/greenstone2/runtime-src/packages/yaz/README.gsdl@ 30954

Last change on this file since 30954 was 30954, checked in by ak19, 8 years ago

New yaz 2.1.56 was needed to get GS2 compiling to work again on Macs after going from producing dynamic linked to statically linked gnome-lib libraries. The new yaz finally compiles (see recent and current commits). Tested z3950server (built by configuring with --enable-z3950) against built yaz-client, and tested GLI's use of yaz-client against Library of Congress' z3950 server. It all works. Need to test Windows next.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1The YAZ toolkit is used by the GSDL receptionist
2when acting as a z39.50 client.
3
44. We've moved to Yaz-2.1.56, ak19
5End Oct 2016
6
7EXPLANATION: We've moved to this slightly newer version, the newest in 2.1.* but without changing major version numbers, in order to get a version of yaz that compiles on Macs after changes to make (gnome-lib) libraries statically linked rather than dymamically linked libraries needed for El Capitan.
8
9MODIFIED FILE: yaz-2.1.56/client/client.c
10Still require the same change as in number 3 below.
11
12Ahead of changing to a newer yaz, we've also made changes to the runtime-src/src's z3950 and recpt Makefile.in files, to grab whatever dependencies yaz's configuration step worked out for its Makefile, and then using the same for linking libyaz in z3950 and recept to.
13
14TESTED: bin/linux/z3950server (compile after configuring with --enable-z3950) against yaz-client. Then also tested GLI with Library of Congress's z3950 server at lx2.loc.gov at port 210.
15
163. CHANGES TO YAZ-2.1.4 TO CREATE THE GREENSTONE VERSION OF IT, ak19
1720 Oct 2016
18
19MODIFIED FILE: yaz-2.1.4/client/client.c
20
21EXPLANATION: The references to readline's CPPFunction have been deprecated. They needed to be replaced with readline's rl_completion_func_t. Refer to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741767
22
23
24CHANGE:
253501c3501,3503
26< rl_attempted_completion_function = (CPPFunction*)readline_completer;
27---
28> //rl_attempted_completion_function = (CPPFunction*)readline_completer;
29> rl_attempted_completion_function = (rl_completion_func_t*)readline_completer;
30>
31
32
332. June 2005, kjdon:
34Changed to use yaz version 2.1.4. This is also used by the new z3950server.
35The original yaz download has been added to cvs - this is unzipped and untared by the configure script, then only the src and client directories are compiled.
36Greenstone uses the libyaz.a library. yaz_zclient.o is modified from the sample client.o, and now lives in the colservr directory.
37
38Two files are linked against:
39 client/yaz_client.o, which was modified from Index Data's sample
40 client code, and
41
42 lib/libyaz.a, which contains all the z39.50 and MARC formatting code.
43 There is probably a lot of stuff in this library that does
44 not need to be there for our purposes, but for now it is,
45 merely wasting some disk space and some compile-time CPU.
46
471. John McPherson
483 August 2000
49
50yaz version 1.6
51
52September 2000:
53removed "ill" "server" "ztest" and "retrieval" subdirs.
54
Note: See TracBrowser for help on using the repository browser.