title: I am trying to trick net-snmp into not looking for pcre.h but pcre2*
what I attempted was
sed 's|pcre|pcre2|g' -i configure
but I get
root@box:/tmp/net-snmp-5.9.4.pre3# cat config.log | grep error | grep pcre
/usr/local/include/pcre2.h:971:2: error: #error PCRE2_CODE_UNIT_WIDTH must be defined before including pcre2.h.
971 | #error PCRE2_CODE_UNIT_WIDTH must be defined before including pcre2.h.
/usr/local/include/pcre2.h:972:2: error: #error Use 8, 16, or 32; or 0 for a multi-width application.
any clues to fix....and there might more once I get past this block.
also I can configure to disable pcre in configure by
--without-pcre
I am tempted to do that as so far...without pcre2 effective configure status says
Embedded Perl support: disabled
SNMP Perl modules: disabled
thanks for reading