Connecting Tech Pros Worldwide Help | Site Map

My "FreeType Support" compilation doesn't work

 
LinkBack Thread Tools Search this Thread
  #1  
Old June 29th, 2006, 04:05 PM
francescomoi@usa.com
Guest
 
Posts: n/a
Default My "FreeType Support" compilation doesn't work

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.


  #2  
Old June 29th, 2006, 04:55 PM
David Haynes
Guest
 
Posts: n/a
Default Re: My "FreeType Support" compilation doesn't work

francescomoi@usa.com wrote:[color=blue]
> 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.
>[/color]
--with-freetype_dir should point to the installed location of freetype2.
Unless you set --prefix, this would be /usr/local.

-david-

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.