Problem Recompiling for GD Support
| From: | Gabriel Richards | Date: | Fri, 14 Dec 2001 01:40:20 +0000 |
| Subject: | Problem Recompiling for GD Support | ||
| Groups: | php.general php.install | ||
| Request: | Send a blank email to php-general+get-77689@lists.php.net to get a copy of this message | ||
Hi, I'm trying to recompile PHP to include GD and PDFLib support. So, I've
installed those libraries (as well as zlib, libjpeg, libtiff, libpng),
deleted config.cache, then ran :
./configure --with-apxs=/usr/local/apache/bin/apxs --with-openssl --enable-f
tp --with-gd=shared -with-mysql=/usr --with-pdflib --with-jpeg-dir=/usr/loca
l --with-tiff-dir=/usr/local
with no problem, then ran:
make install and got:
gd.c:95: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
Error 1 ....
Previously, I had not compiled PHP --with-apxs, I did it as a static module,
I don't know if that matters. Can someone help with this problem?
One other question. If I'm recompiling PHP, do I need to specify all
the --withs and --enables I did previously, or will it remember for me?
Thanks!
Gabe
-----
Ender Technology
Websites, Database Applications, Hosting
(310) 516-7411
grichards@endertechnology.com
http://www.endertechnology.com/