Trying to test latest postfix 3.7.0 with PCRE2 I have found a problem in 
building documentation.
According to PCRE_README (http://www.postfix.org/PCRE_README.html), 
pcre2-config is used:
"AUXLIBS_PCRE=`pcre2-config --libs`"

But "pcre2-config" doesn't have "--libs" as available argument.

# pcre2-config --help
Usage: pcre2-config [--prefix] [--exec-prefix] [--version] [--libs8] 
[--libs-posix] [--libs32] [--libs16]? [--cflags] [--cflags-posix]

Confirmed in debian manpage and source code
https://manpages.debian.org/stretch/libpcre2-dev/pcre2-config.1.en.html
https://github.com/PhilipHazel/pcre2/blob/master/pcre2-config.in
Maybe:

$ pcre2-config --libs8
-L/usr/local/lib -Wl,-R/usr/local/lib -lpcre2-8 (on my system, YMMV)

But Postfix "make makefiles" already does that for you.

        Wietse

`pcre2-config --libs8` worked for me.
I have libs in non-standard locations, "make makefiles" doesn't work for me.

Regards,
Carlos Velasco

Reply via email to