|  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
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 !
Your email address:
Solve the problem:
45 - 35 = ?
Subscribe to this entry?

 [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-2019 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 11:01:30 2019 UTC