Mailing List Archive

[Bug 66000] New: Configure option "--with-pcre" does not work anymore
https://bz.apache.org/bugzilla/show_bug.cgi?id=66000

Bug ID: 66000
Summary: Configure option "--with-pcre" does not work anymore
Product: Apache httpd-2
Version: 2.4.53
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
Assignee: bugs@httpd.apache.org
Reporter: apache-bugzilla@michael-kaufmann.ch
Target Milestone: ---

The configure option "--with-pcre" worked until httpd 2.4.52, but it does not
work anymore with httpd 2.4.53.

Configure output:

...
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


Script to reproduce the problem:

#!/bin/bash

set -e

tar xvf httpd-2.4.53.tar.bz2
tar xvf pcre-8.45.tar.bz2
tar xvf expat-2.4.8.tar.bz2

(
cd httpd-2.4.53/srclib
tar xvf ../../apr-1.7.0.tar.bz2
tar xvf ../../apr-util-1.6.1.tar.bz2

ln -s apr-1.7.0 apr
ln -s apr-util-1.6.1 apr-util
)

cd expat-2.4.8
./configure --prefix=/var/tmp/expat
make install

cd ..

cd pcre-8.45
./configure --prefix=/var/tmp/pcre --disable-cpp
make install

cd ..

cd httpd-2.4.53

# Workaround:
# PATH="/var/tmp/pcre/bin:${PATH}"
# export PATH

./configure --prefix=/var/tmp/httpd --with-included-apr
--with-expat=/var/tmp/expat --with-pcre=/var/tmp/pcre
make install

--
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