ID: 17458
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Analyzed
-Bug Type: Compile Failure
+Bug Type: Documentation problem
Operating System: BSDi 4.2/4.3
PHP Version: 4.2.1
New Comment:
If you have compiled c-client library yourself, point the
PHP configure to that source directory.
e.g. --with-imap=/usr/src/imap-2001a/
c-client has some header files which are named same as some
unix header files are (unix.h for example). So documentation should be
fixed. (ie. you should always use the source path and not install the
library/header files anywhere)
--Jani
Previous Comments:
------------------------------------------------------------------------
[2002-05-27 13:22:17] [EMAIL PROTECTED]
Can't compile PHP 4.2.1 (or 4.2.0) with IMAP support on BSDi 4.2 or
4.3
uage_parser.c || echo './'`zend_language_parser.c
In file included from zend.h:55,
from zend_compile.h:24,
from zend_language_parser.c:147:
/usr/include/unix.h:182: syntax error before `MAILSTREAM'
/usr/include/unix.h:193: syntax error before `*'
/usr/include/unix.h:193: warning: data definition has no type or
storage class
/usr/include/unix.h:196: syntax error before `*'
/usr/include/unix.h:197: syntax error before `*'
/usr/include/unix.h:198: syntax error before `*'
/usr/include/unix.h:199: syntax error before `*'
/usr/include/unix.h:200: syntax error before `*'
/usr/include/unix.h:201: syntax error before `*'
/usr/include/unix.h:202: syntax error before `*'
/usr/include/unix.h:202: syntax error before `*'
/usr/include/unix.h:202: warning: data definition has no type or
storage class
/usr/include/unix.h:203: syntax error before `*'
/usr/include/unix.h:204: syntax error before `*'
/usr/include/unix.h:206: syntax error before `*'
/usr/include/unix.h:207: syntax error before `*'
/usr/include/unix.h:209: syntax error before `*'
/usr/include/unix.h:210: syntax error before `*'
/usr/include/unix.h:211: syntax error before `*'
/usr/include/unix.h:212: syntax error before `*'
/usr/include/unix.h:213: syntax error before `*'
/usr/include/unix.h:214: syntax error before `*'
/usr/include/unix.h:215: syntax error before `*'
/usr/include/unix.h:216: syntax error before `*'
/usr/include/unix.h:219: syntax error before `*'
/usr/include/unix.h:221: syntax error before `DOTLOCK'
/usr/include/unix.h:222: syntax error before `MAILSTREAM'
/usr/include/unix.h:223: syntax error before `*'
/usr/include/unix.h:224: syntax error before `*'
/usr/include/unix.h:225: syntax error before `*'
/usr/include/unix.h:226: syntax error before `*'
/usr/include/unix.h:228: syntax error before `*'
/usr/include/unix.h:229: syntax error before `*'
And I can't use gmake because I get:
Makefile:34: *** missing separator. Stop.
PHP Configure line:
./configure --with-mysql --with-gettext --with-xml --with-ftp
--with-apxs --with-gd=/usr/local --with-imap=/usr
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17458&edit=1