Edit report at https://bugs.php.net/bug.php?id=74343&edit=1
ID: 74343
Updated by: [email protected]
Reported by: dave at simonsontech dot net
Summary: configure can't find Solaris 11 native gd.h
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Solaris 11.3 SRU 17.5
PHP Version: 7.1.3
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ef3140e54414e03cb00a748ca50ca558e55f1729
Log: fix bug #74343 compile fails on solaris 11 with system libgd
Previous Comments:
------------------------------------------------------------------------
[2017-03-30 15:18:39] dave at simonsontech dot net
Description:
------------
Solaris 11 native package "gd" installs headers in /usr/include/gd2. Configure does not check there for header.
Extend ext/gd/config.m4 line 328 (header path search) to add "include/gd2"
327 dnl Header path
328 for i in include/gd include gd include/gd2 ""; do
329 test -f "$PHP_GD/$i/gd.h" && GD_INCLUDE="$PHP_GD/$i"
330 done
Compiles and links cleanly.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74343&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.