unit tests: /usr/bin/touch vs /bin/touch

Sergey a_s_y at sama.ru
Sat Sep 15 05:48:04 EDT 2018


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


More information about the Info-cyrus mailing list