On Tue, Jun 01, 2010 at 08:31:55AM +0200, Martin Hochreiter wrote:
Am 2010-06-01 08:17, schrieb Simon Horman:
On Mon, May 31, 2010 at 01:24:41PM +0200, Martin
Hochreiter wrote:
Hi!
We are using perdition 1.17.1 on Centos 5.3 x64.
I tried to use the CentOS repo for updating to 1.18 but that version
dies immediately after a imap4 connect with "Exit 11" -
as we are using ldap as database I thing that is related to that patch
http://hg.vergenet.net/perdition/perdition/rev/28264fe9e31b
so I tried to compile perdition 1.18 manually.
That fails with:
-DHAVE_CONFIG_H -I. -I.. -DPERDITION_LIBDIR=\"/opt/perdition180/lib\"
-DPERDITION_SYSCONFDIR=\"/opt/perdition180/etc/perdition\"
-DPERDITION_LOCALSTATEDIR=\"/opt/perdition180/var\" -I/usr/include
-g -O2 -MT perdition.o -MD -MP -MF .deps/perdition.Tpo -c -o perdition.o
perdition.c
perdition.c: In function »main«:
perdition.c:547: Warning: Zuweisung erzeugt Zeiger von Ganzzahl ohne
Typkonvertierung
perdition.c:712: Fehler: expected expression before »else«
perdition.c:950: Fehler: expected expression before »else«
perdition.c:998: Fehler: expected expression before »else«
make[3]: *** [perdition.o] Fehler 1
make[3]: Leaving directory `/root/perdition-1.18/perdition'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/root/perdition-1.18/perdition'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/root/perdition-1.18'
make: *** [all] Fehler 2
Can somebody give me a hint please?
Strange. Are you sure that the source hasn't been mangled somehow?
How did you obtain the code?
Hello Simon!
Thank you for your reply!
Thats my source:
http://www.vergenet.net/linux/perdition/download/1.18/perdition-1.18.tar.gz
I tried the mentioned ldap patch and I got an error and I downloaded and
extracted the source
again and tried it without the ldap patch ... same problem.
May it be related to a CentOS 5.3 (64bit) problem?
Possibly. Could you send me a copy of your perdition.c file as
an attachment? Off-list is fine.
Or - another solution for us ... do you plan to
integrate the patch in
the CentOS RPMs?
(we use ldap as database and need the mailhost field ...)
Yes, but it may be faster for you to sort the build problem out.