#18691 [Opn->Csd]: PHP fails to compile (apache2, imap)
| From: | kalowsky@php.net | Date: | Thu, 01 Aug 2002 20:28:40 +0000 |
| Subject: | #18691 [Opn->Csd]: PHP fails to compile (apache2, imap) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15769@lists.php.net to get a copy of this message | ||
ID: 18691
Updated by: kalowsky@php.net
Reported By: mikeg@bsd-box.net
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: FreeBSD 4.6-STABLE
PHP Version: 4.2.2
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-08-01 16:22:08] mikeg@bsd-box.net
Forgot to mention - this began happening after I added IMAP support to
my PHP build. Builds without IMAP (to my knowledge - I haven't checked
with the guy who did the last set of builds and he doesn't leave logs)
worked fine.
------------------------------------------------------------------------
[2002-08-01 16:14:01] mikeg@bsd-box.net
Compiling PHP after configuring with the following options:
./configure --prefix=/usr/home/www --with-apxs2=/home/www/bin/apxs
--with-pgsql --with-openssl --enable-sockets --enable-sysvshm
--enable-sysvsem --enable-tokenizer --with-jpeg-dir=/usr/local
--with-png-dir=/usr/local --with-xpm-dir=/usr/local --with-zlib
--enable-ftp --with-tsrm-pth --with-imap
The compile fails in sapi/apache2filter/php_functions.c
line 93 (an #if directive).
This is a compile with apache httpd-2.0.39 and PHP 4.2.2
(virgin download from the FTP site) on FreeBSD 4.6-STABLE
(cvsup and recompiled last night).
Commenting out the offending block of code (the #if....#endif) gets
things compiling again.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18691&edit=1