Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 06:44:24 +0200
From:      Martin Hudec <corwin@aeternal.net>
To:        'FreeBSD Questions' <freebsd-questions@freebsd.org>
Subject:   dovecot port not compiling with mysql support
Message-ID:  <4518B028.6000104@aeternal.net>

next in thread | raw e-mail | index | archive | help
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
...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4518B028.6000104>