Received: from 211.39.138.92 (211.39.138.92) 
	at KTMAIL with ESMTP Hanmir
	by hanmir.com;Mon, 09 Feb 2004 11:02:46 +0900
X-MsgID: 1076292166397195145.11.hanmir
Message-ID: <1076292166397195145.11.hanmir@hanmir.com>
X-RECEIVED-IP: 216.92.131.4
Received: (qmail 83806 invoked by uid 1010); 9 Feb 2004 01:42:20 -0000
Mailing-List: contact php-general-help@lists.php.net; run by ezmlm
Precedence: bulk
list-help: <mailto:php-general-help@lists.php.net>
list-unsubscribe: <mailto:php-general-unsubscribe@lists.php.net>
list-post: <mailto:php-general@lists.php.net>
Delivered-To: mailing list php-general@lists.php.net
Received: (qmail 83793 invoked by uid 1010); 9 Feb 2004 01:42:20 -0000
Delivered-To: ezmlm-scan-php-general@lists.php.net
Delivered-To: ezmlm-php-general@lists.php.net
Date: Mon, 9 Feb 2004 02:42:17 +0100
From: Safran von Twesla <elektrik@gmx.net>
X-Mailer: The Bat! (v1.62 Christmas Edition) Personal
Reply-To: Safran von Twesla <php-general@lists.php.net>
Organization: Bimbo Visions
X-Priority: 3 (Normal)
Y-Message-ID: <19527393609.20040209024217@gmx.de>
To: php-general@lists.php.net
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: [PHP] compiling php5 with gd-support

Hi php-general,

I have continusously following error compiling php5 with gd-support:

ext/gd/gd.lo: In function `zm_deactivate_gd':
/usr/local/src/php-5.0.0b3/ext/gd/gd.c:445: undefined reference to `gdFreeFontCache'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Fehler 1


Here is my config.nice:

'./configure' \
'--disable-libxml' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--with-config-file-path=/usr/local/etc' \
'--enable-magic-quotes' \
'--with-bcmath' \
'--enable-exif' \
'--enable-shared=max' \
'--enable-rule=SHARED_CORE' \
'--with-mysql=/usr/local/mysql' \
'--with-gd=/usr/local/include' \
'--enable-gd-native-ttf' \
'--with-jpeg-dir=/usr/lib' \
'--with-png-dir=/usr/lib' \
'--with-zlib-dir=/usr/include' \


without gd, I can compile, and it works.

What I am also wondering is how I can disable freetype?
I tried --without-freetype or --disable-freetype but that doesn't
help. I have no freetype installed.

Other thing, is that I have set --with-gd=/usr/local/include, but I
had to put symbolic links to /usr/local/lib where the libgd.so and
libgd.a are (from install). There is no way to enter both directories...

And at last, why is the error related to
/usr/local/src/php-5.0.0b3/ext/gd/gd.c:445? I entered
/usr/local/include for gd and not the ext/gd/ directory?

I just newly installed gd, newest release.

I have Mandrake Linux 8.2.

I would really appreciate help ;-)

SvT

-- 
Who is the ennemy?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

