Re: [Dovecot] Antispam plugin, compile under Solaris

2008-07-17 Thread Martijn de Munnik
On Jul 16, 2008, at 6:54 PM, Johannes Berg wrote: [please trim your quotes] On Wed, 2008-07-16 at 18:50 +0200, Martijn de Munnik wrote: I've found a mkdtemp.c in http://www.r-project.org/ which seems to do the same as the one in libc. Is it possible to use that? probably. Just add a lines

Re: [Dovecot] Antispam plugin, compile under Solaris

2008-07-17 Thread Martijn de Munnik
On Jul 16, 2008, at 5:58 PM, Johannes Berg wrote: On Wed, 2008-07-16 at 17:45 +0200, Martijn de Munnik wrote: I fixed the problem with the header files and antispam compiles succesful. But when I try to start dovecot with the antispam plugin I get this error; ILoading modules from directory:

Re: [Dovecot] Antispam plugin, compile under Solaris

2008-07-17 Thread Martijn de Munnik
On Jul 11, 2008, at 9:10 AM, Johannes Berg wrote: DOVECOT=/opt/csw/include/dovecot "antispam-plugin.h", line 4: cannot find include file: "lib.h" "antispam-plugin.h", line 5: cannot find include file: "str.h" "antispam-plugin.h", line 6: cannot find include file: "client.h" "antispam-plugi

Re: [Dovecot] Antispam plugin, compile under Solaris

2008-07-16 Thread Johannes Berg
[please trim your quotes] On Wed, 2008-07-16 at 18:50 +0200, Martijn de Munnik wrote: > I've found a mkdtemp.c in http://www.r-project.org/ which seems to do > the same as the one in libc. Is it possible to use that? probably. Just add a lines objs += mdtemp.c in the Makefile somewhere aroun

Re: [Dovecot] Antispam plugin, compile under Solaris

2008-07-16 Thread Johannes Berg
On Wed, 2008-07-16 at 17:45 +0200, Martijn de Munnik wrote: > I fixed the problem with the header files and antispam compiles > succesful. But when I try to start dovecot with the antispam plugin I > get this error; > > ILoading modules from directory: /opt/csw/lib/dovecot/imap > Edlopen(/o

Re: [Dovecot] Antispam plugin, compile under Solaris

2008-07-11 Thread Johannes Berg
> DOVECOT=/opt/csw/include/dovecot > "antispam-plugin.h", line 4: cannot find include file: "lib.h" > "antispam-plugin.h", line 5: cannot find include file: "str.h" > "antispam-plugin.h", line 6: cannot find include file: "client.h" > "antispam-plugin.h", line 7: cannot find include file: "ostrea