Bug #48172 [Com]: configure: error: GD build test failed.
| From: | alexwriter2003 at gmail dot com | Date: | Fri, 03 Feb 2023 16:25:53 +0000 |
| Subject: | Bug #48172 [Com]: configure: error: GD build test failed. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-243633@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=48172&edit=1
ID: 48172
Comment by: alexwriter2003 at gmail dot com
Reported by: frew dot robert at gmail dot com
Summary: configure: error: GD build test failed.
Status: No Feedback
Type: Bug
Package: GD related
Operating System: Linux
PHP Version: 5.3.0RC1
Block user comment: N
Private report: N
New Comment:
https://github.com/
Previous Comments:
------------------------------------------------------------------------
[2009-05-14 01:00:02] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-05-06 20:33:49] frew dot robert at gmail dot com
After process of elimination... here is what I have found:
Using this configure:
./configure --with-libdir=lib64 --disable-rpath --with-pear --with-curl=/usr/local/lib --with-gd
Gives me the GD build test failed error.
If I take out --disable-rpath. It compiles fine.
------------------------------------------------------------------------
[2009-05-06 20:03:03] jani@php.net
What was the full configure line you used?
------------------------------------------------------------------------
[2009-05-06 19:11:23] frew dot robert at gmail dot com
Description:
------------
Compile fails with GD enabled.
checking for GD support... yes
checking for the location of libjpeg... /usr
checking for the location of libpng... /usr
checking for the location of libXpm... /usr
checking for FreeType 2... /usr
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for FT_New_Face in -lfreetype... yes
configure: error: GD build test failed. Please check the config.log for details.
Expected result:
----------------
Error free compiling.
Actual result:
--------------
config.log
----------
configure:34852: checking for GD support
configure:34900: checking for the location of libjpeg
configure:34928: checking for the location of libpng
configure:34983: checking for the location of libXpm
configure:35009: checking for FreeType 2
configure:35035: checking for T1lib support
configure:35061: checking whether to enable truetype string function in GD
configure:35087: checking whether to enable JIS-mapped Japanese font support in GD
configure:35141: checking for fabsf
configure:35169: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib
-L/usr/local/lib64 conftest.c -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl
-lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5
configure:35153: warning: conflicting types for built-in function 'fabsf'
configure:35141: checking for floorf
configure:35169: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib
-L/usr/local/lib64 conftest.c -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl
-lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5
configure:35153: warning: conflicting types for built-in function 'floorf'
configure:35341: checking for jpeg_read_header in -ljpeg
configure:35360: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib
-L/usr/local/lib64 conftest.c -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5
-lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto
-ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5
configure:35642: checking for png_write_image in -lpng
configure:35661: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib
-L/usr/local/lib64 -lz conftest.c -lpng -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt
-lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5
configure:36041: checking for XpmFreeXpmImage in -lXpm
configure:36060: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib
-L/usr/local/lib64 -lX11 conftest.c -lXpm -lpng -lz -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2
-lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl
-lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5
configure:36435: checking for FT_New_Face in -lfreetype
configure:36454: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib
-L/usr/local/lib64 conftest.c -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lcurl -lz -lpcre -lm -ldl
-lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn
-lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5
configure:42874: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib
-L/usr/local/lib64 conftest.c -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lcurl -lz -lpcre -lm -ldl
-lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn
-lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5
configure: failed program was:
#line 42863 "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=48172&edit=1