Re: My "FreeType Support" compilation doesn't work



francescomoi@xxxxxxx 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-

.



Relevant Pages

  • My "FreeType Support" compilation doesnt work
    ... make install ... But "FreeType Support" doesn't work (it doesn't appear on my phpinfo). ...
    (comp.lang.php)
  • Re: PHP Setup
    ... Next, PHP. ... Again smooth install. ... extension is in the extension directory. ... I create a file with phpinfo() ...
    (comp.lang.php)
  • Re: [SLE] How to configure php? Sessions & mysql support
    ... > Here is a snip from phpinfo() on my old box where the website is ... Most of the php packages do ... In my experience, you have to install ... of each server/virtual server ...
    (SuSE)
  • Re: Cannot Install mysql extension
    ... local testing server... ... I am no able to get the mysql extensions to install. ... would make sense to do a phpinfo() and send us the output.. ...
    (php.general)
  • configure/build question
    ... I am building PHP 4.3.4 on RH Linux 9.0. ... When I look at the output of phpinfo() for the ... I run the above configure command, run make, ... and then install, all apparently successful. ...
    (php.general)