Bug #66328 [Opn->Csd]: configure. Bad search of library freetype
| From: | vidurri at gmail dot com | Date: | Fri, 20 Dec 2013 03:25:45 +0000 |
| Subject: | Bug #66328 [Opn->Csd]: configure. Bad search of library freetype | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-183413@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66328&edit=1
ID: 66328
User updated by: vidurri at gmail dot com
Reported by: vidurri at gmail dot com
Summary: configure. Bad search of library freetype
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: CentOS 6.5
PHP Version: 5.5.7
Block user comment: N
Private report: N
New Comment:
Solution in here provided by Rafael Rocha Vidaurri
Previous Comments:
------------------------------------------------------------------------
[2013-12-20 03:23:25] vidurri at hotmail dot com
Related To: Bug #64405
------------------------------------------------------------------------
[2013-12-20 03:21:38] vidurri at hotmail dot com
Related To: Bug #66198
------------------------------------------------------------------------
[2013-12-20 03:06:29] vidurri at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=66328&edit=1