From: shantalabhat at hotmail dot com
Operating system: Tru64
PHP version: 4.3.11
PHP Bug Type: Compile Failure
Bug description: Excluded win32 directory for tru64 OS
Description:
------------
I am compiling the PHP-4.3.11 on Tru64 . So I exclueded the
php-4.3.11/win32 directory. When I try to build the source I get the error
saying
php4/main/php_ini.c, line 34: Cannot find file "win32/php_registry.h"
specified in #include directive. (noinclfilef)
#include "win32/php_registry.h"
-^
When I looked into php4/main/php_ini.c file I noticed that none of the
functions mentioned in "win32/php_registry.h" are utilised in this file.
So when I take out this include directory The compilation goes out smooth.
Reproduce code:
---------------
21 /* Check CWD for php.ini */
22 #define INI_CHECK_CWD
23
24 #include "php.h"
25 #include "ext/standard/info.h"
26 #include "zend_ini.h"
27 #include "php_ini.h"
28 #include "ext/standard/dl.h"
29 #include "zend_extensions.h"
30 #include "zend_highlight.h"
31 #include "SAPI.h"
32 #include "php_main.h"
33 #include "php_scandir.h"
34 #include "win32/php_registry.h"
35
36 #if HAVE_SCANDIR && HAVE_ALPHASORT && HAVE_DIRENT_H
Expected result:
----------------
The compilation should go smooth if win32 directory is excluded
Actual result:
--------------
Getting Compilation error
--
Edit bug report at http://bugs.php.net/?id=33025&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33025&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=33025&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=33025&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33025&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33025&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33025&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33025&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33025&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33025&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33025&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=33025&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=33025&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33025&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33025&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33025&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33025&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33025&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33025&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33025&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33025&r=mysqlcfg