[open-ils-commits] r9918 - trunk/Open-ILS/src/extras
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Jun 24 11:25:23 EDT 2008
Author: dbs
Date: 2008-06-24 11:25:20 -0400 (Tue, 24 Jun 2008)
New Revision: 9918
Modified:
trunk/Open-ILS/src/extras/Makefile.install
Log:
Add libmemcache and ncurses dependencies on CentOS/RHEL
Modified: trunk/Open-ILS/src/extras/Makefile.install
===================================================================
--- trunk/Open-ILS/src/extras/Makefile.install 2008-06-23 04:29:20 UTC (rev 9917)
+++ trunk/Open-ILS/src/extras/Makefile.install 2008-06-24 15:25:20 UTC (rev 9918)
@@ -58,6 +58,10 @@
EJABBERD_PKG=ejabberd-2.0.1_2-linux-x86-installer.bin
EJABBERD_HOST=http://www.process-one.net/downloads/ejabberd
+# libmemcache is not packaged on CentOS/RHEL
+LIBMEMCACHE=libmemcache-1.4.0.rc2
+LIBMEMCACHE_HOST=http://people.freebsd.org/~seanc/libmemcache/
+
# Business::OnlinePayment is not packaged on CentOS/RHEL
PAY_ONLINE=Business-OnlinePayment-3.00_08.tar.gz
PAY_ONLINE_HOST=http://ftp.perl.org/pub/CPAN/authors/id/I/IV/IVAN/
@@ -150,6 +154,8 @@
make \
mod_perl \
mod_ssl \
+ ncurses \
+ ncurses-devel \
ntp \
perl-DBD-Pg \
perl-DBI \
@@ -304,7 +310,8 @@
# these should be the same for any distro
install: install_yaz install_cpan install_js_sm install_libdbi
-centos: install_centos_pgsql install_centos_rpms install_ejabberd install install_libxml2 install_libxslt install_centos_perl
+centos: install_centos_pgsql install_centos_rpms install_ejabberd install_libmemcache install install_libxml2 install_libxslt install_centos_perl
+
debian: install_pgsql_debian install_debs install debian_sys_config
gentoo: install_gentoos install_gentoo_rc install_gentoo_perl install
@@ -327,6 +334,12 @@
chmod u+x $(EJABBERD_PKG).gz
./$(EJABBERD_PKG) --mode unattended --prefix /opt/ejabberd --adminpw evergreen
+# Install libmemcache from the official project source
+install_libmemcache:
+ if [ ! -d $(LIBMEMCACHE) ]; then wget $(LIBMEMCACHE_HOST)/$(LIBMEMCACHE).tar.bz2; fi;
+ tar xjf $(LIBMEMCACHE).tar.bz2
+ cd $(LIBMEMCACHE) && ./configure && make && make install
+
# Install a newer version of libxslt
install_libxslt:
if [ ! -d $(XSLT) ]; then wget $(XSLT_HOST)/$(XSLT).tar.gz; fi;
More information about the open-ils-commits
mailing list