[horde] horde CVS with debian sarge: procedure

Fabio Pietrosanti lists at pietrosanti.it
Tue Aug 22 01:06:20 PDT 2006


I found quite tricky to get it working, so i am posting the procedure i
used to get horde HEAD working on debian sarge:

apt-get install apache2 libapache2-mod-php4 php4 \
php4-imap php4-mcrypt php4-domxml \
php4-pgsql php4-curl \
php4-imagick php4-gd \
php-file php-date php-mail-mime php4-pear-log


# Require compilers to build fileinfo PECL module

apt-get install \
 autoconf automake1.4 autotools-dev libssl-dev m4 php4-dev \
 binutils cpp cpp-3.3 gcc gcc-3.3 \
 libc6-dev linux-kernel-headers libmagic-dev \
 g++ g++-3.3 libstdc++5-3.3-dev make

# Need to upgrade PEAR otherwise package.xml files for Horde PEAR modules will not be installed.
#
# Bug debian/php in upgrading PEAR on Debian Sarge
# http://pear.php.net/bugs/bug.php?id=5543

pear upgrade db
pear upgrade archive_tar
pear upgrade XML_RPC
wget http://pear.php.net/get/PEAR-1.3.6.tgz
pear upgrade PEAR-1.3.6.tgz
rm -f PEAR-1.3.6.tgz
pear upgrade PEAR
pear upgrade-all
pear install --alldeps HTTP_Request
pear install auth_sasl

pecl install fileinfo

vim /etc/php4/apache2/php.ini
extension=domxml.so  
extension=gd.so  
extension=imagick.so  
extension=imap.so  
extension=mcrypt.so  
extension=pgsql.so
extension=fileinfo.so

apt-get remove \
 autoconf automake1.4 autotools-dev libssl-dev m4 php4-dev \
 binutils cpp cpp-3.3 gcc gcc-3.3 \
 libc6-dev linux-kernel-headers libmagic-dev \
 g++ g++-3.3 libstdc++5-3.3-dev make
dpkg --purge \
 autoconf automake1.4 autotools-dev libssl-dev m4 php4-dev \
 binutils cpp cpp-3.3 gcc gcc-3.3 \
 libc6-dev linux-kernel-headers libmagic-dev \
 g++ g++-3.3 libstdc++5-3.3-dev make


export CVSROOT=:pserver:cvsread at anoncvs.horde.org:/repository

cvs login
  (password: horde)
cvs co horde
cd horde/
cvs co framework
cd framework

# IMPORTANT, OTHERWISE INSTALLATION WILL NOT WORK
# http://beeblex.com/lists/index.php/php.pear.general/24095?s=l:php.pear.general
pear channel-discover pear.horde.org

php -q install-packages.php
cd ../
cvs co imp
cvs co passwd





More information about the horde mailing list