[horde] Compile Programs required by HORDE and IMP

eculp at encontacto.net eculp at encontacto.net
Mon Jan 20 17:10:24 PST 2003


Quoting Ernesto Garcia <otsenre76 at yahoo.com>:

 | 
 | Hi
 | 
 | How i must configure PHP to use IMP/HORDE ? in other way, wich is the flags
 | when compile php to user IMP/HORDE ??
 | 
 | Thanks
 | 

Ernesto,

I'm using cvs with the head version of php but if you download the source 4.3 
tarball from php.net it should be the same.

I just go in to the php directory and do

# ./buildconf
# ./configure --with-apxs=/usr/local/sbin/apxs --with-tsrm-pth --enable-ctype
--with-config-file-path=/usr/local/etc --enable-versioning --with-regex=system
--with-gd=/usr/local --enable-gd-native-ttf --with-freetype-dir=/usr/local
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib
--with-mcrypt=/usr/local --with-mhash=/usr/local --with-pdflib=/usr/local
--with-zlib-dir=/usr --with-jpeg-dir=/usr/local --with-png-dir=/usr/local
--with-tiff-dir=/usr/local --with-imap=/usr/local --enable-mime-magic
--with-mysql=/usr/local --with-pgsql=/usr/local --with-sockets
--with-ldap=/usr/local --with-openssl=/usr --with-expat-dir=/usr/local
--with-dom=/usr/local --enable-ftp --with-gettext=/usr/local
--with-iconv=/usr/local --enable-mbstring --with-mcal=/usr/local
--with-ming=/usr/local --prefix=/usr/local

all on one line, or stick it in a file to be able to change it easier later.
The above is for apache13 if you have apache2 you would add a 2 to apxs
--with-apxs2=. . . .  you will also need the corresponding libraries 
already installed.

Than after configure I just do

# make install

It usually works.

provecho y suerte,

ed

-------------------------------------------------



More information about the horde mailing list