#20031 [Fbk->NoF]: Compiling GD-library

From: Date: Mon, 11 Nov 2002 00:24:41 +0000
Subject: #20031 [Fbk->NoF]: Compiling GD-library
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24488@lists.php.net to get a copy of this message
ID: 20031 Updated by: sniper@php.net Reported By: mail@mettle.dk -Status: Feedback +Status: No Feedback Bug Type: GD related Operating System: Linux SUSE 8.0 PHP Version: 4.2.2 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2002-10-22 15:44:23] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-10-22 15:32:54] mail@mettle.dk Hi I was trying to compile PHP with the GD-library. I installed gd 2.0.2 and jpeg-6b. I configured php with ./configure --with-mysql --with-apxs --with-imap-ssl --with-jpeg-dir=/usr/local/lib --with-gd --with-zlib and during the compile I got the following error In file included from gd.c:36: php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows non-static gd.c:92: conflicting types for `gdIOCtx' /usr/include/gd_io.h:18: previous declaration of `gdIOCtx' I commented out line 92 in ext/gd/gd.c: "typedef FILE gdIOCtx;" Tried to compile again and got a similiar error. Removed line 69 in ext/gd/php_gd.h: "static int gdImageColorResolve(gdImagePtr, int, int, int);" Succeded in compiling PHP. But did I miss something very important??? Well... anyway... when I tried to start Apache, I got the following error: Syntax error on line 9 of /etc/httpd/suse_loadmodule.conf: Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/libgd.so: undefined symbol: FT_Init_FreeType failed What do I do? Please mail me at mail@mettle.dk ps.: I rune Apache v. 1.3.23 Best Regards Jørn Christensen Denmark ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20031&edit=1

« previous php.bugs (#24488) next »