

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
5 messages in net.sourceforge.lists.courier-maildrop[maildropl] Errs compiling Courier Ma...| From | Sent On | Attachments |
|---|---|---|
| rx-c...@wvfans.net | Feb 4, 2004 7:52 pm | |
| Arnaud Pignard | Feb 4, 2004 8:12 pm | |
| Devin Rubia | Feb 5, 2004 11:02 am | |
| Doc Walker | Feb 5, 2004 7:18 pm | |
| Devin Rubia | Feb 6, 2004 5:38 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [maildropl] Errs compiling Courier Maildrop w/MySQL support | Actions... |
|---|---|---|
| From: | rx-c...@wvfans.net (rx-c...@wvfans.net) | |
| Date: | Feb 4, 2004 7:52:39 pm | |
| List: | net.sourceforge.lists.courier-maildrop | |
I'm using the following software:
System: Mac OS X 10.3 (7B85) Kernel: Darwin 7.0.0 MySQL 4.0.13 Perl 5.8.1 PCRE 4.3 Postfix 2.0.16 Courier-IMAP 2.1.2 SquirrelMail 1.4.2
I am attempting to compile Courier Maildrop 1.6.3; my intention is to have Postfix use this as my delivery agent to my virtual maildir-style mailboxes.
My build script:
#! /bin/sh CPPFLAGS="-I/usr/local/mysql/include" LDFLAGS="-L/usr/local/mysql/lib -lmysqlclient -lz -lm" export CPPFLAGS export LDFLAGS ./configure \ --prefix=/usr/local/maildrop \ --enable-maildirquota \ --enable-maildropmysql
$ make [...] Making all in maildrop make all-am Compiling dotlock.C Compiling dotlockrefresh.C Compiling funcs.C Compiling mdmysql.c mdmysql.c:10:25: mysql/mysql.h: No such file or directory mdmysql.c:11:26: mysql/errmsg.h: No such file or directory mdmysql.c: In function `get_user_mysql': mdmysql.c:17: error: `MYSQL' undeclared (first use in this function) mdmysql.c:17: error: (Each undeclared identifier is reported only once mdmysql.c:17: error: for each function it appears in.) mdmysql.c:17: error: parse error before "mysql_buf" mdmysql.c:18: error: `MYSQL_RES' undeclared (first use in this function) mdmysql.c:18: error: `result' undeclared (first use in this function) mdmysql.c:19: error: `MYSQL_ROW' undeclared (first use in this function) mdmysql.c:19: error: parse error before "row" mdmysql.c:32: error: `mysql' undeclared (first use in this function) mdmysql.c:32: warning: implicit declaration of function `mysql_connect' mdmysql.c:32: error: `mysql_buf' undeclared (first use in this function) mdmysql.c:32: error: `server' undeclared (first use in this function) mdmysql.c:32: error: `userid' undeclared (first use in this function) mdmysql.c:32: error: `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:64: warning: implicit declaration of function `mysql_query' mdmysql.c:73: warning: implicit declaration of function `mysql_store_result' 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: error: `row' undeclared (first use in this function) mdmysql.c:88: warning: implicit declaration of function `mysql_fetch_row' make[2]: *** [mdmysql.o] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
It doesn't appear that my -I includes directive is being used during compilation as seen in the following excerpt:
gcc -g -O2 -I./../rfc822 -I./../rfc2045 -I.. -I./.. -Wall -L/usr/local/mysql/lib -lmysqlclient -lz -lm -o mailbot mailbot.o ../rfc822 librfc822.a ../liblock/liblock.a ../numlib/libnumlib.a ../bdbobj/libbdbobj.a
What am I doing wrong?
Rx







