php.net |  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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dave at simonsontech dot net
New email:
PHP Version: OS:

 

 [2017-03-30 15:18 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-03-30 15:29 UTC] krakjoe@php.net
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
 [2017-03-30 15:29 UTC] krakjoe@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 11:01:28 2024 UTC