Compiling with IMAP
| From: | Andreas Sussitz | Date: | Thu, 04 Apr 2002 21:49:39 +0000 |
| Subject: | Compiling with IMAP | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6561@lists.php.net to get a copy of this message | ||
hello everyone!
I'm getting the following compile-errors when trying to do with imap.
any solution or suggestion on http://www.php.net/manual/en/ref.imap.php
didn't work for me :-(
I'm using OpenBSD with c-client installed from the ports-library (tried
compiling manual too, seems to work fine)
any ideas?
thanks,
andreas
./configure --with-mysql --with-apxs=/usr/local/apache/current/bin/apxs --wi
th-gettext --with-imap --with-kerberos --with-imap-ssl
..
..
Making all in main
/bin/sh /usr/local/src/httpd/php-4.1.2/libtool --silent --mode=compile
cc -I. -I/usr/local/src/httpd/php-4.1.2/main -I/usr/local/src/httpd/php-4.1
.2/main -I/usr/local/src/httpd/php-4.1.2 -I/usr/local/apache/1.3.24/include
-I/usr/local/src/httpd/php-4.1.2/Zend -I/usr/local/include -I/usr/local/incl
ude/c-client -I/usr/local/src/httpd/php-4.1.2/ext/mysql/libmysql -I/usr/loca
l/src/httpd/php-4.1.2/ext/xml/expat -DMOD_SSL=208108 -DEAPI -DUSE_EXPAT -I/
usr/local/src/httpd/php-4.1.2/TSRM -g -O2 -prefer-pic -c
internal_functions.c
In file included from internal_functions.c:33:
/usr/local/src/httpd/php-4.1.2/ext/imap/php_imap.h:79: syntax error before
`MAILSTREAM'
/usr/local/src/httpd/php-4.1.2/ext/imap/php_imap.h:90: syntax error before
`SIZEDTEXT'
/usr/local/src/httpd/php-4.1.2/ext/imap/php_imap.h:97: syntax error before
`SIZEDTEXT'
/usr/local/src/httpd/php-4.1.2/ext/imap/php_imap.h:188: syntax error before
`STRINGLIST'
*** Error code 1
Stop in /usr/local/src/httpd/php-4.1.2/main.
*** Error code 1
Stop in /usr/local/src/httpd/php-4.1.2/main (line 37 of
/usr/local/src/httpd/php-4.1.2/build/rules.mk).
*** Error code 1
Stop in /usr/local/src/httpd/php-4.1.2 (line 37 of
/usr/local/src/httpd/php-4.1.2/build/rules.mk).