ID: 14553 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: GD related Operating System: linux suse 7.1 PHP Version: 4.1.0 New Comment:
ops and another cuestion.. why did not it fail the "./configure" command? Previous Comments: ------------------------------------------------------------------------ [2001-12-16 19:07:10] [EMAIL PROTECTED] What it is the need of X11 for GD??? I didn't need for install the other version of php. I did not need for install the rpm GD. ???? ------------------------------------------------------------------------ [2001-12-16 18:11:18] [EMAIL PROTECTED] > Ok, i want said that the machin is a server a not have X, but it have x11 librarys. Obviousl it has not or it is misconfigured. Please ask support questions at [EMAIL PROTECTED] Bogusifying. ------------------------------------------------------------------------ [2001-12-16 18:07:24] [EMAIL PROTECTED] ok, fist compile php 4.1.0 ok with this command line: './configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' '--with-imap=/programas/imap-2001a/' '--with-ftp' '--with-gettext' It 's runing well, but.... i am going to compile php 4.1.0 with GD support. remove the old directory a make another gunzip for all. ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-imap=/programas/imap-2001a/ --with-ftp --with-gettext --with-gd there is a error. i install the library of gd, gd-1.8.3 System Environment/Libraries An autoloadable interface module for libgd gd-devel-1.8.3 System Environment/Libraries An autoloadable interface module for libgd-devel ok. i going to configure the php, some of config out. some is cached, but the no cached version is same. checking whether to include GD support... yes checking whether to enable truetype string function in gd... no checking for the location of libjpeg... no If configure fails try --with-jpeg-dir=<DIR> checking for the location of libpng... no If configure fails try --with-png-dir=<DIR> and --with-zlib-dir=<DIR> checking for the location of libXpm... no If configure fails try --with-xpm-dir=<DIR> checking for freetype(2)... no If configure fails try --with-freetype-dir=<DIR> checking whether to include include FreeType 1.x support... no checking whether to include T1lib support... no checking for gdImageString16 in -lgd... yes checking for gdImagePaletteCopy in -lgd... yes checking for gdImageCreateFromPng in -lgd... yes checking for gdImageCreateFromGif in -lgd... no checking for gdImageGif in -lgd... no checking for gdImageWBMP in -lgd... yes checking for gdImageCreateFromJpeg in -lgd... yes checking for gdImageCreateFromXpm in -lgd... yes checking for gdImageCreateFromGd2 in -lgd... yes checking for gdImageCreateTrueColor in -lgd... no checking for gdImageSetTile in -lgd... yes checking for gdImageSetBrush in -lgd... yes checking for gdImageStringTTF in -lgd... yes checking for gdImageStringFT in -lgd... no checking for gdImageStringFTEx in -lgd... no checking for gdImageColorClosestHWB in -lgd... yes checking for gdImageColorResolve in -lgd... yes checking for gdImageGifCtx in -lgd... no checking whether to include GNU gettext support... yes his config.log zone.. configure:19304: checking whether to include GD support configure:19491: checking whether to enable truetype string function in gd configure:19544: checking for the location of libjpeg configure:19740: checking for the location of libpng configure:20034: checking for the location of libXpm configure:20323: checking for freetype(2) configure:20518: checking whether to include include FreeType 1.x support configure:20717: checking whether to include T1lib support configure:20977: checking for gdImageString16 in -lgd configure:20996: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21020: checking for gdImagePaletteCopy in -lgd configure:21039: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21063: checking for gdImageCreateFromPng in -lgd configure:21082: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21106: checking for gdImageCreateFromGif in -lgd configure:21125: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /tmp/ccVzH6zk.o: In function `main': /datos/programas/programacion/php-4.1.0/configure:21121: undefined reference to `gdImageCreateFromGif' collect2: ld returned 1 exit status configure: failed program was: #line 21114 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageCreateFromGif(); int main() { gdImageCreateFromGif() ; return 0; } configure:21149: checking for gdImageGif in -lgd configure:21168: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /tmp/ccBOCCiz.o: In function `main': /datos/programas/programacion/php-4.1.0/configure:21164: undefined reference to `gdImageGif' collect2: ld returned 1 exit status configure: failed program was: #line 21157 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageGif(); int main() { gdImageGif() ; return 0; } configure:21192: checking for gdImageWBMP in -lgd configure:21211: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21235: checking for gdImageCreateFromJpeg in -lgd configure:21254: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21278: checking for gdImageCreateFromXpm in -lgd configure:21297: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21321: checking for gdImageCreateFromGd2 in -lgd configure:21340: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21364: checking for gdImageCreateTrueColor in -lgd configure:21383: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /tmp/ccX1cei9.o: In function `main': /datos/programas/programacion/php-4.1.0/configure:21379: undefined reference to `gdImageCreateTrueColor' collect2: ld returned 1 exit status configure: failed program was: #line 21372 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageCreateTrueColor(); int main() { gdImageCreateTrueColor() ; return 0; } configure:21407: checking for gdImageSetTile in -lgd configure:21426: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21450: checking for gdImageSetBrush in -lgd configure:21469: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21493: checking for gdImageStringTTF in -lgd configure:21512: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21536: checking for gdImageStringFT in -lgd configure:21555: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /tmp/cczVGfbv.o: In function `main': /datos/programas/programacion/php-4.1.0/configure:21551: undefined reference to `gdImageStringFT' collect2: ld returned 1 exit status configure: failed program was: #line 21544 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageStringFT(); int main() { gdImageStringFT() ; return 0; } configure:21579: checking for gdImageStringFTEx in -lgd configure:21598: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /tmp/ccEUbKfN.o: In function `main': /datos/programas/programacion/php-4.1.0/configure:21594: undefined reference to `gdImageStringFTEx' collect2: ld returned 1 exit status configure: failed program was: #line 21587 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageStringFTEx(); int main() { gdImageStringFTEx() ; return 0; } configure:21622: checking for gdImageColorClosestHWB in -lgd configure:21641: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21665: checking for gdImageColorResolve in -lgd configure:21684: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 configure:21708: checking for gdImageGifCtx in -lgd configure:21727: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED conftest.c -lgd -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5 /tmp/ccGgSn55.o: In function `main': /datos/programas/programacion/php-4.1.0/configure:21723: undefined reference to `gdImageGifCtx' collect2: ld returned 1 exit status configure: failed program was: #line 21716 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageGifCtx(); int main() { gdImageGifCtx() ; return 0; } and his is the make line. /bin/sh /datos/programas/programacion/php-4.1.0/libtool --silent --mode=compile gcc -I. -I/datos/programas/programacion/php-4.1.0/ -I/datos/programas/programacion/php-4.1.0/main -I/datos/programas/programacion/php-4.1.0 -I/usr/local/apache/include -I/datos/programas/programacion/php-4.1.0/Zend -I/programas/imap-2001a//c-client -I/datos/programas/programacion/php-4.1.0/ext/mysql/libmysql -I/datos/programas/programacion/php-4.1.0/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED -I/datos/programas/programacion/php-4.1.0/TSRM -g -O2 -prefer-pic -c stub.c /bin/sh /datos/programas/programacion/php-4.1.0/libtool --silent --mode=link gcc -I. -I/datos/programas/programacion/php-4.1.0/ -I/datos/programas/programacion/php-4.1.0/main -I/datos/programas/programacion/php-4.1.0 -I/usr/local/apache/include -I/datos/programas/programacion/php-4.1.0/Zend -I/programas/imap-2001a//c-client -I/datos/programas/programacion/php-4.1.0/ext/mysql/libmysql -I/datos/programas/programacion/php-4.1.0/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED -I/datos/programas/programacion/php-4.1.0/TSRM -g -O2 -prefer-pic -o libphp4.la -rpath /datos/programas/programacion/php-4.1.0/libs -avoid-version -L/programas/imap-2001a//c-client -R /programas/imap-2001a//c-client stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/gd/libgd.la ext/gettext/libgettext.la ext/imap/libimap.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -lc-client -ldl -lcrypt -lpam -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt /usr/i486-suse-linux/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/datos/programas/programacion/php-4.1.0' make: *** [all-recursive] Error 1 . Ok, i want said that the machin is a server a not have X, but it have x11 librarys. xshared-4.0.2 X11 shared libs Can i send you more information, said me what? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14553&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]