Fix ubuntu-lucid package problems. user/jason@mvlc.org/lucid-install-fix
authorJason Stephenson <jstephenson@mvlc.org>
Fri, 27 May 2011 22:20:26 +0000 (18:20 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Fri, 27 May 2011 22:20:26 +0000 (18:20 -0400)
A small fix to src/extras/Makefile.install to install the XML::RPC
module from CPAN and to install an older version of yaz because the
versions that come with Ubuntu Lucid don't work well with Evergreen.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/extras/Makefile.install

index 296b6e7..af7c62a 100644 (file)
@@ -250,6 +250,10 @@ CPAN_MODULES_MARC = \
 CPAN_MODULES_FORCE = \
        Class::DBI::Frozen::301
 
+# Lucid needs this because the XML::RPC that comes by default is broken with Evergreen
+LUCID_CPAN = \
+       XML::RPC
+
 # ----------------------------------------------------------------------------
 
 all: 
@@ -269,7 +273,7 @@ squeeze: install_pgsql_client_debs_90  install_extra_debs_squeeze
 generic_debian:  install_debs test_for_libdbi_pkg install debian_sys_config install_cpan_force
 
 ubuntu-lucid: lucid generic_ubuntu
-lucid: install_pgsql_client_debs_90 install_extra_debs
+lucid: install_pgsql_client_debs_90 install_extra_debs install_yaz install_cpan_lucid
 generic_ubuntu: install_debs test_for_libdbi_pkg install debian_sys_config install_cpan_more install_cpan_safe install_cpan_force
 
 # - COMMON TARGETS ---------------------------------------------------------
@@ -301,6 +305,10 @@ install_cpan_fedora:
                echo "force install $$m" | perl -MCPAN -e shell;\
        done
 
+# Install the CPAN modules needed for Lucid
+install_cpan_lucid:
+       for m in $(LUCID_CPAN); do perl -MCPAN -e "install \"$$m\";"; done
+
 # Install a known working version of YAZ
 install_yaz:    
        if [ ! -d $(YAZ) ]; then wget $(YAZ_HOST)/$(YAZ).tar.gz; fi;