5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Errs compiling Courie...
FromSent OnAttachments
rx-c...@wvfans.netFeb 4, 2004 7:52 pm 
Arnaud PignardFeb 4, 2004 8:12 pm 
Devin RubiaFeb 5, 2004 11:02 am 
Doc WalkerFeb 5, 2004 7:18 pm 
Devin RubiaFeb 6, 2004 5:38 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Errs compiling Courier Maildrop w/MySQL supportActions...
From:Devin Rubia (dev@thezone.net)
Date:Feb 5, 2004 11:02:51 am
List:net.sourceforge.lists.courier-maildrop

On Wed, Feb 04, 2004 at 09:53:22PM -0600, rx-c@wvfans.net wrote:

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

Your environment variables might not be getting exported properly.

Try this as a test:

------------ #! /bin/sh CPPFLAGS="-I/usr/local/mysql/include" LDFLAGS="-L/usr/local/mysql/lib -lmysqlclient -lz -lm" export CPPFLAGS export LDFLAGS echo $CPPFLAGS echo $LDFLAGS

------------

If you get no output try putting everything all on the one line, like this:

#! /bin/sh CPPFLAGS="-I/usr/local/mysql/include" \ LDFLAGS="-L/usr/local/mysql/lib -lmysqlclient -lz -lm" \ ./configure \ --prefix=/usr/local/maildrop \ --enable-maildirquota \ --enable-maildropmysql