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 ...