From: [EMAIL PROTECTED] Operating system: Linux Redhat 7.2 PHP version: 4CVS-2002-11-04 PHP Bug Type: Compile Failure Bug description: Unable to compile latest snapshot (gd-related + ssl problems)
Hi I'm getting errors related to gd library when compiling php4.3pre2 or latest snapshot available (Nov 3, 6am) With: ./configure --with-apache=../apache_1.3.27 --enable-trans-sid --with-jpeg-dir --with-gd=../gd-2.0.1 --with-tiff-dir --with-png-dir --with-zlib-dir --with-pdflib --enable-ftp --enable-gd-native-ttf --with-freetype-dir=/usr/include/freetype2 --with-mysql=/usr/local/mysql --with-gettext --with-imap --with-kerberos --enable-sysvsem --enable-sysvshm --with-xml --with-db --enable-bcmath --enable-calendar --with-imap-ssl 'make' outputs: ext/gd/gd.o: In function `zif_imagecreatetruecolor': /home/ovh/src/php4-200211030600/ext/gd/gd.c:631: undefined reference to `gdImageCreateTrueColor' ext/gd/gd.o: In function `zif_imagetruecolortopalette': /home/ovh/src/php4-200211030600/ext/gd/gd.c:652: undefined reference to `gdImageTrueColorToPalette' ext/gd/gd.o: In function `zif_imagesetthickness': /home/ovh/src/php4-200211030600/ext/gd/gd.c:710: undefined reference to `gdImageSetThickness' ext/gd/gd.o: In function `zif_imagefilledellipse': /home/ovh/src/php4-200211030600/ext/gd/gd.c:735: undefined reference to `gdImageFilledEllipse' ext/gd/gd.o: In function `zif_imagefilledarc': /home/ovh/src/php4-200211030600/ext/gd/gd.c:770: undefined reference to `gdImageFilledArc' ext/gd/gd.o: In function `zif_imagealphablending': /home/ovh/src/php4-200211030600/ext/gd/gd.c:789: undefined reference to `gdImageAlphaBlending' ext/gd/gd.o: In function `zif_imagecolorresolvealpha': /home/ovh/src/php4-200211030600/ext/gd/gd.c:835: undefined reference to `gdImageColorResolveAlpha' ext/gd/gd.o: In function `zif_imagecolorclosestalpha': /home/ovh/src/php4-200211030600/ext/gd/gd.c:857: undefined reference to `gdImageColorClosestAlpha' ext/gd/gd.o: In function `zif_imagecolorexactalpha': /home/ovh/src/php4-200211030600/ext/gd/gd.c:879: undefined reference to `gdImageColorExactAlpha' ext/gd/gd.o: In function `zif_imagecopyresampled': /home/ovh/src/php4-200211030600/ext/gd/gd.c:917: undefined reference to `gdImageCopyResampled' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Erreur 1 Now with --with-gd (no path submited), it seems to compile correctly bundled gd functions, but compilation ends with: /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/build/41512-i386/BUILD/imap-2000c/c-client/auth_ssl.c:153: the use of `tmpnam' is dangerous, better use `mkstemp' I think I must upgrade something but what ? Anyway, this message has been output without any ERROR or WARNING label from 'make'. Thank you for you help, my server is down for hours :( -- Edit bug report at http://bugs.php.net/?id=20246&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20246&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20246&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20246&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20246&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20246&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20246&r=support Expected behavior: http://bugs.php.net/fix.php?id=20246&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20246&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20246&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20246&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20246&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20246&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20246&r=isapi
