php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6465 Weird warnings about non-existent files
Submitted: 2000-08-31 09:13 UTC Modified: 2000-09-03 17:21 UTC
From: cahagn_o at epita dot fr Assigned:
Status: Closed Package: Compile Warning
PHP Version: 4.0.2 OS: NetBSD 1.3.3
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: cahagn_o at epita dot fr
New email:
PHP Version: OS:

 

 [2000-08-31 09:13 UTC] cahagn_o at epita dot fr
Hi,

OS: NetBSD 1.3.3
gcc: 2.7.2.2+myc2
php: 4.0.2

using gcc 2.7.2.2+myc2, I see those weird warnings (might come from gcc installation ?). 
It does not come from the user settings, as I have the same thing with another user on the same system. 
I configured php with just ./configure

Both users don't have these warnings on NetBSD 1.4.2 with egcs 2.91.60 
(therefore, php compilation fails because of -lgdbm: no match at the final linkage step, but that's another story :)

/home/php/php4/php-4.0.2/main/configuration-parser.y:25: warning: Header file /home/php/php4/php-4.0.2/main/php.h exists, but is not readable
/home/php/php4/php-4.0.2/main/configuration-parser.y:26: warning: Header file /home/php/php4/php-4.0.2/main/php_globals.h exists, but is not readable
/home/php/php4/php-4.0.2/main/configuration-parser.y:27: warning: Header file /home/php/php4/php-4.0.2/main/php_ini.h exists, but is not readable
/home/php/php4/php-4.0.2/main/configuration-parser.y:28: warning: Header file /home/php/php4/php-4.0.2/main/ext/standard/dl.h exists, but is not readable
/home/php/php4/php-4.0.2/main/configuration-parser.y:29: warning: Header file /home/php/php4/php-4.0.2/main/ext/standard/file.h exists, but is not readable
/home/php/php4/php-4.0.2/main/configuration-parser.y:30: warning: Header file /home/php/php4/php-4.0.2/main/ext/standard/php_browscap.h exists, but is not readable
/home/php/php4/php-4.0.2/main/configuration-parser.y:31: warning: Header file /home/php/php4/php-4.0.2/main/zend_extensions.h exists, but is not readable
/home/php/php4/php-4.0.2/main/configuration-scanner.l:22: warning: Header file /home/php/php4/php-4.0.2/main/php.h exists, but is not readable
/home/php/php4/php-4.0.2/main/configuration-scanner.l:23: warning: Header file /home/php/php4/php-4.0.2/main/configuration-parser.h exists, but is not readable

There're also other compilation warnings already described in #5744 and #6461

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-03 00:34 UTC] sniper@php.net
Just wondering whether you get those warnings when compiling as 'root' user ??

--Jani
 [2000-09-03 06:49 UTC] cahagn_o at epita dot fr
Sorry, I do not have enough rights to be 'root' on this system.

However, I tested other php versions, I get the same
warnings with PHP 4.0.1pl2, and latest snapshot from
September, 2nd.

Therefore, with PHP 4.0.0, I get the same warnings, but
notice the user in the path, it's a little different than
with PHP 4.0.2:

/home/zeev/php4/php-4.0.0//configuration-parser.y:25:
warning: Header file /home/zeev/php4/php-4.0.0/php.h exists,
but is not readable
/home/zeev/php4/php-4.0.0//configuration-parser.y:26:
warning: Header file /home/zeev/php4/php-4.0.0/php_globals.h
exists, but is not readable
/home/zeev/php4/php-4.0.0//configuration-parser.y:27:
warning: Header file /home/zeev/php4/php-4.0.0/php_ini.h
exists, but is not readable
/home/zeev/php4/php-4.0.0//configuration-parser.y:28:
warning: Header file
/home/zeev/php4/php-4.0.0/ext/standard/dl.h exists, but is
not readable
/home/zeev/php4/php-4.0.0//configuration-parser.y:29:
warning: Header file
/home/zeev/php4/php-4.0.0/ext/standard/file.h exists, but is
not readable
/home/zeev/php4/php-4.0.0//configuration-parser.y:30:
warning: Header file
/home/zeev/php4/php-4.0.0/ext/standard/php_browscap.h
exists, but is not readable
/home/zeev/php4/php-4.0.0//configuration-parser.y:31:
warning: Header file
/home/zeev/php4/php-4.0.0/zend_extensions.h exists, but is
not readable
/home/zeev/php4/php-4.0.0//configuration-scanner.l:22:
warning: Header file /home/zeev/php4/php-4.0.0/php.h exists,
but is not readable
/home/zeev/php4/php-4.0.0//configuration-scanner.l:23:
warning: Header file
/home/zeev/php4/php-4.0.0/configuration-parser.h exists, but
is not readable

 [2000-09-03 17:21 UTC] sniper@php.net
Fixed.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 03:01:30 2024 UTC