dovecot port not compiling with mysql support
Martin Hudec
corwin at aeternal.net
Mon Sep 25 21:44:29 PDT 2006
Hello all,
as I am experiencing serious performance degradation while using dovecot
(extremely high cpu usage), I've tried to recompile it without kqueue
support as it seems to be the root cause (this issue is being solved in
dovecot maillist), but I am getting error while wanting to compile with
MySQL support in driver-mysql.c (please see below for more information).
Is there someone experiencing the same issue? Or should I file pr?
thanks,
Martin Hudec
RELEVANT INFORMATION
====================
1.) config options
MySQL support enabled, kqueue support disabled.
2.) output from make all
...
Making all in lib-sql
if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib
-I/usr/local/include/mysql -I/usr/local/include -std=gnu99 -O2
-fno-strict-aliasing -pipe -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -MT driver-mysql.o -MD -MP -MF
".deps/driver-mysql.Tpo" -c -o driver-mysql.o driver-mysql.c; then mv
-f ".deps/driver-mysql.Tpo" ".deps/driver-mysql.Po"; else rm -f
".deps/driver-mysql.Tpo"; exit 1; fi
driver-mysql.c: In function `driver_mysql_parse_connect_string':
driver-mysql.c:234: error: `ulong' undeclared (first use in this function)
driver-mysql.c:234: error: (Each undeclared identifier is reported only once
driver-mysql.c:234: error: for each function it appears in.)
driver-mysql.c:234: error: syntax error before numeric constant
*** Error code 1
Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7/src/lib-sql.
*** Error code 1
Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7/src.
*** Error code 1
Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7.
*** Error code 1
Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7.
*** Error code 1
...
More information about the freebsd-questions
mailing list