This page is a mirror as of March 27, 2003 of the page
http://www.matrixtek.com/resources/tools/rh80-imp-faq.html

I put this webpage up as a quick reference for those trying to quickly install IMP 3.1 on RedHat 8.0 via RPM's. I followed this post that can be found on the imp mailing list archives. The author covered 95% of the instructions below.
I would only add that you need to still follow the configure instructions included with the horde and imp RPM's.
Also, his instructions included the kronolith, mnemo and nag RPM's. I only installed horde and imp myself, but I would assume and of the packaged RPM's would work with this method.

Feel free to send any comments concerning this page to:
kevin@matrixtek.com


Message 1 in thread
From: Parag Godkar
Subject: [imp] Installation of IMP3.1 on Redhat Linux 8.0


View this article only
Newsgroups: mailing.www.horde-imp
Date: 2002-10-31 21:28:02 PST


I have successfully installed IMP3.1 on RedHat Linux 8.0 with apache 2.0.x, php 4.2.x and Mysql with some changes required during installation. I thought I would share this with the IMP community.

1. Required RPMs ( present on RH 8.0 CD )
httpd-2.0.40-8 ( apache version 2 )
db4-4.0.14-14
compat-db-3.3.11-2
expat-1.95.4-1
freetype-2.1.2-7
libtool-libs-1.4.2-12
libtool-libs13-1.3.5-5
libxml2-2.4.23-1
openssl-0.9.6b-29
openssl096-0.9.6-11
openssl095a-0.9.5a-16
php-4.2.2-8.0.5

2. IMAP ( present on RH 8.0 CD )
imap-2001a-15
php-imap-4.2.2-8.0.5

3. MySQL ( present on RH 8.0 CD )
mysql-3.23.52-3
mysql-server-3.23.52-3
mysql-devel-3.23.52-3
php-mysql-4.2.2-8.0.5

4. Horde RPMs
horde-2.1-3
imp-3.1-2
kronolith-1.0-2
mnemo-1.0-1
nag-1.0-1

INSTALLATION INSTRUCTIONS -
1. The installation of all rpms is the same except for Horde rpms. This is because the horde rpms look for ( depend on ) apache >= 1.3.x and apache 2.x is now called httpd 2.x. So we install horde rpms in the following manner -

rpm -ivh horde-2.1-3.noarch.rpm --nodeps
( ie: we don't check for dependencies )

Similarly install the rest of the horde rpms.

2. Opening horde/test.php in browser shows two errors -

1) short_open_tag is not enabled.
Solution - Enable it in /etc/php.ini as follows -
short_open_tag = On

2) Latest PEAR is present but Log class is absent.
Solution - The PEAR that comes with php-4.2.2-8.0.5
does not have Log class. So we must extract it from the php rpm provided by horde - php-4.1.2-0horde1.i386.rpm. Download this rpm from horde ftp site. Now open mc ( Midnight Commander ) or install it if you don't have it ( mc-4.5.55-12*.rpm -- present on RH 8.0 CD ) NOTE - mc should be run only from the console
of server and not from any telnet or ssh window.
Browse to the php*horde1*.rpm. Open it and copy Log.php and Log folder to /usr/share/ pear/.

3. Ensure that httpd and mysqld are up and running and then try running IMP. It should be running without any problems.

Regards,
Parag Godkar