php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77026 gcc default include path lacks /usr/include, PHP_ADD_INCLUDE lacks it either
Submitted: 2018-10-17 10:04 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: kgo_yoi at hotmail dot com Assigned:
Status: Open Package: *Configuration Issues
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
33 - 22 = ?
Subscribe to this entry?

 
 [2018-10-17 10:04 UTC] kgo_yoi at hotmail dot com
Description:
------------
When gcc default include path(gcc -xc -v -, "#include <...> search starts here:" section) doesn't contain '/usr/include' under the unusual OS, PHP_ADD_INCLUDE [https://github.com/php/php-src/blob/master/acinclude.m4#L484] `if test "$1" != "/usr/include"...` makes we lost the chance to add '-I/usr/include' as a compile option. configure run successfully, but make failed.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 15:01:34 2024 UTC