Bonjour
depuis jeudi dernier, je n'arrive pas à compiler le php avec le support imap. j'ai téléchargé le php-4.4.4 et le c-client.tar.Z
j'ai d'abord installé le c-client comme suit:
tar -xvzf c-client.tar.Z(il m'a généré le repertoire imap-2006e)
cd imap-2006e
make slx
cd c-client
cp *.h /usr/local/download/imap-2006e/include
cp *.c /usr/local/download/imap-2006e/lib
cp c-client.a /usr/local/download/imap-2006e/lib/libc-client.a
ensuite j'ai compilé le php comme suit:
tar -xvzf php-4.4.4.tar.gz
cd php-4.4.4
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-openssl=/usr/local/ssl --with-zlib --with-bz2 --with-curl --with-gd --with-ldap=/usr/local/ldap --with-imap=/usr/local/download/imap-2006e --with-imap-ssl=/usr/local/download/imap-2006e --with-jpeg-dir=/usr/local/lib --with-gettext --with-kerberos --with-pic --with-zlib-dir --with-fam --with-flatfile --with-inifile --with-cdb --with-gdbm --with-mod_charset --with-curlwrappers --enable-ftp --enable-mbstring
NB: le ./configure marche bien
make (ça parcontre, ça me génère des erreurs ci dessous)
/usr/local/download/php-4.4.4/ext/imap/php_imap.c:74: error: conflicting types for 'utf8_mime2text'
/usr/local/download/imap-2006e/include/utf8aux.h:37: error: previous declaration of 'utf8_mime2text' was here
make: *** [ext/imap/php_imap.lo] Erreur 1
je vous prie de m'aider à trouver la solution. Merci d'avance!
Poste le Monday 26 February 2007 14:53:44