You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2022/04/11 14:27:24 UTC

[Bug 66006] New: Configure script cannot find pcre2-config script on some operating systems.

https://bz.apache.org/bugzilla/show_bug.cgi?id=66006

            Bug ID: 66006
           Summary: Configure script cannot find pcre2-config script on
                    some operating systems.
           Product: Apache httpd-2
           Version: 2.4.53
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
          Assignee: bugs@httpd.apache.org
          Reporter: john.swan@oracle.com
  Target Milestone: ---

With the changes in 2.4.53 to support pcre2 (10.x), the configure script cannot
find the pcre2-config file on Solaris 10.  

The configure changes use the "which" command in locating the pcre2-config
file.
On my Solaris 10 box, the "which" command is a csh script which outputs extra
information which throws off the configure script.  (See the "Processing..."
output from the which command)


./configure <most options not shown) --with-pcre=<path to my pcre2
directory>/pcre2-10.37/bin/pcre2-config
...
...
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... unsupported
Processing /ade/jaswan_sx6418102/reliaty/.ndeprodrc.csh
/ade/jaswan_aop/oracle/reliaty/web/pcre2-10.37/bin/pcre2-config not found
checking for -pcre2-config... no
checking for -pcre-config... no
checking for pcre2-config... no
checking for pcre-config... no
configure: error: Did not find working script at Processing
/ade/jaswan_sx6418102/reliaty/.ndeprodrc.csh
/ade/jaswan_aop/oracle/reliaty/web/pcre2-10.37/bin/pcre2-config not found

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org