|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74343 configure can't find Solaris 11 native gd.h
Submitted: 2017-03-30 15:18 UTC Modified: -
From: dave at simonsontech dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 7.1.3 OS: Solaris 11.3 SRU 17.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: dave at simonsontech dot net
New email:
PHP Version: OS:


 [2017-03-30 15:18 UTC] dave at simonsontech dot net
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-03-30 15:29 UTC]
Automatic comment on behalf of krakjoe
Log: fix bug #74343 compile fails on solaris 11 with system libgd
 [2017-03-30 15:29 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 00:03:13 2021 UTC