Compile errors with php 4.2.1 and gd
| From: | Mike | Date: | Thu, 11 Jul 2002 21:52:54 +0000 |
| Subject: | Compile errors with php 4.2.1 and gd | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107234@lists.php.net to get a copy of this message | ||
Hello,
I have followed all the directions on how to compile php and gd and all the
other stuff that needs to be complied for gd to work with php, but it will
not compile... it keeps failing to compile with the following errors :
gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecolorat':
gd.c:1626: structure has no member named `tpixels'
gmake[3]: *** [gd.lo] Error 1
can anyone give me a helping hand, with this?
the configure line that I have used is this:
./configure --with-vpopmail=/var/vpopmail/ --with-apxs=/usr/local/apache/bi
n/apxs --with-jpeg-dir=/usr/local --with-gd=/usr/local --with-png-dir=/usr/l
ocal --with-zlib-dir=shared --with-freetype-dir=/usr/local --enable-ftp
any help would be appreciated greatly,
Mike