From 760e0e6c31a3e29249d15f840ad048f78d39058a Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Thu, 13 Jun 2013 07:56:45 -0400 Subject: [PATCH] Ubuntu 10.04 comes with Yaz 3.0.52. This installs version 4.2.32 from source. Signed-off-by: Chris Sharp --- Open-ILS/src/extras/install/Makefile.common | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Open-ILS/src/extras/install/Makefile.common b/Open-ILS/src/extras/install/Makefile.common index efd52d35c9..5db0e63813 100644 --- a/Open-ILS/src/extras/install/Makefile.common +++ b/Open-ILS/src/extras/install/Makefile.common @@ -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: -- 2.11.0