Re: [PHP4BETA] Problems installing freetype support
| From: | Hans-Peter Straub | Date: | Tue, 17 Aug 1999 18:41:17 +0000 |
| Subject: | Re: [PHP4BETA] Problems installing freetype support | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3514@lists.php.net to get a copy of this message | ||
Ken Mugrage wrote:
> I'm trying to install PHP4.0b2 (have also tried the latest CVS) with GD 1.3
> and Freetype 1.2. The configure script seems to find all relative headers
> and libraries. php_config.h also indicates that everything was found.
> Compile goes without any problems or errors, but the finished apache binary
> does not have freetype support.
>
> Thanks in advance,
>
> Ken
>
> Configure:
> ./configure --with-mysql --with-apache=../apache_1.3.6 --with-gd --with-ttf
> --enable-track-vars
>
> [root@merlyn apache_1.3.6]# whereis libgd.a
> libgd: /usr/lib/libgd.so /usr/local/lib/libgd.a
>
> [root@merlyn apache_1.3.6]# whereis libttf.a
> libttf: /usr/local/lib/libttf.so /usr/local/lib/libttf.la
>
> [root@merlyn apache_1.3.6]# find / -name freetype.h
> /usr/local/include/freetype.h
>
> >From php_config.h
>
> /* Define if you have the gd library (-lgd). */
> #define HAVE_LIBGD 1
>
> /* Define if you have the gd version 1.3 library (-lgd). */
> #define HAVE_LIBGD13 1
>
> /* #undef FREETYPE_4BIT_ANTIALIAS_HACK */
> /* #undef HAVE_LIBFREETYPE */
> #define HAVE_LIBTTF 1
>
Add
#define ENABLE_GD_TTF 1
to php_config.h
and look in the bugs database
--
-------------------------------*
GKS I-NetPartner GmbH
Hans-Peter Straub
Seewiesenstrasse 12
D-73054 Eislingen
--
Phone: +49 7161 9849955
Fax: +49 7161 9849956
--
eMail: straub@i-netpartner.de
Web: http://www.i-netpartner.de
-------------------------------*
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s