[imp] Re: Compiling PHP 4 with cyrus and imap support
Daniel Eckl
daniel.eckl at gmx.de
Tue Apr 19 09:42:43 PDT 2005
Am Dienstag, 19. April 2005 17:30 schrieb Olivier GONSON:
> 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
You don't need PHPs cyrus support for IMP to support cyrus. IMP doesn't use
any of these PHP cyrus functions, so it will work fine without.
Best,
Daniel
More information about the imp
mailing list