ID: 41555 User updated by: genetiq at gmail dot com Reported By: genetiq at gmail dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: MacOS X 10.4.9 PHP Version: 5.2.3 New Comment:
sure. running this: ./configure --disable-all --disable-cgi --with-gd ------ configure running ------ ... ... checking for the location of libXpm... no checking for FreeType 1.x support... no checking for FreeType 2... no checking for T1lib support... no checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... yes checking for floorf... yes If configure fails try --with-jpeg-dir=<DIR> checking for png_write_image in -lpng... yes If configure fails try --with-xpm-dir=<DIR> If configure fails try --with-freetype-dir=<DIR> configure: error: GD build test failed. Please check the config.log for details. ------ configure stopped ------ ------ config.log -------- configure:34272: checking for FreeType 1.x support configure:34297: checking for FreeType 2 configure:34322: checking for T1lib support configure:34347: checking whether to enable truetype string function in GD configure:34372: checking whether to enable JIS-mapped Japanese font support in GD configure:34428: checking for fabsf configure:34456: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c - lm 1>&5 configure:34440: warning: conflicting types for built-in function 'fabsf' configure:34428: checking for floorf configure:34456: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c - lm 1>&5 configure:34440: warning: conflicting types for built-in function 'floorf' configure:34926: checking for png_write_image in -lpng configure:34945: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/local/ lib -L/usr/local/lib -lz conftest.c -lpng -lm 1>&5 configure:42434: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/ local/lib -L/usr/local/lib conftest.c -L -lpng -lz -lm 1>&5 /usr/bin/ld: -L: directory name missing collect2: ld returned 1 exit status configure: failed program was: #line 42423 "configure" #include "confdefs.h" char foobar () {} char foobar(); int main() { foobar(); return 0; } ----- end of config.log -------- that's all i get Previous Comments: ------------------------------------------------------------------------ [2007-06-01 21:04:29] [EMAIL PROTECTED] The exact error with the configure line I asked you to use, please.. ------------------------------------------------------------------------ [2007-06-01 21:03:49] genetiq at gmail dot com imho, it's a bug in build scripts, because when i delete 5.2.3 sources (make clean, make distclean and rm -rf for sources directory) and then creating a new directory with 5.2.2 sources, i can compile them easily. but with 5.2.3 sources it doesn't work p.s. I'm using apache 2.2.4, if it matters for you... ------------------------------------------------------------------------ [2007-06-01 21:03:02] [EMAIL PROTECTED] Can you please paste the exact error you get. It can not be same since most of the stuff is disabled! ------------------------------------------------------------------------ [2007-06-01 20:53:45] genetiq at gmail dot com just tried it. same error. ------------------------------------------------------------------------ [2007-06-01 20:42:06] [EMAIL PROTECTED] Just to be absolutely clear, try this (and exactly this!): # rm config.cache ; ./configure --disable-all --disable-cgi --with-gd ------------------------------------------------------------------------ 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/41555 -- Edit this bug report at http://bugs.php.net/?id=41555&edit=1