Bug #66328 [NEW]: configure. Bad search of library freetype
| From: | vidurri at gmail dot com | Date: | Fri, 20 Dec 2013 03:06:29 +0000 |
| Subject: | Bug #66328 [NEW]: configure. Bad search of library freetype | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-183409@lists.php.net to get a copy of this message | ||
From: vidurri at gmail dot com
Operating system: CentOS 6.5
PHP version: 5.5.7
Package: Compile Failure
Bug Type: Bug
Bug description:configure. Bad search of library freetype
Description:
------------
PROBLEM:
When compiling against freetype 2.5.1 it searchs for freetype.h on
"$i/include/freetype2/freetype/freetype.h" when the newest version has
this file on "$i/include/freetype2/freetype.h".
SOLUTION:
Let's search for the file on both directories replacing (on PHP
"configure" file):
if test -f "$i/include/freetype2/freetype/freetype.h"; then
For:
if test -f "$i/include/freetype2/freetype/freetype.h" || test -f
"$i/include/freetype2/freetype.h"; then
Test script:
---------------
./configure --enable-bcmath --enable-calendar --enable-dom --enable-exif
--enable-ftp --enable-gd-native-ttf --enable-gd-jis-conv --enable-intl
--enable-mbstring --enable-pcntl --enable-soap --enable-sockets
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-zip
--with-apxs2=/etc/httpd/bin/apxs --with-bz2
--with-config-file-path=/etc/httpd/conf --with-curl=/usr/local
--with-freetype-dir=/usr/local --with-gd=/usr/local --with-gettext
--with-iconv=/usr/local --with-imap=/usr/local --with-imap-ssl
--with-jpeg-dir=/usr/local --with-ldap --with-ldap-sasl
--with-libxml-dir=/usr/local --with-mcrypt --with-mhash --with-mysql
--with-mysqli --with-mysql-sock=/var/lib/mysql/mysql.sock --with-openssl
--with-pcre-regex --with-pear --with-pdo-mysql --with-png-dir=/usr/local
--with-snmp --with-vpx-dir=/usr/local --with-xmlrpc
--with-xpm-dir=/usr/local --with-zlib
--
Edit bug report at https://bugs.php.net/bug.php?id=66328&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66328&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66328&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66328&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66328&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66328&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66328&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66328&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66328&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66328&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66328&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66328&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66328&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66328&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66328&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66328&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66328&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66328&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66328&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66328&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66328&r=mysqlcfg