Bug #17851 Updated: Missing condition to #elif preprocessor instruction.
| From: | webmaster at ttw-tool dot de | Date: | Wed, 19 Jun 2002 18:48:04 +0000 |
| Subject: | Bug #17851 Updated: Missing condition to #elif preprocessor instruction. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11448@lists.php.net to get a copy of this message | ||
ID: 17851
Updated by: webmaster@ttw-tool.de
Reported By: webmaster@ttw-tool.de
Status: Open
Bug Type: Compile Failure
Operating System: Linux 2.4.17
-PHP Version: 4.2.1
+PHP Version: 4.3.0-dev
New Comment:
Version: 4.3.0-dev-zend2-alpha1
'./configure' '--prefix=/usr/local/php' '--with-mysql=/usr/local'
'--enable-versioning' '--with-apxs=/usr/local/apache/bin/apxs'
'--without-pear'
PHP-API: 20020307
PHP-Ext.API: 20010927
Zend-API: 20010710
IMHO the #elif instruction is lacking a condition.
file: sapi/apache/php_apache.c, lines 182-193:
#ifdef PHP_WIN32
php_info_print_table_row(1, "Apache for Windows 95/NT");
php_info_print_table_end();
php_info_print_table_start();
#elif
php_info_print_table_row(1, "Apache for NetWare");
php_info_print_table_end();
php_info_print_table_start();
#else
php_info_print_table_row(2, "APACHE_INCLUDE", PHP_APACHE_INCLUDE);
php_info_print_table_row(2, "APACHE_TARGET", PHP_APACHE_TARGET);
#endif
Managed to compile by deleting lines 182-190 and 193 because OS=Linux.
Previous Comments:
------------------------------------------------------------------------
[2002-06-19 14:46:49] webmaster@ttw-tool.de
Version: 4.3.0-dev-zend2-alpha1
'./configure' '--prefix=/usr/local/php' '--with-mysql=/usr/local'
'--enable-versioning' '--with-apxs=/usr/local/apache/bin/apxs'
'--without-pear'
PHP-API: 20020307
PHP-Ext.API: 20010927
Zend-API: 20010710
IMHO the #elif instruction is lacking a condition.
file: sapi/apache/php_apache.c, lines 182-193:
#ifdef PHP_WIN32
php_info_print_table_row(1, "Apache for Windows 95/NT");
php_info_print_table_end();
php_info_print_table_start();
#elif
php_info_print_table_row(1, "Apache for NetWare");
php_info_print_table_end();
php_info_print_table_start();
#else
php_info_print_table_row(2, "APACHE_INCLUDE", PHP_APACHE_INCLUDE);
php_info_print_table_row(2, "APACHE_TARGET", PHP_APACHE_TARGET);
#endif
Managed to compile by deleting lines 182-190 and 193 because OS=Linux.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17851&edit=1