#33025 [Opn->Bgs]: Excluded win32 directory for tru64 OS

From: Date: Fri, 13 May 2005 07:51:54 +0000
Subject: #33025 [Opn->Bgs]: Excluded win32 directory for tru64 OS
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78966@lists.php.net to get a copy of this message
ID: 33025 Updated by: sniper@php.net Reported By: shantalabhat at hotmail dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Tru64 PHP Version: 4.3.11 New Comment: Don't mess with the sources if you don't know what you're doing. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#78966) next »