Re: Problems building Maildrop on a Macintosh
Larry Stone <[email protected]> Fri, 30 Nov 2018 21:12:31 -0600
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
> > On Nov 30, 2018, at 4:35 PM, Sam Varshavchik <[email protected]> wrote: > > Larry Stone writes: > >> checking for pcre/pcre.h... no >> configure: error: pcre.h not found - install PCRE from www.pcre.org >> (/usr/local/include/pcre.h exists >> A search turned up lots of other incidents of pcre.h not found but none with a solution that seems to fit me) > > Just because it exists there doesn't mean that the compiler knows to search for it by default. That's one possible explanation. Well, configure —help tells me the default include directory is PREFIX/include and the default for PREFIX is /usr/local so it should be seeing the pcre.h in /usr/local/include. But just to be sure, I tried: ./configure --prefix=/usr/local --includedir=/usr/local/include --enable-utf and got the same pcre.h not found. > > The other explanation would be found by looking at what was written to config.log Nothing I can see in the log gives me any hint of where it’s looking and not finding pcre.h. configure:12065: checking pcre.h usability configure:12065: gcc -c -g -O2 conftest.c >&5 conftest.c:54:10: fatal error: 'pcre.h' file not found #include <pcre.h> ^ 1 error generated. configure:12065: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "maildrop" | #define PACKAGE_TARNAME "maildrop" | #define PACKAGE_VERSION "3.0.0" | #define PACKAGE_STRING "maildrop 3.0.0" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #endif | #include <pcre.h> configure:12065: result: no Near identical results and logging ensue for configure:12065: checking pcre.h presence configure:12065: gcc -E conftest.c conftest.c:21:10: fatal error: 'pcre.h' file not found and then again for pcre/pcre.h -- Larry Stone [email protected] _______________________________________________ Courier-maildrop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/courier-maildrop