From:
Operating system: Centos 6.2
PHP version: 5.3.10
Package: Compile Failure
Bug Type: Bug
Bug description:GD build test failed. Please check the config.log for details
Description:
------------
Launching configure script for PHP 5.3.10 on Centos 6.2 64 bit with
configure commando you can see in test script, I get the error GD build
test failed. Please check the config.log for details.
Test script:
---------------
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql
--with-mysqli=/usr/bin/mysql_config --enable-mbstring --with-openssl
--with-zlib --with-gd --with-jpeg-dir=/root/jpeg-8d --with-gettext
--with-mcrypt --with-curl --with-libdir=lib64
--with-freetype-dir=/usr/local --with-pdo-mysql
Expected result:
----------------
I expect a successfull build :-)
Actual result:
--------------
I get the error "configure: error: GD build test failed. Please check the
config.log for details.".
The last lines I can see in config.log are:
configure:37551: gcc -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/usr/li
b6464 -L/usr/lib6464 -Wl,-rpath,/usr/local/lib64 -L/usr/local/lib64 -lz
conftest .c -lpng
-ljpeg -lcurl -lz -lrt -lm -ldl -lnsl -lxml2 -lz -lm -lssl -lcrypto -
ldl -lz -lcurl -lxml2 -lz
-lm 1>&5
configure:38325: checking for FT_New_Face in -lfreetype
configure:38344: gcc -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/usr/li
b6464 -L/usr/lib6464 -Wl,-rpath,/usr/local/lib64 -L/usr/local/lib64
conftest.c -
lfreetype -lpng -lz -ljpeg -lcurl -lz -lrt -lm -ldl -lnsl -lxml2 -lz -lm
-lssl -lcrypto -ldl
-lz -lcurl -lxml2 -lz -lm 1>&5
configure:44777: gcc -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/usr/li
b6464 -L/usr/lib6464 -Wl,-rpath,/usr/local/lib64 -L/usr/local/lib64
conftest.c
-lfreetype -lpng -lz -ljpeg -lcurl -lz -lrt -lm -ldl -lnsl -lxml2 -lz -lm
-ls sl -lcrypto -ldl
-lz -lcurl -lxml2 -lz -lm 1>&5
configure: failed program was:
#line 44766 "configure"
#include "confdefs.h"
char foobar () {}
char foobar();
int main() {
foobar();
return 0;
}
--
Edit bug report at https://bugs.php.net/bug.php?id=61102&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=61102&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=61102&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=61102&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=61102&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=61102&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=61102&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=61102&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=61102&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=61102&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=61102&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=61102&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=61102&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=61102&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=61102&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=61102&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61102&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=61102&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=61102&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=61102&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=61102&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=61102&r=mysqlcfg