oops, ok, I was being stupid... forgot to do a make install on gd 2 ;( Mike ----- Original Message ----- From: "Mike" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Thursday, July 11, 2002 5:52 PM Subject: [PHP] Compile errors with php 4.2.1 and gd
> 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 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php