tengine icon indicating copy to clipboard operation
tengine copied to clipboard

quikc start get some other vendor module error

Open sunheyi6 opened this issue 11 months ago • 5 comments

Ⅰ. Issue Description

quick start url 404

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

  1. If applicable, add nginx debug log doc.

Ⅵ. Environment:

  • Tengine version (use sbin/nginx -V):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Others:

sunheyi6 avatar Mar 23 '24 12:03 sunheyi6

Pls. check the https://tengine.taobao.org/document_cn/ngx_http_dubbo_module_cn.html specifically.

lianglli avatar Mar 25 '24 08:03 lianglli

Pls. check the https://tengine.taobao.org/document_cn/ngx_http_dubbo_module_cn.html specifically.

I have reviewed the link you provided, but it does not solve the issue of the URL being invalid. If there is no need to install PCRE and zlib, then this problem does not exist.

sunheyi6 avatar Mar 25 '24 12:03 sunheyi6

image

The zlib and pcre are not necessary for the ngx_http_dubbo_module.

Thank you for your feedback.

This issue will be fixed in the following release.

lianglli avatar Mar 26 '24 03:03 lianglli

@lianglli This is the result without adding PCRE:

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.

This is the result with adding three modules:

adding module in ./modules/mod_dubbo
./configure: error: no ./modules/mod_dubbo/config was found
make: *** No rule to make target 'build', needed by 'default'.  Stop.
make: *** No rule to make target 'install'.  Stop.

sunheyi6 avatar Mar 28 '24 02:03 sunheyi6

The above error is [./configure: error: the HTTP rewrite module requires the PCRE library.] specifically.

The mod_dubbo does not depend on PCRE.

Pls. check the follow build script specifically. https://github.com/alibaba/tengine-ingress/blob/master/images/tengine/rootfs/build.sh

lianglli avatar Mar 29 '24 10:03 lianglli