Trying to build maildrop 1.6.3 with mysql as an interface between Postfix 2.0.18 and my Maildirs but this fails with the following error. Running on OpenBSD 3.5. No other database support needed. Do I use the wrong conf to make as I also still see gdbm support enabled.

The MySQL deamon is running ... so why does is complain about mysql ?

Using the following conf.

./configure --datadir=${PREFIX}/share/doc \
--enable-sendmail=/usr/sbin/sendmail \
--enable-maildrop-gid=bin --enable-maildropmysql \
--disable-tempdir --enable-restricted-trusted=1 \
--enable-syslog=1 \
--enable-mysqlconfig=/etc/courier-imap/maildropmysql.config \
--with-etcdir=${SYSCONFDIR} \
--enable-maildirquota --enable-userdb


Was able to build 1.5.3 with above conf but this got signal 0x0B when using.



%SNIP%
Compiling mdmysql.c
mdmysql.c:10: mysql/mysql.h: No such file or directory
mdmysql.c:11: mysql/errmsg.h: No such file or directory
mdmysql.c: In function `get_user_mysql':
mdmysql.c:17: syntax error before `mysql_buf'
mdmysql.c:18: `MYSQL_RES' undeclared (first use in this function)
mdmysql.c:18: (Each undeclared identifier is reported only once
mdmysql.c:18: for each function it appears in.)
mdmysql.c:18: `result' undeclared (first use in this function)
mdmysql.c:18: warning: statement with no effect
mdmysql.c:19: syntax error before `row'
mdmysql.c:32: `mysql' undeclared (first use in this function)
mdmysql.c:32: warning: implicit declaration of function `mysql_connect'
mdmysql.c:32: `mysql_buf' undeclared (first use in this function)
mdmysql.c:32: `server' undeclared (first use in this function)
mdmysql.c:32: `userid' undeclared (first use in this function)
mdmysql.c:32: `password' undeclared (first use in this function)
mdmysql.c:37: warning: implicit declaration of function `mysql_select_db'
mdmysql.c:39: warning: implicit declaration of function `mysql_close'
mdmysql.c:44: `querybuf_len' undeclared (first use in this function)
mdmysql.c:44: `query' undeclared (first use in this function)
mdmysql.c:49: `querybuf' undeclared (first use in this function)
mdmysql.c:64: warning: implicit declaration of function `mysql_query'
mdmysql.c:73: warning: implicit declaration of function `mysql_store_result'
mdmysql.c:79: `rec' undeclared (first use in this function)
mdmysql.c:81: warning: implicit declaration of function `mysql_num_rows'
mdmysql.c:83: warning: implicit declaration of function `mysql_free_result'
mdmysql.c:88: `row' undeclared (first use in this function)
mdmysql.c:88: warning: implicit declaration of function `mysql_fetch_row'
*** Error code 1

Stop in /usr/src/maildrop-1.6.3/maildrop.
*** Error code 1

Stop in /usr/src/maildrop-1.6.3 (line 548 of Makefile).
*** Error code 1

Stop in /usr/src/maildrop-1.6.3 (line 750 of Makefile).

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to