10 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] PCRE
FromSent OnAttachments
up...@3.amAug 24, 2006 6:57 am 
Jeronimo ZuccoAug 24, 2006 7:00 am 
Jeronimo ZuccoAug 24, 2006 7:08 am 
Mike HorwathAug 24, 2006 7:23 am 
up...@3.amAug 24, 2006 7:38 am 
Mike HorwathAug 24, 2006 7:45 am 
up...@3.amAug 24, 2006 8:01 am 
up...@3.amAug 24, 2006 8:29 am 
Devin RubiaAug 24, 2006 8:50 am 
Mike HorwathAug 24, 2006 10:29 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] PCREActions...
From:Devin Rubia (dev@thezone.net)
Date:Aug 24, 2006 8:50:28 am
List:net.sourceforge.lists.courier-maildrop

On Thu, Aug 24, 2006 at 09:57:50AM -0400, up@3.am wrote:

Hi:

Trying to build maildrop 2.02 from tarball, and it complains about missing PCRE, even though I just installed both pcre and pcre++ from FreeBSD ports (cvsup'd days ago):

checking whether stripping libraries is possible... yes checking pcre.h usability... no checking pcre.h presence... no checking for pcre.h... no checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcre/pcre.h... no configure: error: pcre.h not found - install PCRE from www.pcre.org

pcre.h is installed under /usr/local/include. For gags, I put in a symlink from /usr/include/pcre.h to /usr/local/include/pcre.h and maildrop's configure script didn't complain, but make failed, presumably looking for other links. Is there just a way to tell maildrop to look in the correct location for it? I didn't see anything obvious in configure --help...

If you install packages in non standard places, you have to tell the configure script where they are.

From "./configure --help"

Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a nonstandard directory <lib dir> CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir>

So, try:

CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure ...