Bug #61102 [Opn->Nab]: GD build test failed. Please check the config.log for details

From: Date: Wed, 05 Mar 2014 08:45:09 +0000
Subject: Bug #61102 [Opn->Nab]: GD build test failed. Please check the config.log for details
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184526@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61102&edit=1 ID: 61102 Updated by: pajoye@php.net Reported by: leonardo dot burchi at gmail dot com Summary: GD build test failed. Please check the config.log for details -Status: Open +Status: Not a bug Type: Bug Package: Compile Failure Operating System: Centos 6.2 PHP Version: 5.3.10 Block user comment: N Private report: N New Comment: . Previous Comments: ------------------------------------------------------------------------ [2014-03-05 08:16:37] silent dot daemon81 at gmail dot com For me the issue was related to the server not having enough resources. After rectifying the issue, the configure script ran with no issue: PHP 5.3.10 on Centos 6.2 64 bit ------------------------------------------------------------------------ [2012-07-05 19:21:45] damon dot conway at alchemysystems dot com For those of you having trouble with this, I was able to work around it by doing an export LDFLAGS=-L/usr/lib64/mysql in the script I use to configure php. Try setting this env variable for what you need until the PHP devs are able to fix the configure process. ------------------------------------------------------------------------ [2012-02-16 10:18:35] leonardo dot burchi at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=61102&edit=1

« previous php.bugs (#184526) next »