Re: Problem with installing GD
| From: | Jim Barcelona | Date: | Tue, 20 Nov 2001 19:11:11 +0000 |
| Subject: | Re: Problem with installing GD | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5045@lists.php.net to get a copy of this message | ||
Hello amiroot -
In the future please be sure to read ./configure --help which says:
--with-gd=DIR Include GD support (DIR is GD's install dir)
For me this is:
./configure --with-gd=/usr/local/src/gd-1.8.4
For you, it is whatever directory in which you configured and compiled GD.
Amiroot wrote:
> 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
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Jim Barcelona mailto:jim.barcelona@maguma.com
+39 3484 22 56 77 -- better living through php