On Friday 14 September 2018, ellie timoney wrote: > and then let us know if you find any other mismatched paths like this? > Then we can patch them all in one go. :) I know about pcre. I wrote about it here: https://lists.andrew.cmu.edu/pipermail/info-cyrus/2015-October/038549.html Since it time I build Cyrus-IMAP with hack (in rpm's spec file): sed "s|pcreposix\.h|pcre/pcreposix.h|g" -i configure.ac sed 's|if test "$ac_cv_header_pcreposix_h" = "yes"|ac_cv_header_pcreposix_h="yes"; if test "$ac_cv_header_pcreposix_h" = "yes"|' -i configure.ac %add_optflags -I%_includedir/pcre sed "s|pcre\.h|pcre/pcre.h|" -i lib/util.h # include <pcre.h> sed "s|pcreposix\.h|pcre/pcreposix.h|" -i lib/util.h # include <pcreposix.h> sed "s|@ZLIB@|@ZLIB@ -lpcreposix|" -i perl/imap/Makefile.PL.in sed "s|@ZLIB@|@ZLIB@ -lpcreposix|" -i perl/sieve/managesieve/Makefile.PL.in "-I%_includedir/pcre" helped for some cases, but excluding lib/util.h And I now not remember, why I added "-lpcreposix". -- Regards, Sergey ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus