[pkg-kolab] Freebusy & Kolab 2.1 on debian

Gunnar Wrobel wrobel at pardus.de
Mon Mar 3 08:22:38 UTC 2008


"Eleni Postantzi" <lenapostantzi at gmail.com> writes:

> (cross-posting)
>
> hi mathieu,
>
> uw-imap patched without problem, rebuilt and installed
>
> however, php5 gives me some hard time :(
>
> I've tried both with 5.2.0 and 5.2.5 but i get the following errors when building :
>
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c:430: error: expected declaration specifiers or '...' before 'ANNOTATION'
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c: In function 'mail_getannotation':
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c:432: error: 'ANNOTATION_VALUES' undeclared (first use in this function)
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c:432: error: (Each undeclared identifier is reported only once
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c:432: error: for each function it appears in.)
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c:432: error: 'cur' undeclared (first use in this function)
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c:438: error: 'alist' undeclared (first use in this function)
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c: In function 'zif_imap_set_quota':
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c:1061: warning: pointer targets in assignment differ in signedness
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c: In function 'zif_imap_setannotation':
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c:1147: error: 'ANNOTATION' undeclared (first use in this function)
> /home/eleni/php5-5.2.5/ext/imap/php_imap.c:1147: error: 'annotation' undeclared (first use in this function)
> ...
> make[1]: *** [ext/imap/php_imap.lo] Erreur 1
> make[1]: quittant le répertoire « /home/eleni/php5-5.2.5/apache2-build »
> make: *** [build-apache2-stamp] Erreur 2

You PHP is not picking up the patched c-client library. If you
correctly patched uw-imap, these values should be defined there:

http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/imap/c-client-2006k/c-client-2006k_KOLAB_Annotations.patch?rev=1.1&content-type=text/vnd.viewcvs-markup

(see the patch section for "src/c-client/mail.h")

Cheers,

Gunnar

>
> any ideas?
>
> thx,
>
> eleni
>
> On Thu, Feb 28, 2008 at 3:46 AM, Eleni Postantzi
> <lenapostantzi at gmail.com> wrote:
>>
>> Hi all,
>>
>> Back from the start, I installed this time kolabd 2.1.0-20070510.dfsg-2 with
>> libkolab-perl 5.8.7-20070420-2
>> kolab-webadmin 2.1.0-20070510-2
>> kolab-resource-handlers 2.1.0-20070510-2
>>
>> this new instal fixes the delegation issue :)
>>
>> However, now it seems that freebusy is broken :(
>>
>> when going on
>> https://myserver.mydomain.ortg/freebusy/trigger/myuser@mydomain.org/Calendar.pfb
>>
>> I get the following errors
>>
>>
>> Fatal error: Call to undefined function: imap_getannotation() in
>> /usr/share/php/freebusy/freebusy.class.php on line 115
>> Fatal error: Call to undefined function: imap_status_current() in
>> /usr/share/php/freebusy/freebusy.class.php on line 167
>>
>> After googling a little bit, I found the following patch "get/set annotation
>> patch"
>> http://wiki.kolab.org/index.php/Kolab-major-app-patches
>> http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/php/
>>
>> However, i tried to apply it but unfortunately when i build php i get some
>> errors on php_imap.c
>>
> The patches are here :
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456591,
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456947
>
> You have to patch uw-imap and php5. I'm not sure they apply to current
> unstable versions, post there if you have problems.
>
>> php version is 5.2.0-8+etch10 on debian 2.6.18.4-amd64
>>
>> any ideas?
>>
>> thx ;)
>> eleni
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users

-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   >> Mail at ease - Rent a kolab groupware server at p at rdus <<                 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the pkg-kolab-devel mailing list