The following are the errors I am getting - quite lengthy.

Thanks


$ make
make  all-recursive
make[1]: Entering directory `/home/beauford/gd-2.0.33'
Making all in config
make[2]: Entering directory `/home/beauford/gd-2.0.33/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/beauford/gd-2.0.33/config'
Making all in test
make[2]: Entering directory `/home/beauford/gd-2.0.33/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/beauford/gd-2.0.33/test'
make[2]: Entering directory `/home/beauford/gd-2.0.33'
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/include/freetype2   -g -O2 -MT gdft.lo -MD -MP -MF ".deps/gdft.Tpo"
-c -o gdft.lo gdft.c; \
then mv -f ".deps/gdft.Tpo" ".deps/gdft.Plo"; else rm -f ".deps/gdft.Tpo";
exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -g -O2 -MT gdft.lo
-MD -MP -MF .deps/gdft.Tpo -c gdft.c  -fPIC -DPIC -o .libs/gdft.lo
gdft.c:1366:35: fontconfig/fontconfig.h: No such file or directory
gdft.c:1429: error: parse error before '*' token
gdft.c:1429: error: parse error before '*' token
gdft.c: In function `find_font':
gdft.c:1431: error: `FcResult' undeclared (first use in this function)
gdft.c:1431: error: (Each undeclared identifier is reported only once
gdft.c:1431: error: for each function it appears in.)
gdft.c:1431: error: parse error before "result"
gdft.c:1433: error: `pattern' undeclared (first use in this function)
gdft.c:1433: error: `FcMatchPattern' undeclared (first use in this function)
gdft.c:1434: error: `FcMatchFont' undeclared (first use in this function)
gdft.c:1437: error: `result' undeclared (first use in this function)
gdft.c:1437: warning: return makes pointer from integer without a cast
gdft.c: At top level:
gdft.c:1442: error: parse error before '*' token
gdft.c: In function `find_postscript_font':
gdft.c:1444: error: `FcPattern' undeclared (first use in this function)
gdft.c:1444: error: `font' undeclared (first use in this function)
gdft.c:1447: error: `fontpattern' undeclared (first use in this function)
gdft.c:1449: error: `fontname' undeclared (first use in this function)
gdft.c:1450: error: `FcChar8' undeclared (first use in this function)
gdft.c:1450: error: `family' undeclared (first use in this function)
gdft.c:1452: error: `pattern' undeclared (first use in this function)
gdft.c:1454: error: `FC_FAMILY' undeclared (first use in this function)
gdft.c:1454: error: `FcTypeString' undeclared (first use in this function)
gdft.c:1455: error: `FC_STYLE' undeclared (first use in this function)
gdft.c:1460: error: `FcResultMatch' undeclared (first use in this function)
gdft.c: In function `font_pattern':
gdft.c:1479: error: `FcPattern' undeclared (first use in this function)
gdft.c:1479: error: `font' undeclared (first use in this function)
gdft.c:1480: error: `FcChar8' undeclared (first use in this function)
gdft.c:1480: error: `file' undeclared (first use in this function)
gdft.c:1481: error: `pattern' undeclared (first use in this function)
gdft.c:1494: error: parse error before "FcChar8"
gdft.c:1501: error: `FC_FILE' undeclared (first use in this function)
gdft.c:1501: error: `FcResultMatch' undeclared (first use in this function)
make[2]: *** [gdft.lo] Error 1
make[2]: Leaving directory `/home/beauford/gd-2.0.33'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/beauford/gd-2.0.33'
make: *** [all] Error 2



-----Original Message-----
From: chris smith [mailto:[EMAIL PROTECTED] 
Sent: May 20, 2006 9:29 PM
To: Beauford
Cc: php-general@lists.php.net
Subject: Re: [PHP] Captcha v1.0
(http://www.php.meezerk.com/index.php?page=captcha)

On 5/21/06, Beauford <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to get a program, Captcha v1.0, working and not having 
> much luck. The program says I need PHP version 4.3.10 or later or PHP 
> version 5 and GD Library version 2.0 or later with JPEG support.
>
> I know I have PHP 5, but not sure about the GD Library. I was reading 
> on one page I was on that this is built in to PHP, but at this point 
> I'm lost. When I try to compile the latest version on my Slackware box 
> I get nothing but errors.
>
> Any help would be appreciated.

Help with which bit?

gd - create a phpinfo page and it will show you the version if gd is
available.

compile issues  - can't help without seeing the errors.

--
Postgresql & php tutorials
http://www.designmagick.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to