ID: 34722 Updated by: [EMAIL PROTECTED] Reported By: voidvoidpointer at yahoo dot com -Status: Open +Status: Wont fix Bug Type: GD related Operating System: Fedora Core 2 x86_64 PHP Version: 5.0.5 New Comment:
PHP supports 64-bit OSes correctly starting from 5.1. We won't backport it to 4.4.x and 5.0.x, since they are bugfix-only branches. And 4.3.x branch is officially dead and replaced by 4.4.x. Previous Comments: ------------------------------------------------------------------------ [2005-10-04 14:20:35] voidvoidpointer at yahoo dot com sniper's suggestion with php-5.1.0RC1 when evolved through configure's "hints": ./configure --with-libdir=lib64 --with-gd --with- zlib=/usr --with-xmlrpc Congratulations, for php-5.1.0RC1, that generates a Makefile, but what is the fix for php-4.4.0 or even php -4.3.11? ------------------------------------------------------------------------ [2005-10-04 14:09:04] [EMAIL PROTECTED] So did you try to use --with-zlib-dir=<DIR> ? Does it work for you? ------------------------------------------------------------------------ [2005-10-04 13:59:32] voidvoidpointer at yahoo dot com sniper suggested: ./configure --with-libdir=lib64 --with-gd . Is it not the function of the configure script to blur the differences between systems to aid installation by avoiding the tweaking of makefiles? The current state of php's configure with the GD extension requires tweaking of configure's options before the Makefile is even generated. That's a return to the days of makefiles without configure to generate them. sniper's suggestion along with snapshot php5 -200510041030 produced: + echo 'If configure fails try --with-jpeg-dir=<DIR>' If configure fails try --with-jpeg-dir=<DIR> + test yes '!=' no + test -f yes/lib64/libpng.so -o -f yes/lib64/libpng.a + test -f /usr/local/lib64/libpng.so -o -f /usr/local/ lib64/libpng.a + test -f /usr/lib64/libpng.so -o -f /usr/lib64/libpng.a + GD_PNG_DIR=/usr + break + test -z /usr + test no = no + echo 'configure: error: PNG support requires ZLIB. Use --with-zlib-dir=<DIR>' configure: error: PNG support requires ZLIB. Use --with- zlib-dir=<DIR> + exit 1 ------------------------------------------------------------------------ [2005-10-04 08:26:34] [EMAIL PROTECTED] Latest CVS (php5.1) works fine for me. You're doing something wrong. (propably not passing --with-libdir=lib64 to configure) ------------------------------------------------------------------------ [2005-10-04 02:16:47] voidvoidpointer at yahoo dot com I brought down the snapshot and tried to run configure. The configure script failed and did not generate a Makefile. For details of exactly how it failed, please refer to my initial post. Did you tell me to try the snapshot because you knew that a change was made to the GD extension's configuration files? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34722 -- Edit this bug report at http://bugs.php.net/?id=34722&edit=1