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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Thu Nov 21 15:01:30 2024 UTC