Problem with installing GD
| From: | Amiroot | Date: | Thu, 15 Nov 2001 04:11:20 +0000 |
| Subject: | Problem with installing GD | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4959@lists.php.net to get a copy of this message | ||
hihi all~
I've got a problem about compile the php module. I'd installed the apache
and php module with the packages. However, the default module does not
include the gd library. Then, I d/l the php source and recompile it with the
following options:
./configure --with-apxs=/usr/local/sbin/apxs --with-config-file-path=/usr/lo
cal/etc --enable-versioning --enable-ftp --enable-sockets --with-system-rege
x --disable-debug --enable-track-vars --with-cpdflib=/usr/local --with-jpeg-
dir=/usr/local --with-tiff-dir=/usr/local --with-gd=/usr/local --with-zlib -
-with-gdbm --with-mysql=/usr/local --prefix=/usr/local i386--freebsd4.4
It config properly. However, I can't compile and prompt that some varible in
"gd.c" is undefined. I'd installed the gd, libpng, zlib, freetype by
packages. I don't know what's wrong!!! However, if I get rid of
the --with-gd, it works fine.
Anyone can give me some idea????????????????? Thx a lot!!!!!!!!!!!!!!!
Rgds,
AMI