Has anyone been able to compile php with imap-2001 cclient with -imap-ssl
option?
it looks like format of cclient .h changed, and php is not able to find
certain fnctions. i was wondering if anyone found a hack around?
____________________________________________
Looks like --with-imap-ssl is broken, imap2001 (latest c-client), does not
contain auth_ssl anymore, compilation of php --with-imap-ssl fails with:
/bin/sh /usr/tmp/php-4.0.5/libtool --silent --mode=compile gcc  -I.
-I/usr/tmp/php-4.0.5/ext/imap -I/usr/tmp/php-4.0.5/main -I/usr/tmp/php-4.0.5
-I/usr/local/include/apache -I/usr/tmp/php-4.0.5/Zend
-I/usr/local/include/freetype -I/usr/local/include/gd -I/usr/local/include
-I/usr/local/include/c-client/ -I/usr/local/include/mcal
-I/usr/local/include/mysql -I/usr/tmp/php-4.0.5/ext/xml/expat/xmltok
-I/usr/tmp/php-4.0.5/ext/xml/expat/xmlparse -I/usr/tmp/php-4.0.5/TSRM
-DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/"
-DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpread
y"
-DMOD_SSL=208102 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDE
R=12
-g -O2  -c php_imap.c
php_imap.c: In function `php_minit_imap':
php_imap.c:451: `auth_ssl' undeclared (first use in this function)
php_imap.c:451: (Each undeclared identifier is reported only once
php_imap.c:451: for each function it appears in.)
*** Error code 1

Stop in /usr/tmp/php-4.0.5/ext/imap.
*** Error code 1

Stop in /usr/tmp/php-4.0.5/ext/imap.

i have tried to remove that one line in php_main.c which references
auth_ssl, and it does compile after that, but apache fails to start:
apachectl configtest
Syntax error on line 177 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libphp4.so into server:
/usr/local/libexec/apache/libphp4.so: Undefined symbol "ssl_onceonlyinit"




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to