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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

--

Jim Barcelona mailto:[EMAIL PROTECTED]
+39 3484 22 56 77 -- better living through php




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to