Thanks for helping me. As you reminded, i found this log:
checking for GNU readline library ... not found checking for editline library in editline/readline.h ... not found checking for editline in edit/readline/readline.h ... not found checking for editline in readline/readline.h ... not found - njs CLI is built without interactive shell support So, what can i do to solve this? I'm actually not much experienced Full configure output: ------------------------------------------------- configuring for Linux 3.10.0-1062.9.1.el7.x86_64 x86_64 checking for C compiler: cc + using GNU C compiler + gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) checking for sizeof(int) ... 4 checking for sizeof(u_int) ... 4 checking for sizeof(void *) ... 8 checking for sizeof(uintptr_t) ... 8 checking for sizeof(size_t) ... 8 checking for sizeof(off_t) ... 8 checking for sizeof(time_t) ... 8 checking for system byte ordering ... little checking for GCC unsigned __int128 ... found checking for GCC __builtin_expect() ... found checking for GCC __builtin_unreachable() ... found checking for GCC __builtin_prefetch() ... found checking for GCC __builtin_clz() ... found checking for GCC __builtin_clzll() ... found checking for GCC __attribute__ visibility ... found checking for GCC __attribute__ malloc ... found checking for GCC __attribute__ aligned ... found checking for GCC __attribute__ packed ... found checking for Address sanitizer ... not found checking for Memory sanitizer ... not found checking for _mm_setcsr() ... found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for struct tm.tm_gmtoff ... found checking for altzone ... not found checking for posix_memalign() ... found checking for getrandom() ... not found checking for SYS_getrandom in Linux ... found checking for stat.st_atimespec ... not found checking for stat.st_birthtim ... not found checking for stat.st_atim ... found checking for explicit_bzero() ... not found checking for explicit_memset() ... not found checking for PCRE2 library ... not found checking for PCRE library ... not found checking for PCRE library in /usr ... found checking for PCRE version ... 8.32 checking for GNU readline library ... not found checking for editline library in editline/readline.h ... not found checking for editline in edit/readline/readline.h ... not found checking for editline in readline/readline.h ... not found - njs CLI is built without interactive shell support checking for OpenSSL library ... not found checking for OpenSSL library -lcrypto ... found checking for OpenSSL version ... "OpenSSL 1.0.2k-fips 26 Jan 2017" creating build/Makefile checking for expect ... found + Expect version: expect version 5.45 - expect tests are disabled NJS configuration summary: + using CC: "cc" + using CFLAGS: " -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O " + using PCRE library: -lpcre + using OpenSSL library: -lcrypto njs build dir: build njs CLI: build/njs | | 王明君 | | wmjhappy...@126.com | On 4/6/2022 09:51,Dmitry Volyntsev<xei...@nginx.com> wrote: Hi, Please attach the configure output. If njs CLI was built successfully, but the binary does not work in terminal mode. The reason is libreadline was not found during configure phase. On 05.04.2022 16:15, 王明君 wrote: Hi, i'm trying to build only njs command-line utility following _http://nginx.org/en/docs/njs/install.html_, but the final njs does not work as expected. See this mail's attached file to find out how i was trying. *uname -a* Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux *cat os-release* NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" _______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org _______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org
_______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org