Re: configure: WARNING: unrecognized options: --enable-FEATURE_HTTPS_INSPECTION

michael kostersitz <[email protected]> Wed, 12 Jul 2023 19:24:47 +0000
Newsgroups gmane.comp.web.privoxy.user
Message-ID <PH8PR10MB6290395CBC92D22A0CF65649B436A@PH8PR10MB6290.namprd10.prod.outlook.com>
Very helpful. Thank you!

________________________________
From: Ian Silvester <[email protected]>
Sent: Wednesday, July 12, 2023 9:58 AM
To: michael kostersitz <[email protected]>; [email protected].=
org <[email protected]>
Subject: Re: [Privoxy-users] configure: WARNING: unrecognized options: --en=
able-FEATURE_HTTPS_INSPECTION

Hi Michael,

You'll need to compile from source, but you'll need first of all to have co=
mpiled openssl (or mbedtls) from source so as to make the libraries availab=
le to the Privoxy make process. With that done you can add the paths to CFL=
AGS, CPPFLAGS and LDFLAGS such that the Privoxy compilation will find them,=
 then the configure options can work.

If you're going to compile from source, you would be well advised to also l=
ocally compile PCRE and add its paths so as to have a more up to date versi=
on of that library than is in Privoxy's own tree.

HTH,

Ian

On Wed, 12 Jul 2023, at 11:33, michael kostersitz wrote:
I am having a similar question.
How do I provide the correct version of the parameter to enable FEATURE_HTT=
PS_INSPECTION on my Raspberry Pi since the pre-packaged version for raspian=
 is still 3.32 and downloading 3.34 debian package does not have HTTPS_INSP=
ECTION on.

I tried:

  *   ./configure --with-openssl --enable-FEATURE_HTTPS_INSPECTION
  *   ./configure --with-openssl --enable-FEATURE_HTTPS_INSPECTION=3Dyes
  *   ./configure --with-openssl --enable-FEATURE_HTTPS_INSPECTION=3DYes
  *   ./configure --with-openssl --enable-FEATURE_HTTPS_INSPECTION=3DYES
  *   ./configure --with-openssl --enable-FEATURE=3DFEATURE_HTTPS_INSPECTION
  *
./configure --with-openssl --enable-FEATURE=3DHTTPS_INSPECTION
  *
./configure --with-openssl --enable-HTTPS_INSPECTION
  *
./configure --with-openssl --enable-HTTPS_INSPECTION=3Dyes

also tried all lowercase variants just to be safe.

  *


--help is not much help I am afraid as it simply says
--enable-FEATURE[=3DARG]  include FEATURE [ARG=3Dyes]

Can someone share an example?

Mike

________________________________

From: Privoxy-users <[email protected]=
xy.org> on behalf of Ian Silvester <[email protected]>
Sent: Friday, February 24, 2023 6:04 AM
To: [email protected] <[email protected]>
Subject: Re: [Privoxy-users] configure: WARNING: unrecognized options: --en=
able-FEATURE_HTTPS_INSPECTION



On Fri, 24 Feb 2023, at 05:26, Fabian Keil wrote:
> Andreas Sch=F6ller <[email protected]> wrote on 2023-02-23 at =
18:36:48:
>
>> i=92d like to build from source on macOS. Pls. provide the configure-opt=
ion to active the FEATURE_HTTPS_INSPECTION.
>>
>> I;ve tried a zillion combinations without success.None of these work for=
 me :
>>
>> ./configure -=97with-HTTPS_INSPECTION=3Dyes
> [...]
>> ./configure --enable-https_inspection_only
>
> On macOS you probably want to use OpenSSL so the configure
> option is "--with-openssl" (and not "--with-mbedtls").
>
> In the future you could use the "--help" option to
> get a list of the options available.

I would add that you will also need to provide the paths of your openssl in=
clude and lib dirs to the CFLAGS, CPPFLAGS and LDFLAGS you pass to your com=
piler. A simpler approach if you would like to compile from source would be=
 to use the OSXPackageBuilder project we support - see section 6.3.5 in the=
 Developer Manual at privoxy.org for the git repository URL. Despite its na=
me, it includes workflows for both building the privoxy code and also packa=
ging into a .pkg file - it has everything you'd need to build your binary a=
part from XCode (you only need the Commandline Tools part of XCode, fwiw).

HTH,

Ian



> Fabian
>
> _______________________________________________
> Privoxy-users mailing list
> [email protected]
> https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.=
privoxy.org%2Fmailman%2Flistinfo%2Fprivoxy-users&data=3D05%7C01%7C%7C655165=
90534f4e10293f08db16701c14%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638=
128442981703634%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzI=
iLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3DCMwfIrbyviBOLwQ8%2F=
7aSsbpOcZMip29wms%2BsiOYRJis%3D&reserved=3D0<https://lists.privoxy.org/mail=
man/listinfo/privoxy-users>
_______________________________________________
Privoxy-users mailing list
[email protected]
https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.pr=
ivoxy.org%2Fmailman%2Flistinfo%2Fprivoxy-users&data=3D05%7C01%7C%7C65516590=
534f4e10293f08db16701c14%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C63812=
8442981859853%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL=
CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3DiK121BO017HJZ2XRouuYl=
YeVX2CKMXs%2BPbB3BzQRSV4%3D&reserved=3D0<https://lists.privoxy.org/mailman/=
listinfo/privoxy-users>