ID: 20229 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Compile Failure Operating System: RedHat Linux 8.0 PHP Version: 4CVS-2002-11-03 New Comment:
hmmm... I need GD ;-/ Previous Comments: ------------------------------------------------------------------------ [2002-11-11 18:19:49] [EMAIL PROTECTED] Try drop the gd stuff out of your configure line and try again. (use fresh sources!) ------------------------------------------------------------------------ [2002-11-11 16:51:33] [EMAIL PROTECTED] [root@idave main]# grep -A25 'checking size of long long' /root/build/php4/config.log configure:45449: checking size of long long configure:45613: /usr/local/gcc2/bin/gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208112 -DUSE_HSREGEX -DEAPI -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/gd/lib -L/usr/local/gd/lib -Wl,-rpath,/usr/local/mcal/lib -L/usr/local/mcal/lib conftest.c -lmhash -lgmp -lgd -lfreetype -lpng -lz -ljpeg -lz -lgdbm -lcurl -lbz2 -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcrypt -lcurl -lz -lssl -lcrypto -ldl -lz -lxml2 -lz -lm >&5 /usr/local/lib/libgd.so: undefined reference to `XpmReadFileToXpmImage' collect2: ld returned 1 exit status configure:45616: $? = 1 configure: program exited with status 1 configure: failed program was: #line 45597 "configure" #include "confdefs.h" #include <stdio.h> #if HAVE_SYS_TYPES_H # include <sys/types.h> #endif #if HAVE_SYS_STAT_H # include <sys/stat.h> #endif #if STDC_HEADERS # include <stdlib.h> # include <stddef.h> #else # if HAVE_STDLIB_H # include <stdlib.h> # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H [root@idave main]# ------------------------------------------------------------------------ [2002-11-11 16:46:25] [EMAIL PROTECTED] Well - that's the error. Now the why: grep -A25 'checking size of long long' /root/build/php4/config.log ------------------------------------------------------------------------ [2002-11-11 16:11:07] [EMAIL PROTECTED] [root@idave main]# grep SIZEOF_LONG_LONG php_config.h #define SIZEOF_LONG_LONG [root@idave main]# ------------------------------------------------------------------------ [2002-11-11 15:51:55] [EMAIL PROTECTED] grep SIZEOF_LONG_LONG /root/build/php4/main/php_config.h should give you output. Let's first see that, then see if the patch is needed. ------------------------------------------------------------------------ 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/20229 -- Edit this bug report at http://bugs.php.net/?id=20229&edit=1