-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tengine-2.4.x or 3.0.0 build failed with pcre2 #1764
Comments
编译2.4.0版本,我有同样的问题。仅添加-with-pcre=DIR 这个参数的前提下进行编译,反复尝试了好多次总算成功了。 尝试调用系统自带pcre编译(该参默认设置),发现没有问题,猜想是不是编译相关的配置有些问题。 我判断可能是这个conf文件内部逻辑与我们实际的编译环境不匹配。 PS:I'm sorry ,My English is very poor, So the following text was translated by Bing Translation。 Compiling version 2.4.0, I have the same issue. Compile only under the premise of adding the -with-pcre=DIR parameter, and tried many times and finally succeeded. Try to call the system's own PCRE compilation (the default setting of this parameter), find that there is no problem, guess if there is some problem with the compilation-related configuration. I judged it might be that the internal logic of this conf file doesn't match our actual compilation environment. |
TY, this is a compilation bug. We will release a version to fix We have merged nginx-1.22.1 into tengine-2.4.0, but there were some files not included. Because, that we used |
also note that ngx-lua included in tengine project cannot support PCRE2. For more details about PCRE2 and ngx-lua, see openresty/lua-nginx-module#1984 |
has been fixed in latest master branch, pls retry |
Ⅰ. Issue Description
I try to build tengine-3.0.0 brunch with pcre2-10.42, it return a error.
Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Build success without error.
Ⅳ. How to reproduce it (as minimally and precisely as possible)
git clone -b tengine-3.0.0 https://github.com/alibaba/tengine.git
cd tengine
./configure --prefix=/usr/local/nginx --with-pcre=../pcre2-10.42
make
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
sbin/nginx -V
): Tengine/2.4.0uname -a
): Linux VM-0-4-rockylinux 4.18.0-372.9.1.el8.x86_64 fixed bugs of the limit_req module #1 SMP Tue May 10 14:48:47 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxThe text was updated successfully, but these errors were encountered: