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:Doc Walker (rx-c@wvfans.net)
Date:Feb 5, 2004 7:18:47 pm
List:net.sourceforge.lists.courier-maildrop

Devin Rubia said:

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

The environment variables appear to be exported properly and putting the statement on one line did not work. However, by creating a symbolic link 'mysql' pointing to my MySQL includes directory did allow me to successfully compile Maildrop.

Something interesting I found in my Makefile is that there are several commands listed as 'missing':

[src/maildrop-1.6.3/Makefile] $ grep missing Makefile

ACLOCAL = ${SHELL} [snip]/src/maildrop-1.6.3/missing --run aclocal-1.6 AUTOCONF = ${SHELL} [snip]/src/maildrop-1.6.3/missing --run autoconf AUTOMAKE = ${SHELL} [snip]/src/maildrop-1.6.3/missing --run automake-1.6 AUTOHEADER = ${SHELL} [snip]/src/maildrop-1.6.3/missing --run autoheader AMTAR = ${SHELL} [snip]/src/maildrop-1.6.3/missing --run tar dbobj.h.in depcomp install-sh maildrop.spec.in missing \

$ which aclocal /usr/bin/aclocal $ which autoconf /usr/bin/autoconf $ which automake /usr/bin/automake $ which autoheader /usr/bin/autoheader

Any idea why?

Rx