You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Shylaja P <ta...@gmail.com> on 2022/05/30 11:57:10 UTC

[users@httpd] PCRE support for Apache Httpd 2.4.53

Hi,
We used Apache* httpd-2.4.52* *with PCRE-8.44* in our project, Now I'm
trying to upgrade my project with Apache* httpd-2.4.53*, but It is failing
with pcre-config not found.

   - *Is it mandatory to use PCRE2 to upgrade to Apache httpd-2.4.53?*
   - *Is there any way to use PCRE-8.44 and upgrade to Apache
   Httpd-2.4.53? *




> *checking for gcc -std=gnu99 option to accept ISO C99... none needed*
> *checking for -pcre2-config... no*
> *checking for -pcre-config... no*
> *checking for pcre2-config... no*
> *checking for pcre-config... pcre-config**configure: error: Did not find
> working script at pcre-config*



Kindly help me with the above queries.

Thank you,
Shylaja

Re: [users@httpd] PCRE support for Apache Httpd 2.4.53

Posted by "Herbert J. Skuhra" <he...@gojira.at>.
On Mon, May 30, 2022 at 05:27:10PM +0530, Shylaja P wrote:
> Hi,
> We used Apache* httpd-2.4.52* *with PCRE-8.44* in our project, Now I'm
> trying to upgrade my project with Apache* httpd-2.4.53*, but It is failing
> with pcre-config not found.
> 
>    - *Is it mandatory to use PCRE2 to upgrade to Apache httpd-2.4.53?*

No, but pcre is EOL.

>    - *Is there any way to use PCRE-8.44 and upgrade to Apache
>    Httpd-2.4.53? *

Yes. Tested on Arch Linux, AlmaLinux 9 and NetBSD 9.99.97:

% ./httpd -v
Server version: Apache/2.4.53 (Unix)
Server built:   May 30 2022 15:00:48
% ldd ./httpd  |grep pcre
   libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fd2ebec3000)
% pacman -Qo /usr/lib/libpcre.so.1
/usr/lib/libpcre.so.1 is owned by pcre 8.45-1

$ ./httpd -v
Server version: Apache/2.4.53 (Unix)
Server built:   May 30 2022 15:16:38
$ ldd ./httpd |grep pcre
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fa488088000)
$ rpm -q --whatprovides /lib64/libpcre.so.1
pcre-8.44-3.el9.3.x86_64

$ ./httpd -v                                                                                     
Server version: Apache/2.4.53 (Unix)
Server built:   May 30 2022 16:06:09
$ ldd ./httpd |grep pcre
        -lpcre.1 => /usr/pkg/lib/libpcre.so.1
$ pkg_info -Fe /usr/pkg/lib/libpcre.so.1
pcre-8.45

So I assume your setup is broken or some packages (pcre-devel) are not
installed. Have you checked config.log?

-- 
Herbert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org