For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > June 2006 > My "FreeType Support" compilation doesn't work









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author My "FreeType Support" compilation doesn't work
francescomoi@usa.com

2006-06-29, 6:58 pm

Hi.

I compiled PHP by using:
--------------
'./configure' '--prefix=/usr/local/php'
'--with-apxs2=/usr/local/httpd/bin/apxs'
'--with-mysql=/usr/local/mysql'
'--with-curl=/usr/local/include/curl' '--with-gd=/usr/local/gd'
'--with-zlib-dir=/usr/local/zlib' '-with-jpeg-dir=/usr/local/jpeg-6b'
'--with-ttf=/usr/include/freetype2'
'--with-freetype-dir=/usr/include/freetype2'
make
make install
(apache reload)
---------------------

I think it's the right directory for '--with-freetype-dir', because:
[]# freetype-config --cflags
-I/usr/include/freetype2

But "FreeType Support" doesn't work (it doesn't appear on my phpinfo).

What am I doing wrong? Thank you very much.

David Haynes

2006-06-29, 6:58 pm

francescomoi@usa.com wrote:
> Hi.
>
> I compiled PHP by using:
> --------------
> './configure' '--prefix=/usr/local/php'
> '--with-apxs2=/usr/local/httpd/bin/apxs'
> '--with-mysql=/usr/local/mysql'
> '--with-curl=/usr/local/include/curl' '--with-gd=/usr/local/gd'
> '--with-zlib-dir=/usr/local/zlib' '-with-jpeg-dir=/usr/local/jpeg-6b'
> '--with-ttf=/usr/include/freetype2'
> '--with-freetype-dir=/usr/include/freetype2'
> make
> make install
> (apache reload)
> ---------------------
>
> I think it's the right directory for '--with-freetype-dir', because:
> []# freetype-config --cflags
> -I/usr/include/freetype2
>
> But "FreeType Support" doesn't work (it doesn't appear on my phpinfo).
>
> What am I doing wrong? Thank you very much.
>

--with-freetype_dir should point to the installed location of freetype2.
Unless you set --prefix, this would be /usr/local.

-david-

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com