compiling php to use imagettftext

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



been fighting this for a while but can find no definitave docs that say how exactly and with 
what options are needed to enable this..

Here is what Im using for my config

./configure -v --with-oci8=/apps/oracle  --with-apxs=/local/apache-1333/bin/apxs 
--with-gd=/local/stuff --with-mysql=/local/stuff --with-curl --with-imap=/local/jason/imap-2002d 
--with-config-file-path=/local/apache/libexec --enable-bcmath --enable-calendar --with-zlib 
--with-dom --with-db4=/local/stuff --with-dba --with-gettext --with-iconv 
--with-mcrypt=/local/stuff --with-openssl=/local/stuff  --with-mcal=/local/jason/libmcal 
--with-curl=/local/stuff --with-jpeg-dir=/local/stuff --with-png-dir=/local/stuff 
--with-ldap=/local/stuff --enable-gd-native-ttf --with-ttf=/local/stuff 
--with-xpm-dir=/local/stuff/X11


and im using 
freetype-2.1.10 gd-2.0.33
but cannot get it working..
Heres what the libphp.so looks like

[jason@481]$ ldd libphp4.so
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libmcal.so =>    /local/jason/libmcal/libmcal.so
        libmysqlclient.so.10 =>  /local/stuff/lib/mysql/libmysqlclient.so.10
        libmcrypt.so.4 =>        /local/stuff/lib/libmcrypt.so.4
        libltdl.so.3 =>  /local/stuff/lib/libltdl.so.3
        libldap-2.3.so.0 =>      /local/stuff/lib/libldap-2.3.so.0
        liblber-2.3.so.0 =>      /local/stuff/lib/liblber-2.3.so.0
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libintl.so.1 =>  /usr/lib/libintl.so.1
        libgd.so.2 =>    /local/stuff/lib/libgd.so.2
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libXpm.so.4.11 =>        /local/stuff/X11/lib/libXpm.so.4.11
        libpng.so.3 =>   /local/stuff/lib/libpng.so.3
        libz.so =>       /local/stuff/lib/libz.so
        libjpeg.so.62 =>         /local/stuff/lib/libjpeg.so.62
        libdb-4.3.so =>  /local/stuff/lib/libdb-4.3.so
        libssl.so.0.9.7 =>       /local/stuff/lib/libssl.so.0.9.7
        libcrypto.so.0.9.7 =>    /local/stuff/lib/libcrypto.so.0.9.7
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libcurl.so.3 =>  /local/stuff/lib/libcurl.so.3
        libxml2.so.2 =>  /usr/lib/libxml2.so.2
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libsched.so.1 =>         /usr/lib/libsched.so.1
        libclntsh.so.8.0 =>      /apps/oracle/lib/libclntsh.so.8.0
        libc.so.1 =>     /usr/lib/libc.so.1
        libz.so.1 =>     /usr/lib/libz.so.1
        /opt/local/gcc/3.4.2/lib/libgcc_s.so.1
        libcmd.so.1 =>   /usr/lib/libcmd.so.1
        libfreetype.so.6 =>      /local/stuff/lib/libfreetype.so.6
        libpng12.so.0 =>         /local/stuff/lib/libpng12.so.0
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        librt.so.1 =>    /usr/lib/librt.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libwtc8.so =>    /apps/oracle-8.1.7/lib/libwtc8.so
        libaio.so.1 =>   /usr/lib/libaio.so.1
        /usr/platform/SUNW,UltraAX-e2/lib/libc_psr.so.1
        libthread.so.1 =>        /usr/lib/libthread.so.1

but looking at the 
PHPinfo page, under GD section, it says 
GD Support 	enabled
GD Version 	2.0 or higher
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled

shouldnt it say something about freetype being enabled if done right?

Jason

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux