Reply to Re: [PHP] RHES 3 - PHP 5.0.x - freetype

Your name:

Reply:


Posted by Richard Lynch on 04/19/05 05:23

You may want to define "does not work" a bit more fully.

Does it crash PHP?

Generate error messages?

Not display the text?

Catch your computer on fire?

Post back to the list only -- I probably won't know the answer.

On Mon, April 18, 2005 5:52 am, Sasha Dolgy said:
> (this post has been made to php-install aswell)
>
> Hi Everyone. I'm having a little problem here. Was wondering if
> anyone else had encountered this. Currently I'm building PHP 5.0.4
> (issue is with .3 aswell) and it's being built on a RHES 3 update 3
> machine.
>
> The following freetype rpm's come installed on this deployment:
>
> freetype-2.1.4-4.0
> freetype-devel-2.1.4-4.0
>
> I can not get freetype to work with PHP unless i download the source,
> ./configure; make; make install ... was wondering what the differences
> would be between the RPM's noted above and a simple install. (The
> configure is located below)
>
> imagettftext($im, 20, 0, 10, 20, $black, "ARIAL.TTF",
> "Testing... Omega: Ω");
>
> When I compile my own freetype and install, and compile php against
> it, the above works. When I don't, the above does not work. I would
> really love to get this working with the supplied RHES RPM's. If
> anyone has any idea I sure would be interested!
>
> Thanks
>
>
> './configure' \
> '--with-apxs=/usr/local/apache/bin/apxs' \
> '--localstatedir=/var' \
> '--with-mysql' \
> '--enable-gd-native-ttf' \
> '--with-gd' \
> '--with-openssl=/usr/local/ssl' \
> '--with-imap=/usr/local/imap-2004a' \
> '--with-imap-ssl' \
> '--enable-embedded-mysqli' \
> '--with-java=/usr/java/jdk' \
> '--with-kerberos' \
> '--with-xml' \
> '--with-xpm' \
> '--with-bz2' \
> '--with-jpeg-dir=/usr/lib' \
> '--with-png-dir=/usr/lib' \
> '--with-ttf=/usr/lib' \
> '--with-freetype-dir=/usr/include/freetype2' \
> '--with-tiff-dir=/usr/lib' \
> '--with-zlib-dir=/usr/lib' \
> '--with-gettext' \
> '--enable-fastcgi' \
> '--disable-path-info-check' \
> '--disable-ipv6' \
> '--with-curl' \
> '--with-exif' \
> '--with-iconv' \
> '--with-ldap' \
> '--enable-mbstring' \
> '--with-mcrypt' \
> '--with-mhash' \
> "$@"
>
> --
> Sasha Dolgy
> sasha.dolgy@gmail.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Like Music?
http://l-i-e.com/artists.htm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация