System: FreeBSD 4.1
Install the gd-1.8.3 and libpng,jpeg6b with Sysinstall. Make sure you have libgd.so.* and libpng.so.* under the Usr/local/lib.
CD PATH_TO_PHP_SRC
./configure--with-mysql=/path_to_mysql
--with-apache=/path_to_apache_src
--with-gd=/usr/local, don't add lib here.
--with-png-dir=usr/local Ibid.
--enable-track-vars
--enable-discard-path
--disable-debug
Then everything goes as usual.
The West brother of the 3.4 is gd-1.7.0 do not know whether to support the wbmp you want, but I tried to 3.4 on the 4.1 CD add package also succeeded. The FreeBSD 4.0 is 1.8.0 GD.
I do not know why the downloaded GB library cannot make a dynamically linked thing. is not the time to add any parameters. I hope the expert pointing.
http://www.bkjia.com/PHPjc/629856.html www.bkjia.com true http://www.bkjia.com/PHPjc/629856.html techarticle System: FreeBSD 4.1 installs gd-1.8.3 and libpng,jpeg6b with Sysinstall. Make sure you have libgd.so.* and libpng.so.* CD path_to_php_src under Usr/local/lib./configure--with-mysql=/path_to_my ...