php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33025 Excluded win32 directory for tru64 OS
Submitted: 2005-05-13 08:55 UTC Modified: 2005-05-16 09:10 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: shantalabhat at hotmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.11 OS: Tru64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: shantalabhat at hotmail dot com
New email:
PHP Version: OS:

 

 [2005-05-13 08:55 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-13 09:51 UTC] sniper@php.net
Don't mess with the sources if you don't know what you're doing.

 [2005-05-16 07:51 UTC] shantalabhat at hotmail dot com
If I exclude the line 
"#include "win32/php_registry.h" it compiles smoothly. So Is it necessary to have this header ?
 [2005-05-16 09:10 UTC] sniper@php.net
Yes, it's needed. Use clean sources and don't mess with them if you don't know what you're doing..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 17:02:22 2024 UTC