Hi,
Have configured php with the following options on Linux6.2:
./configure --with-mysql --with-xml --enable-wddx --enable-ftp --with-gd --with-imap --with-zip --with-zlib --enable-track-vars --with-apache=../apache_1.3.20
Have compiled imap-2002.RC2 and then copied c-client/c-client.a to /usr/local/lib/libc-client4.a and also copied c-client/c-client.h, c-client/imap4r1.h, c-client/rfc-882.h, c-client/mail.h and c-client/linkage.h to /usr/local/include.
However on compiling gave the following error:
make[1]: Entering directory /root/php-4.0.6/main'
make[2]: Entering directory/root/php-4.0.6/main'
gcc -I. -I/root/php-4.0.6/main -I/root/php-4.0.6/main -I/root/php-4.0.6 -I/root/apache_1.3.20/src/include -I/root/apache_1.3.20/src/os/unix -I/root/php-4.0.6/Zend -I/usr/local/include -I/root/php-4.0.6/ext/mysql/libmysql -I/root/php-4.0.6/ext/xml/expat/xmltok -I/root/php-4.0.6/ext/xml/expat/xmlparse -I/root/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c main.c && touch main.lo
gcc -I. -I/root/php-4.0.6/main -I/root/php-4.0.6/main -I/root/php-4.0.6 -I/root/apache_1.3.20/src/include -I/root/apache_1.3.20/src/os/unix -I/root/php-4.0.6/Zend -I/usr/local/include -I/root/php-4.0.6/ext/mysql/libmysql -I/root/php-4.0.6/ext/xml/expat/xmltok -I/root/php-4.0.6/ext/xml/expat/xmlparse -I/root/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c internal_functions.c && touch internal_functions.lo
In file included from /root/php-4.0.6/ext/imap/php_imap.h:11,
from internal_functions.c:35:
/usr/local/include/c-client.h:34: misc.h: No such file or directory
In file included from /root/php-4.0.6/ext/imap/php_imap.h:11,
from internal_functions.c:35:
/usr/local/include/c-client.h:36: smtp.h: No such file or directory
/usr/local/include/c-client.h:41: nntp.h: No such file or directory
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory /root/php-4.0.6/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory/root/php-4.0.6/main'
Could anybody help me on this.
Regards,
Dinesh