You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i cant find flags for test utitlitys inside configure flag with configure --help
i want compile benchmark.cc inside test/benchmark directory for some tests.
and --with-pcre2=path-to-my-optimized-lib not working as expected.
configure script found but spits error
ls -al /usr/local/nginx-dep/lib/
total 5672
drwxr-xr-x 3 root root 4096 Dec 18 00:34 .
drwxr-xr-x 6 root root 4096 Dec 18 00:34 ..
-rw-r--r-- 1 root root 1088694 Dec 18 00:34 libpcre2-16.a
-rwxr-xr-x 1 root root 1033 Dec 18 00:34 libpcre2-16.la
lrwxrwxrwx 1 root root 21 Dec 18 00:34 libpcre2-16.so -> libpcre2-16.so.0.13.0
lrwxrwxrwx 1 root root 21 Dec 18 00:34 libpcre2-16.so.0 -> libpcre2-16.so.0.13.0
-rwxr-xr-x 1 root root 873816 Dec 18 00:34 libpcre2-16.so.0.13.0
-rw-r--r-- 1 root root 1029534 Dec 18 00:34 libpcre2-32.a
-rwxr-xr-x 1 root root 1033 Dec 18 00:34 libpcre2-32.la
lrwxrwxrwx 1 root root 21 Dec 18 00:34 libpcre2-32.so -> libpcre2-32.so.0.13.0
lrwxrwxrwx 1 root root 21 Dec 18 00:34 libpcre2-32.so.0 -> libpcre2-32.so.0.13.0
-rwxr-xr-x 1 root root 812336 Dec 18 00:34 libpcre2-32.so.0.13.0
-rw-r--r-- 1 root root 1113670 Dec 18 00:34 libpcre2-8.a
-rwxr-xr-x 1 root root 1026 Dec 18 00:34 libpcre2-8.la
lrwxrwxrwx 1 root root 20 Dec 18 00:34 libpcre2-8.so -> libpcre2-8.so.0.13.0
lrwxrwxrwx 1 root root 20 Dec 18 00:34 libpcre2-8.so.0 -> libpcre2-8.so.0.13.0
-rwxr-xr-x 1 root root 822152 Dec 18 00:34 libpcre2-8.so.0.13.0
-rw-r--r-- 1 root root 8298 Dec 18 00:34 libpcre2-posix.a
-rwxr-xr-x 1 root root 1090 Dec 18 00:34 libpcre2-posix.la
lrwxrwxrwx 1 root root 23 Dec 18 00:34 libpcre2-posix.so -> libpcre2-posix.so.3.0.5
lrwxrwxrwx 1 root root 23 Dec 18 00:34 libpcre2-posix.so.3 -> libpcre2-posix.so.3.0.5
-rwxr-xr-x 1 root root 15992 Dec 18 00:34 libpcre2-posix.so.3.0.5
drwxr-xr-x 2 root root 4096 Dec 18 00:34 pkgconfig
./configure --prefix=/usr/local/modsecurity --with-maxmind=/usr/local/ --enable-pcre-study --enable-pcre-jit --with-pcre2=/usr/local/nginx-dep/lib/
configure: WARNING: unrecognized options: --enable-pcre-study, --enable-pcre-jit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether g++ supports C++17 features with -std=c++17... yes
configure: Nothing about YAJL was informed during the configure phase. Trying to detect it on the platform...
configure: YAJL library was not found
configure: Nothing about GeoIP was informed during the configure phase. Trying to detect it on the platform...
configure: using GeoIP v1.6.12
configure: MaxMind headers found at: /usr/local//include
configure: MaxMind library found at: /usr/local//lib//libmaxminddb.so
configure: using MaxMind v
configure: Nothing about LMDB was informed during the configure phase. Trying to detect it on the platform...
*** LOOKING AT PATH: /usr/lib
*** LOOKING AT PATH: /usr/local/lib
*** LOOKING AT PATH: /usr/local/liblmdb
*** LOOKING AT PATH: /usr/local/lmdb
*** LOOKING AT PATH: /usr/local
*** LOOKING AT PATH: /opt/liblmdb
*** LOOKING AT PATH: /opt/lmdb
*** LOOKING AT PATH: /opt
*** LOOKING AT PATH: /usr
*** LOOKING AT PATH: /usr/lib64
*** LOOKING AT PATH: /opt/local
configure: LMDB library was not found
*** LOOKING AT PATH: /usr/lib
*** LOOKING AT PATH: /usr/local/lib
*** LOOKING AT PATH: /usr/local/fuzzy
*** LOOKING AT PATH: /usr/local/libfuzzy
*** LOOKING AT PATH: /usr/local
*** LOOKING AT PATH: /opt
*** LOOKING AT PATH: /usr
*** LOOKING AT PATH: /usr/lib64
*** LOOKING AT PATH: /opt/local
configure: SSDEEP library was not found
*** LOOKING AT PATH: /usr/lib
*** LOOKING AT PATH: /usr/local/lib
*** LOOKING AT PATH: /usr/local/lib64
*** LOOKING AT PATH: /usr/local/lua
*** LOOKING AT PATH: /usr/local/liblua
*** LOOKING AT PATH: /usr/local
*** LOOKING AT PATH: /opt
*** LOOKING AT PATH: /usr
*** LOOKING AT PATH: /usr/lib64
*** LOOKING AT PATH: /opt/local
*** LOOKING AT PATH: /usr/lib/lua5.3/liblua
*** LOOKING AT PATH: /usr/lib/lua5.2/liblua
configure: LUA library was not found
checking for libcurl config script... /usr/bin/curl-config
configure: curl VERSION: 8.11.1
configure: curl LDADD:
checking if libcurl is at least v... yes, 8.11.1
checking if libcurl is linked with gnutls... no
configure: using curl v8.11.1
checking for libxml2 >= 2.6.29 via pkg-config... found version 2.9.14
configure: using libxml2 v2.9.14
configure: pcre2 specified; omitting check for pcre
*** LOOKING AT PATH: /usr/local/nginx-dep/lib/
configure: PCRE2 library found at: /usr/local/nginx-dep/lib///libpcre2-8.so
configure: error: PCRE2 was explicitly referenced but it was not found
The text was updated successfully, but these errors were encountered:
I think first you should try to pass --with-pcre2 without argument or --with-pcre2=yes, but before that try to set the LD_LIBRARY_PATH and add your own path.
i cant find flags for test utitlitys inside configure flag with configure --help
i want compile benchmark.cc inside test/benchmark directory for some tests.
and --with-pcre2=path-to-my-optimized-lib not working as expected.
configure script found but spits error
The text was updated successfully, but these errors were encountered: