Ignore:
Timestamp:
2016-10-26T18:39:50+13:00 (8 years ago)
Author:
ak19
Message:

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.

Location:
main/trunk/greenstone2/runtime-src/packages
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/packages/Makefile.in

    r28888 r30954  
    4040ifeq ($(USE_YAZ), 1)
    4141# we only compile the src and client dirs for now.
    42 YAZ=yaz/yaz-2.1.4/src yaz/yaz-2.1.4/client
     42YAZ=yaz/yaz-2.1.56/src yaz/yaz-2.1.56/client
    4343else
    4444YAZ=
     
    126126# need to do make install in include and src dirs to get the header files and
    127127# lib file into the right place
    128     cd yaz/yaz-2.1.4/include; $(MAKE)  $(MDEFINES) install
    129     cd yaz/yaz-2.1.4/src; $(MAKE)  $(MDEFINES) install
     128    cd yaz/yaz-2.1.56/include; $(MAKE)  $(MDEFINES) install
     129    cd yaz/yaz-2.1.56/src; $(MAKE)  $(MDEFINES) install
    130130endif
    131131
  • main/trunk/greenstone2/runtime-src/packages/configure

    r26977 r30954  
    192192  echo ""
    193193  cd "$PACKAGES/yaz"
    194   gzip -dc yaz-2.1.4.tar.gz | tar -xf -
    195   cd yaz-2.1.4 && \
     194  gzip -dc yaz-2.1.56.tar.gz | tar -xf -
     195  cd yaz-2.1.56 && \
    196196    ./configure $CACHE_FILE --prefix="$PACKAGES/yaz" --bindir="$bindir" $HOSTTARGETFLAGS
    197197else
  • main/trunk/greenstone2/runtime-src/packages/yaz/README.gsdl

    r30893 r30954  
    11The YAZ toolkit is used by the GSDL receptionist
    22when 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.
    315
    4163. CHANGES TO YAZ-2.1.4 TO CREATE THE GREENSTONE VERSION OF IT, ak19
Note: See TracChangeset for help on using the changeset viewer.