ID: 33025 User updated by: shantalabhat at hotmail dot com Reported By: shantalabhat at hotmail dot com -Status: Bogus +Status: Open Bug Type: Compile Failure Operating System: Tru64 PHP Version: 4.3.11 New Comment:
If I exclude the line "#include "win32/php_registry.h" it compiles smoothly. So Is it necessary to have this header ? Previous Comments: ------------------------------------------------------------------------ [2005-05-13 09:51:52] [EMAIL PROTECTED] Don't mess with the sources if you don't know what you're doing. ------------------------------------------------------------------------ [2005-05-13 08:55:51] shantalabhat at hotmail dot com 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 this bug report at http://bugs.php.net/?id=33025&edit=1