archive : RPM :  Lealinux Forums The fastest message board... ever.
FORUM FERMÉ 
probleme installation php + gd2 + freetype
Envoyé par: erwin ()
Date: Tuesday 22 August 2006 12:54:46

Bonjour,

J'ai besoin d'installer php compiler avec gd2 et freetype, j'ai donc compiler php comme ceci :
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-xml --with-libxml --enable-xml --with-mysql --with-zlib-dir --with-gd --with-ttf --enable-exif --enable-gd-native-ttf --with-gettext --with-bz2 --with-png-dir=/usr --with-jpeg --with-jpeg-dir=/usr --with-png-dir=/usr

Losque je lance phpinfo(), j'ai bien gd 2.0.28 mais j'ai pas freetype :
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

J'ai besoin de ces libririe pour utiliser libchart et faire des graphiques.

Merci de votre aide

Options: RépondreCiter
Re: probleme installation php + gd2 + freetype
Envoyé par: lulublu ()
Date: Wednesday 30 August 2006 14:31:27

En installant la librairie freetype2 (j'ai telechargé un tar.gz, et compilé tout ça), puis en compilant php avec cette option --with-freetype-dir=/usr , j'obtient ça sur un phpinfo() :

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.10
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

Peut-être que ça peut t'aider.

Par contre, je n'arrive pas à activer le support jpeg pour GD, et j'en ai besoin. J'ai installé la librairie jpeg-6b, je compile php en indiquant le repertoire qu'il faut, et rien ne se passe.
Si quelqu'un a une idée, ça m'interesse.

Merci d'avance

Options: RépondreCiter


Désolé, vous n'avez pas la permission d'envoyer ou de répondre dans ce forum.
This forum powered by Phorum.