[Privoxy-devel] PATCH for pcre2 support

Gagan Sidhu broly at mac.com
Thu Jun 15 14:02:47 CEST 2023


That doesn’t look right.

Your results are cached. You need to apply the patch and clear the existing autoconf variables since the configure script is different. 

I tried this patch before submitting and did not get that issue since I cleared old autoconf variables. 

Try that and report back.  But you can probably fix this in the generated makefile to see if the overall patch is okay. 


Thanks,
Gagan

> On Jun 15, 2023, at 5:20 AM, Fabian Keil <fk at fabiankeil.de> wrote:
> 
> Gagan Sidhu <broly at mac.com> wrote on 2023-05-20 at 15:19:12:
> 
>> ???
>> is there anybody out there
>> ???
> 
> I looked into this again and noticed that with the latest patch
> (SHA256 (substandard_pcre2.patch) = 322dfd5c3082aaec436fde295dfbeee38d7743eb959d88a2a704b0c3abf7cadd)
> pcre2 is not picked up on my system:
> 
> checking for pcre_compile in -lpcre... (cached) yes
> checking for pcre.h... (cached) yes
> configure: WARNING: pcre old version installed
> checking for regcomp in -lpcreposix... (cached) yes
> checking for pcreposix.h... (cached) yes
> checking for pcre2_compile_8 in -lpcre2-8... (cached) yes
> checking for pcre2.h... (cached) yes
> configure: WARNING: pcre2 old version installed
> checking for regcomp in -lpcre2-posix... (cached) yes
> checking for pcre2posix.h... (cached) yes
> configure: WARNING: pcre2posix old version installed
> 
> This seems to be caused by the configure.in line:
> 
>      AC_EGREP_HEADER(pcre2_pattern_info, pcre2.h, [AC_MSG_WARN([[pcre2 old version installed]]); have_pcre2=no], [have_pcre2=yes; AC_DEFINE(HAVE_PCRE2)])
> 
> My system has pcre2 10.42 installs which seems to come
> with pcre2_pattern_info.
> 
> Can you reproduce this?
> 
> Fabian


More information about the Privoxy-devel mailing list