View Full Version : Error about GD
deserts
04-30-2006, 05:55 AM
Photo Watermark functional opened failures : the need to support PHP Translation gd jpeg freetype
Lack
FreeType Linkage:with freetype
deserts
04-30-2006, 06:01 AM
http://www.directadmin.com/forum/showthread.php?s=&threadid=13160
and£¬mrtg Installation has Error¡£
help£¡
deserts
04-30-2006, 06:04 AM
with da
http://yz01.5y6s.net/phpinfo.php
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
wihtout da
http://www.5y6s.com/phpinfo.php
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
deserts
04-30-2006, 06:08 AM
for freebsd 6.x
jlasman
04-30-2006, 09:00 AM
I've merged the two threads of the same name by the same poster into one in the Beta Testing | FreeBSD 6.x forum, as FreeBSD 6.x support is still in beta.
Have you searched these forums? I remember seeing some recent posts about GD, and perhaps you can find some information in prior posts.
Jeff
Chrysalis
04-30-2006, 09:35 AM
this happens in DA for freebsd 4.x and 5.x as well.
I posted the fix in another thread but it involves in installing the gd port which will install freetype support and then changing the path to gd in configure.php and recompiling php.
ballyn
05-01-2006, 07:59 AM
DA specifically builds GD without freetype since not all machines have the freetype-devel stuff installed.
If you want to install php with freetype support in GD:
1) Make sure you have freetype and freetype-devel installed
2) Edit the build script, remove the "--without-freetype" from the configure command in the doGD function (around line 1042)
3) rebuild php, and choose yes when it asks you to rebuild GD
deserts
05-01-2006, 08:25 PM
ok,i try it
dennisc
05-23-2006, 07:32 AM
cd /usr/ports/print/freetype ; make install clean
cd /usr/local/directadmin/customapache
vi build
#./configure --with-png=/usr/local --with-jpeg=/usr/local --without-freetype --without-x
./configure --with-png=/usr/local --with-jpeg=/usr/local -with-freetype=/usr/local --without-x
vi configure.php_ap2
--with-ttf=/usr/lib \
--enable-gd-native-ttf \
--with-freetype-dir=/usr/local/lib
./build clean ; ./build php_ap2 y
Cheers!
TheBear
01-16-2007, 11:06 AM
Originally posted by dennisc
cd /usr/ports/print/freetype ; make install clean
cd /usr/local/directadmin/customapache
vi build
#./configure --with-png=/usr/local --with-jpeg=/usr/local --without-freetype --without-x
./configure --with-png=/usr/local --with-jpeg=/usr/local -with-freetype=/usr/local --without-x
vi configure.php_ap2
--with-ttf=/usr/lib \
--enable-gd-native-ttf \
--with-freetype-dir=/usr/local/lib
./build clean ; ./build php_ap2 y
Cheers!
I have tried these steps as well, and still get errors about zlib :(
checking for jpeg_read_header in -ljpeg... yes
configure: error: PNG support requires ZLIB. Use --with-zlib-dir=<DIR>
/usr/local/directadmin/customapache/configure.php: line 12: --with-kerberos: command not found
Any other suggestions?
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.