php with-imap

Toptyg

Verified User
Joined
May 25, 2007
Messages
22
Hello all

I need to install module imap for php5

I get error

.3/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/include -I/usr/local/directadmin/customapache/php-5.2.3/TSRM -I/usr/local/directadmin/customapache/php-5.2.3/Zend -I/usr/local/include -g -O2 -prefer-non-pic -c main/internal_functions.c -o main/internal_functions.lo
In file included from /usr/local/directadmin/customapache/php-5.2.3/ext/imap/php_imap.h:39,
from main/internal_functions.c:45:
/usr/local/include/c-client.h:33:44: mail.h: No such file or directory
/usr/local/include/c-client.h:34:48: osdep.h: No such file or directory
/usr/local/include/c-client.h:35:56: misc.h: No such file or directory
/usr/local/include/c-client.h:36:52: rfc822.h: No such file or directory
/usr/local/include/c-client.h:37:47: smtp.h: No such file or directory
/usr/local/include/c-client.h:42:47: nntp.h: No such file or directory
In file included from main/internal_functions.c:45:
/usr/local/directadmin/customapache/php-5.2.3/ext/imap/php_imap.h:40:65: imap4r1.h: No such file or directory
In file included from main/internal_functions.c:45:
/usr/local/directadmin/customapache/php-5.2.3/ext/imap/php_imap.h:76: error: syntax error before "MAILSTREAM"
/usr/local/directadmin/customapache/php-5.2.3/ext/imap/php_imap.h:81: error: syntax error before "SIZEDTEXT"
/usr/local/directadmin/customapache/php-5.2.3/ext/imap/php_imap.h:88: error: syntax error before "SIZEDTEXT"
/usr/local/directadmin/customapache/php-5.2.3/ext/imap/php_imap.h:184: error: syntax error before "STRINGLIST"
/usr/local/directadmin/customapache/php-5.2.3/ext/imap/php_imap.h:187: error: syntax error before "STRINGLIST"
*** Error code 1

Stop in /usr/local/directadmin/customapache/php-5.2.3.

I can not faind documentation for install c-client :(
and imap (new)
 
EEh Solved
=============================
For Freebsd 6.2

cd /ports/mail/cclient
make install clean

cd /usr/local/directadmin/customapache

ee configure.php

+add

--with-imap \
--with-imap-ssl \

./build php n

===========================
End.
 
Back
Top