Transmit Report:

 To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED])
--- Begin Message ---
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


--- End Message ---

Reply via email to