Bug #74343 [Opn->Csd]: configure can't find Solaris 11 native gd.h
| From: | krakjoe@php.net | Date: | Thu, 30 Mar 2017 15:29:27 +0000 |
| Subject: | Bug #74343 [Opn->Csd]: configure can't find Solaris 11 native gd.h | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208194@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74343&edit=1
ID: 74343
Updated by: krakjoe@php.net
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