[PHP-BUG] Bug #74343 [NEW]: configure can't find Solaris 11 native gd.h

[email protected] ("dave at simonsontech dot net")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             dave at simonsontech dot net
Operating system: Solaris 11.3 SRU 17.5
PHP version:      7.1.3
Package:          Compile Failure
Bug Type:         Bug
Bug description:configure can't find Solaris 11 native gd.h 

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 bug report at https://bugs.php.net/bug.php?id=74343&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=74343&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=74343&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=74343&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=74343&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=74343&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=74343&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=74343&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=74343&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=74343&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=74343&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=74343&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=74343&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=74343&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74343&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=74343&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=74343&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=74343&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74343&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=74343&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=74343&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.