#35111 [Opn->Bgs]: Compile fails for GD Library
| From: | sniper@php.net | Date: | Tue, 08 Nov 2005 19:12:57 +0000 |
| Subject: | #35111 [Opn->Bgs]: Compile fails for GD Library | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87873@lists.php.net to get a copy of this message | ||
ID: 35111
Updated by: sniper@php.net
Reported By: elik at hostforweb dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: CentOS 4.2 x86_64
PHP Version: 4.4.1
New Comment:
Nothing changed in ext/gd/config.m4 between 4.4.0 and 4.4.1 so it's
just your system that is broken. And we reserve the right to do what we
want, not what you want. Backporting all the 64bit work we've done in
PHP_5_1 branch isn't something we are going to do. Period.
Previous Comments:
------------------------------------------------------------------------
[2005-11-08 18:21:19] elik at hostforweb dot com
Greetings,
It is not bogus, and I have modified the configure script so it can
compile with PHP 4.4.x series. And I suggest you revisit this issue,
since you completely broke the system in 4.4.1, but it works fine with
4.4.0.
I am sure lot of people uses PHP 4.4.x on AMD64 bit systems and you
have a development box with AMD64 system which you can easily make the
changes to make it working. So have it backported so that people can
use it, since not everyone is jumping to PHP5 and you are making
yourself look bad in this issue.
------------------------------------------------------------------------
[2005-11-05 16:34:03] sniper@php.net
Like said before, the 64bit support is new to PHP 5.1.
It will NOT be backported.
------------------------------------------------------------------------
[2005-11-05 16:23:39] elik at hostforweb dot com
Description:
------------
Greetings,
It seems the bug came back in 4.4.1 that was not in 4.4.0 for
compiling the libjpeg, libpng into PHP dispite it been symblinked into
the /usr/lib from /usr/lib64.
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/X11R6
checking for FreeType 1.x support... yes
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... no
checking for floorf... no
checking for jpeg_read_header in -ljpeg... no
configure: error: Problem with libjpeg.(a|so). Please check config.log
for more information.
Directory Listing:
root@amd [/usr/lib]# ls -la libjpeg* libpng*
lrwxrwxrwx 1 root root 18 Nov 5 07:15 libjpeg.a ->
../lib64/libjpeg.a
lrwxrwxrwx 1 root root 19 Nov 5 07:15 libjpeg.la ->
../lib64/libjpeg.la*
lrwxrwxrwx 1 root root 19 Nov 5 07:15 libjpeg.so ->
../lib64/libjpeg.so*
lrwxrwxrwx 1 root root 22 Nov 5 07:22 libjpeg.so.62 ->
../lib64/libjpeg.so.62*
lrwxrwxrwx 1 root root 26 Nov 5 07:22 libjpeg.so.62.0.0 ->
../lib64/libjpeg.so.62.0.0*
lrwxrwxrwx 1 root root 19 Nov 5 07:49 libpng12.a ->
../lib64/libpng12.a
lrwxrwxrwx 1 root root 20 Nov 5 07:49 libpng12.so ->
../lib64/libpng12.so*
lrwxrwxrwx 1 root root 9 Nov 5 07:42 libpng12.so.0 -> libpng.so*
lrwxrwxrwx 1 root root 28 Nov 5 07:49 libpng12.so.0.1.2.7 ->
../lib64/libpng12.so.0.1.2.7*
lrwxrwxrwx 1 root root 17 Nov 5 07:16 libpng.a -> ../lib64/libpng.a
lrwxrwxrwx 1 root root 18 Nov 5 07:16 libpng.so ->
../lib64/libpng.so*
lrwxrwxrwx 1 root root 20 Nov 5 07:49 libpng.so.3 ->
../lib64/libpng.so.3*
lrwxrwxrwx 1 root root 26 Nov 5 07:49 libpng.so.3.1.2.7 ->
../lib64/libpng.so.3.1.2.7*
Reproduce code:
---------------
config.nice
LDFLAGS='-L/usr/X11R6/lib64 -lstdc++' \
'./configure' \
'--with-pic' \
'--with-prefix=/usr' \
'--with-xml' \
'--enable-bcmath' \
'--enable-calendar' \
'--with-curl' \
'--with-dom' \
'--enable-xslt' \
'--with-dom-xslt' \
'--with-dom-exslt' \
'--with-xslt-sablot' \
'--enable-exif' \
'--enable-ftp' \
'--with-gd' \
'--with-jpeg-dir=/usr' \
'--with-png-dir=/usr' \
'--with-xpm-dir=/usr/X11R6' \
'--with-gettext' \
'--with-imap' \
'--with-imap-ssl' \
'--with-kerberos' \
'--enable-mbstring' \
'--enable-mbstr-enc-trans' \
'--enable-mbregex' \
'--with-mcrypt' \
'--with-mhash' \
'--enable-magic-quotes' \
'--with-mysqli' \
'--with-openssl' \
'--enable-discard-path' \
'--enable-sockets' \
'--enable-track-vars' \
'--with-ttf' \
'--enable-gd-native-ttf' \
'--with-freetype-dir=/usr' \
'--enable-wddx' \
'--with-zip' \
'--with-zlib' \
'--with-bz2' \
'--enable-dba' \
'--with-flatfile' \
'--with-pspell' \
'--with-tsrm-pthreads' \
'--with-mm' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
"$@"
Expected result:
----------------
Expected the code to compile all the way.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35111&edit=1