#20246 [Opn->Bgs]: Unable to compile latest snapshot (gd-related + ssl problems)
| From: | iliaa@php.net | Date: | Mon, 04 Nov 2002 16:22:01 +0000 |
| Subject: | #20246 [Opn->Bgs]: Unable to compile latest snapshot (gd-related + ssl problems) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24053@lists.php.net to get a copy of this message | ||
ID: 20246
Updated by: iliaa@php.net
Reported By: bugsphp@yayel.com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux Redhat 7.2
PHP Version: 4CVS-2002-11-04
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Use --with-gd, this will compile PHP with bundled GD 2.0.4, which
contains a number of additions made by the PHP team.
The errors you are seeing are the result of the gd library not being
being in the path where the linker can find it.
Previous Comments:
------------------------------------------------------------------------
[2002-11-04 09:34:40] bugsphp@yayel.com
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 this bug report at http://bugs.php.net/?id=20246&edit=1