ID:               41185
 User updated by:  erwan dot loaec at gmail dot com
 Reported By:      erwan dot loaec at gmail dot com
-Status:           Feedback
+Status:           Closed
 Bug Type:         GD related
 Operating System: Debian Sarge (kernel 2.6.8-3)
 PHP Version:      5.2.1
 New Comment:

It works, thank you very much !

I don't know what to say... I'm a big idiot, obviously everyone should
try that before reporting a bug ^^

Thank you tony2001 !


Previous Comments:
------------------------------------------------------------------------

[2007-04-25 10:09:54] [EMAIL PROTECTED]

Try this:
make clean && ./config.nice && make

------------------------------------------------------------------------

[2007-04-25 10:03:16] erwan dot loaec at gmail dot com

Yes but actually it is. I've specified the "2.2" because i've tried
many version of freetype (2.3.4,2.2.1,2.1.10).

It's not the uncompressed directory (which is freetype-2.2.1 in that
case)

I can add that i've EXACTLY the same problem : no error during
configuration and compilation, with the libfreetype of my sarge
(freetype version 2.1.7-6)

I don't what the problem can be, i didn't found information neither in
config.log nor in the stdout/stderr of the ./configure. (see above for
the configure output)

------------------------------------------------------------------------

[2007-04-25 09:39:10] [EMAIL PROTECTED]

>/root/src/LIB/freetype2.2
This does not look like *installation prefix*.

------------------------------------------------------------------------

[2007-04-25 09:23:57] erwan dot loaec at gmail dot com

Description:
------------
I'm trying to install php 5.2.1 with apache 2.2.4.
I've no problem during configure and make. However GD does not support
FreeType.

checking for GD support... yes
checking for FreeType 2... /root/src/LIB/freetype2.2
checking whether to enable truetype string function in GD... yes

Reproduce code:
---------------
I've compiled freetype (try with both 2.1.10 and 2.2.1 ) with 
./configure --prefix=/root/src/LIB/freetype2.2 --enable-shared
--disable-static
I've also tried from package (.deb)

I've compiled php with
./configure \
--prefix=/opt/php-5.2.1 \
--enable-mbstring \
--enable-sockets \
--enable-memory-limit \
--with-apxs2=/opt/httpd-2.2.4/bin/apxs \
--with-mysql=/opt/mysql-5.0.37 \
--with-mcrypt \
--with-iconv \
--with-openssl \
--with-kerberos \
--with-zip \
--with-zlib \
--with-bz2 \
--with-ldap \
--with-snmp \
--with-pear \
--without-sqlite \
--disable-ipv6 \
--enable-gd-native-ttf \
--with-gd \
--with-png-dir=/root/src/LIB/libpng \
--with-freetype-dir=/root/src/LIB/freetype2.2

I've also tried with --with-ttf. Moreover i'm not able to support jpeg,
--with-png-dir produce no error, but does not add jpeg support.


Expected result:
----------------
I'm not able to obtain the following :

FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.X.X

Actual result:
--------------
actual phpinfos() output:

GD Support => enabled
GD Version => bundled (2.0.28 compatible)
GIF Read Support => enabled
GIF Create Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41185&edit=1

Reply via email to