[Opensrf-commits] r1871 - trunk/src/extras (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 10 12:40:02 EST 2009
Author: dbs
Date: 2009-12-10 12:39:59 -0500 (Thu, 10 Dec 2009)
New Revision: 1871
Modified:
trunk/src/extras/Makefile.install
Log:
So. libmemcached has only been packaged on really fresh distros. Install from source elsewhere.
Thanks for the nudge from Bill Erickson.
Modified: trunk/src/extras/Makefile.install
===================================================================
--- trunk/src/extras/Makefile.install 2009-12-10 06:21:41 UTC (rev 1870)
+++ trunk/src/extras/Makefile.install 2009-12-10 17:39:59 UTC (rev 1871)
@@ -51,6 +51,10 @@
EJABBERD_PKG_x64=ejabberd-2.0.2_2-linux-x86_64-installer.bin
EJABBERD_HOST=http://www.process-one.net/downloads/ejabberd
+# libmemcached is only packaged on newer distros
+LIBMEMCACHED=libmemcached-0.35
+LIBMEMCACHED_HOST=http://download.tangent.org
+
# XML::LibXSLT fails due to old libxslt
XSLT=libxslt-1.1.22
XSLT_HOST=ftp://ftp.gnome.org/pub/GNOME/sources/libxslt/1.1
@@ -81,7 +85,6 @@
libgcrypt11-dev \
libgdbm-dev \
liblog-log4perl-perl\
- libmemcached-dev\
libmodule-build-perl\
libnet-jabber-perl\
libperl-dev\
@@ -202,6 +205,7 @@
libnet-server-perl
EXTRA_DEBS_UBUNTU_KARMIC = \
+ libmemcached-dev\
libxml-libxml-perl \
libxml-libxslt-perl
@@ -234,8 +238,8 @@
centos: install_centos_rpms install_ejabberd install_libmemcached install_libxml2 install_libxslt install_centos_perl create_ld_local
-debian-etch: generic_debian etch
-debian-lenny: generic_debian lenny
+debian-etch: generic_debian etch install_libmemcached
+debian-lenny: generic_debian lenny install_libmemcached
etch: install_cpan
lenny: install_extra_debs
generic_debian: install_debs install_cpan_force install_cpan_xml debian_sys_config
@@ -248,8 +252,8 @@
ubuntu-hardy: generic_ubuntu install_cpan_xml hardy
ubuntu-intrepid: generic_ubuntu install_cpan_xml intrepid
ubuntu-karmic: generic_ubuntu karmic
-hardy: install_cpan
-intrepid: install_extra_debs
+hardy: install_cpan install_libmemcached
+intrepid: install_extra_debs install_libmemcached
karmic: install_extra_debs install_extra_debs_karmic
generic_ubuntu: install_debs install_cpan_force debian_sys_config
@@ -277,6 +281,10 @@
# Install libmemcached from the official project source
install_libmemcached:
@echo "TODO: work out how to build or grab libmemcached packages for CentOS/RHEL"
+ if [ ! -d $(LIBMEMCACHED).tar.gz ]; then wget $(LIBMEMCACHED_HOST)/$(LIBMEMCACHED).tar.gz; fi;
+ tar xzf $(LIBMEMCACHED).tar.gz
+ cd $(LIBMEMCACHED) && ./configure && make && make install
+
# Install a newer version of libxslt
install_libxslt:
More information about the opensrf-commits
mailing list