Changes between Initial Version and Version 1 of Ticket #2612, comment 2


Ignore:
Timestamp:
03/15/24 08:29:44 (8 weeks ago)
Author:
iz8mbw@…

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2612, comment 2

    initial v1  
    1 Hi all.
    2 I was able to fix.
    3 Since I would like to use the latest version of PCRE (and so not the PCRE version available into the Operating System), I normally configure/compile nginx by specify the source code on PCRE, I do this with
    4 {{{
    5 --with-pcre=/opt/pcre2_source_code
    6 }}}
    7 .
    8 
    9 Since now we are "forcing" the nginx building with
    10 {{{
    11 --with-cc=c++
    12 }}}
    13  to fix the BoringSSL issues, I suppose this broke the building of PCRE.
    14 So what I did is to build PCRE (before to build nginx) and after, when going to configure nginx, provide to nginx the path where find PCRE.
    15 
    16 This is the part of  "configure" about BoringSSL (previously built) and PCRE (previously built):
    17 
    18 
    19 {{{
    20 configure --with-cc=c++ --with-cc-opt="-I/opt/boringsslnew/include -I/opt/pcre2built/include -x c" --with-ld-opt="-L/opt/boringsslnew/build/ssl -L/opt/boringsslnew/build/crypto -L/opt/pcre2built/lib"
    21 }}}
    22 
    23 Regards.