[imp] Compiling PHP 4 with cyrus and imap support

Olivier GONSON olivier.gonson at univ-paris3.fr
Tue Apr 19 08:30:46 PDT 2005


I want to compile PHP4 with imap AND cyrus support (--with-imap --with-cyrus)
I completed the procedure given in the horde FAQ for compiling PHP with 
imap support (--with-imap)
But i want to use cyrus too, and when i'm trying to compile php with both 
support options, i obtain
the following error message :


/usr/local/src/webmail/imap-2004c1/lib/libc-client.a(osdep.o)(.text+0xc00): In
function `fatal':
/usr/local/src/webmail/imap-2004c1/c-client/ftl_unix.c:27: multiple definition
of `fatal'
ext/cyrus/cyrus.o(.text+0x1a4): first defined here
/usr/local/bin/ld: Warning: size of symbol `fatal' changed from 48 in ext/cyrus
/cyrus.o to 76 in /usr/local/src/webmail/imap-2004c1/lib/libc-client.a(osdep.o)
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


Do i have to compile PHP without cyrus support option and will cyrus work 
fine ?
or is there another solution i didn't think of ?



Olivier GONSON
Centre de Ressources Informatiques
Université Paris 3 Sorbonne Nouvelle



-- 
Ce message a été vérifié par MailScanner
pour des virus et rien de
suspect n'a été trouvé.



More information about the imp mailing list