pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51593: nginx configure error the HTTP rewrite module requires the PCRE library



>Number:         51593
>Category:       pkg
>Synopsis:       nginx configure error the HTTP rewrite module requires the PCRE library
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 03 06:30:00 +0000 2016
>Originator:     Luther
>Release:        2016Q3
>Organization:
>Environment:
Linux thinkpad 4.7.0-0.bpo.1-amd64 #1 SMP Debian 4.7.8-1~bpo8+1 (2016-10-19) x86_64 GNU/Linux
>Description:
pkgsrc 2016Q3 bootstrapper unprivileged
...
cd pkgsrc/www/nginx
...
bmake install && bmake clean clean-depends && bmake  distclean
...
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Checking for vulnerabilities in nginx-1.10.1nb1
=> Fetching nginx-1.10.1.tar.gz
=> Total size: 909077 bytes
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  887k  100  887k    0     0   135k      0  0:00:06  0:00:06 --:--:--  178k
=> Checksum SHA1 OK for nginx-1.10.1.tar.gz
=> Checksum RMD160 OK for nginx-1.10.1.tar.gz
=> Checksum SHA512 OK for nginx-1.10.1.tar.gz
...
==========================================================================
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Full dependency openssl>=1.0.2gnb1: found openssl-1.0.2j
=> Full dependency pcre>=8.30nb1: found pcre-8.39
=> Full dependency zlib>=1.2.3: found zlib-1.2.8nb3
===> Overriding tools for nginx-1.10.1nb1
===> Extracting for nginx-1.10.1nb1
===> Patching for nginx-1.10.1nb1
=> Applying pkgsrc patches for nginx-1.10.1nb1
===> Creating toolchain wrappers for nginx-1.10.1nb1
===> Configuring for nginx-1.10.1nb1
=> Substituting "paths" in conf/nginx.conf
=> Fixing locale directory references.
checking for OS
 + Linux 4.7.0-0.bpo.1-amd64 x86_64
checking for C compiler ... found
...
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

*** Error code 1

Stop.
bmake[1]: stopped in /home/Pkgsrc/pkgsrc/www/nginx
*** Error code 1

Stop.
bmake: stopped in /home/Pkgsrc/pkgsrc/www/nginx
>How-To-Repeat:
pkgsrc 2016Q3 bootstrapper unprivileged
...
cd pkgsrc/www/nginx
...
bmake install && bmake clean clean-depends && bmake  distclean
...
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Checking for vulnerabilities in nginx-1.10.1nb1
=> Fetching nginx-1.10.1.tar.gz
=> Total size: 909077 bytes
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  887k  100  887k    0     0   135k      0  0:00:06  0:00:06 --:--:--  178k
=> Checksum SHA1 OK for nginx-1.10.1.tar.gz
=> Checksum RMD160 OK for nginx-1.10.1.tar.gz
=> Checksum SHA512 OK for nginx-1.10.1.tar.gz
...
==========================================================================
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Full dependency openssl>=1.0.2gnb1: found openssl-1.0.2j
=> Full dependency pcre>=8.30nb1: found pcre-8.39
=> Full dependency zlib>=1.2.3: found zlib-1.2.8nb3
===> Overriding tools for nginx-1.10.1nb1
===> Extracting for nginx-1.10.1nb1
===> Patching for nginx-1.10.1nb1
=> Applying pkgsrc patches for nginx-1.10.1nb1
===> Creating toolchain wrappers for nginx-1.10.1nb1
===> Configuring for nginx-1.10.1nb1
=> Substituting "paths" in conf/nginx.conf
=> Fixing locale directory references.
checking for OS
 + Linux 4.7.0-0.bpo.1-amd64 x86_64
checking for C compiler ... found
...
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

*** Error code 1

Stop.
bmake[1]: stopped in /home/Pkgsrc/pkgsrc/www/nginx
*** Error code 1

Stop.
bmake: stopped in /home/Pkgsrc/pkgsrc/www/nginx
>Fix:


Home | Main Index | Thread Index | Old Index