[Kolab-devel] Compile error apache kolab 2

Andreas Hasenack andreas at conectiva.com.br
Fri Jul 29 14:57:43 CEST 2005


On Thu, Jul 28, 2005 at 11:07:44PM +0200, hansjuergen.riess at t-online.de wrote:
> Up to here the installation of Kolab worked. But with apache i got the
> following error message :
> 
> /kolab/bin/cc -Iext/imap/
> -I/kolab/RPM/TMP/apache-1.3.31/php-4.3.9/ext/imap/ -DPHP_ATOM_INC
> -I/kolab/RPM/TMP/apache-1.3.31/php-4.3.9/include
> -I/kolab/RPM/TMP/apache-1.3.31/php-4.3.9/main
> -I/kolab/RPM/TMP/apache-1.3.31/php-4.3.9
> -I/kolab/RPM/TMP/apache-1.3.31/php-4.3.9/Zend -I/kolab/include
> -I/kolab/include/libxml2 -I/kolab/include/imap
> -I/kolab/RPM/TMP/apache-1.3.31/php-4.3.9/ext/mbstring/mbregex
> -I/kolab/RPM/TMP/apache-1.3.31/php-4.3.9/ext/mbstring/libmbfl
> -I/kolab/RPM/TMP/apache-1.3.31/php-4.3.9/ext/mbstring/libmbfl/mbfl -O2
> -pipe -I/kolab/include -I/kolab/RPM/TMP/apache-1.3.31/php-4.3.9/TSRM
> -O2 -pipe -I/kolab/include -DEAPI -c
> /kolab/RPM/TMP/apache-1.3.31/php-4.3.9/ext/imap/php_imap.c -o
> ext/imap/php_imap.o && echo > ext/imap/php_imap.lo
> /kolab/RPM/TMP/apache-1.3.31/php-4.3.9/ext/imap/php_imap.c:408: error:
> parse error before "ANNOTATION"
> /kolab/RPM/TMP/apache-1.3.31/php-4.3.9/ext/imap/php_imap.c: In
> function
> `mail_getannotation':
> /kolab/RPM/TMP/apache-1.3.31/php-4.3.9/ext/imap/php_imap.c:410: error:
> `ANNOTATION_VALUES' undeclared (first use in this function)

You seem to be missing the annotation patch for the c-client library.
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/imapd/imapd.annotate.patch?rev=HEAD&content-type=text/vnd.viewcvs-markup

>From http://wiki.kolab.org/index.php/Kolab-major-app-patches:

There is an imap extension for adding "annotations" (eg. metadata)
to imap folders in the form of key/value pairs. The key is typically
something like /vendor/<vendorname>/<attributename>. Cyrus imapd only
supports a few special annotation keys for internal use (such as being
able to mark a folder for indexing etc.). The patch extends cyrus imapd
to allow any annotation. 

Impact:

    The annotation patch is critical to kolab. Without the patch, the
clients will not know which folder is for calender, tasks etc. 




More information about the devel mailing list