Ubuntu 10.04 comes with Yaz 3.0.52. This installs version 4.2.32 from source.
authorChris Sharp <csharp@georgialibraries.org>
Thu, 13 Jun 2013 11:56:45 +0000 (07:56 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 13 Jun 2013 11:56:45 +0000 (07:56 -0400)
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/extras/install/Makefile.common

index efd52d3..5db0e63 100644 (file)
@@ -1,5 +1,10 @@
 # Functions used by all installers
 
+# We need a recent version of Yaz
+# Ubuntu 10.04 comes with 3.0.52
+YAZ=yaz-4.2.32
+YAZ_HOST=http://ftp.indexdata.dk/pub/yaz
+
 # Install the CPAN modules
 install_cpan:
        for m in $(CPAN_MODULES); do perl -MCPAN -e "install \"$$m\";"; done
@@ -32,4 +37,10 @@ clean:
        make -C $(LIBDBI_DRIVERS) clean
        make -C $(LIBJS_PERL) clean
 
+# Install a known working version of YAZ
+install_yaz:    
+       if [ ! -d $(YAZ) ]; then wget $(YAZ_HOST)/$(YAZ).tar.gz; fi;
+       tar xzf $(YAZ).tar.gz
+       cd $(YAZ) && ./configure && make && make install && ldconfig
+
 # vim:noet:sw=4:ts=4: