<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin: 0;">#/configure --prefix=/usr/local/nginxunit output:</div><div style="margin: 0;"><br></div><div style="margin: 0;">./configure --prefix=/usr/local/nginxunit</div><p style="margin: 0;">configuring for DragonFly 5.8-RELEASE x86_64</p><p style="margin: 0;">checking for C compiler: cc</p><p style="margin: 0;"> + using GNU C compiler</p><p style="margin: 0;"> + gcc version 8.3 [DragonFly] Release/2019-02-22 </p><p style="margin: 0;">building an "echo" program</p><p style="margin: 0;">checking for int size ... 4</p><p style="margin: 0;">checking for long size ... 8</p><p style="margin: 0;">checking for long long size ... 8</p><p style="margin: 0;">checking for void * size ... 8</p><p style="margin: 0;">checking for size_t size ... 8</p><p style="margin: 0;">checking for off_t size ... 8</p><p style="margin: 0;">checking for time_t size ... 8</p><p style="margin: 0;">checking for C99 variadic macro ... found</p><p style="margin: 0;">checking for GCC __builtin_expect() ... found</p><p style="margin: 0;">checking for GCC __builtin_unreachable() ... found</p><p style="margin: 0;">checking for GCC __builtin_prefetch() ... found</p><p style="margin: 0;">checking for GCC __builtin_clz() ... found</p><p style="margin: 0;">checking for GCC __builtin_popcount() ... found</p><p style="margin: 0;">checking for GCC __attribute__ visibility ... found</p><p style="margin: 0;">checking for GCC __attribute__ aligned ... found</p><p style="margin: 0;">checking for GCC __attribute__ malloc ... found</p><p style="margin: 0;">checking for GCC __attribute__ packed ... found</p><p style="margin: 0;">checking for GCC builtin atomic operations ... found</p><p style="margin: 0;">checking for posix_memalign() ... found</p><p style="margin: 0;">checking for Linux malloc_usable_size() ... not found</p><p style="margin: 0;">checking for FreeBSD malloc_usable_size() ... not found</p><p style="margin: 0;">checking for MacOSX malloc_good_size() ... not found</p><p style="margin: 0;">checking for alloca() ... found</p><p style="margin: 0;">checking for Linux mallopt() ... not found</p><p style="margin: 0;">checking for MAP_ANON ... found</p><p style="margin: 0;">checking for MAP_POPULATE ... not found</p><p style="margin: 0;">checking for MAP_PREFAULT_READ ... not found</p><p style="margin: 0;">checking for shm_open() ... found</p><p style="margin: 0;">checking for shm_open(SHM_ANON) ... not found</p><p style="margin: 0;">checking for memfd_create() ... not found</p><p style="margin: 0;">checking for Linux clock_gettime(CLOCK_REALTIME_COARSE) ... not found</p><p style="margin: 0;">checking for FreeBSD clock_gettime(CLOCK_REALTIME_FAST) ... found</p><p style="margin: 0;">checking for clock_gettime(CLOCK_REALTIME) ... found</p><p style="margin: 0;">checking for Linux clock_gettime(CLOCK_MONOTONIC_COARSE) ... not found</p><p style="margin: 0;">checking for FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST) ... found</p><p style="margin: 0;">checking for clock_gettime(CLOCK_MONOTONIC) ... found</p><p style="margin: 0;">checking for HP-UX hg_gethrtime() ... not found</p><p style="margin: 0;">checking for struct tm.tm_gmtoff ... found</p><p style="margin: 0;">checking for altzone ... not found</p><p style="margin: 0;">checking for localtime_r() ... found</p><p style="margin: 0;">checking for pthread_yield() ... found</p><p style="margin: 0;">checking for pthread spinlock ... found</p><p style="margin: 0;">checking for pthread spinlock zero initial value ... found but is not working</p><p style="margin: 0;">checking for sem_timedwait() ... found</p><p style="margin: 0;">checking for __thread ... found</p><p style="margin: 0;">checking for Linux epoll ... not found</p><p style="margin: 0;">checking for kqueue ... found</p><p style="margin: 0;">checking for kqueue EVFILT_USER ... found</p><p style="margin: 0;">checking for Solaris event port ... not found</p><p style="margin: 0;">checking for /dev/poll ... not found</p><p style="margin: 0;">checking for AIX pollset ... not found</p><p style="margin: 0;">checking for AF_INET6 ... found</p><p style="margin: 0;">checking for sockaddr.sa_len ... found</p><p style="margin: 0;">checking for struct sockaddr size ... 16</p><p style="margin: 0;">checking for struct sockaddr_in size ... 16</p><p style="margin: 0;">checking for struct sockaddr_in6 size ... 28</p><p style="margin: 0;">checking for struct sockaddr_un size ... 106</p><p style="margin: 0;">checking for struct sockaddr_storage size ... 128</p><p style="margin: 0;">checking for socketpair(AF_UNIX, SOCK_SEQPACKET) ... found</p><p style="margin: 0;">checking for struct msghdr.msg_control ... found</p><p style="margin: 0;">checking for sys/filio.h ... found</p><p style="margin: 0;">checking for ioctl(FIONBIO) ... found</p><p style="margin: 0;">checking for socket(SOCK_NONBLOCK) ... found</p><p style="margin: 0;">checking for accept4() ... found</p><p style="margin: 0;">checking for Linux sendfile() ... not found</p><p style="margin: 0;">checking for FreeBSD sendfile() ... found</p><p style="margin: 0;">checking for posix_fadvise() ... found</p><p style="margin: 0;">checking for fcntl(F_READAHEAD) ... not found</p><p style="margin: 0;">checking for fcntl(F_RDAHEAD) ... not found</p><p style="margin: 0;">checking for getrandom() ... found</p><p style="margin: 0;">checking for ucontext ... found</p><p style="margin: 0;">checking for dlopen() ... found</p><p style="margin: 0;">checking for posix_spawn() ... found</p><p style="margin: 0;">checking for setproctitle() ... found</p><p style="margin: 0;">checking for getgrouplist() ... found</p><p style="margin: 0;">checking for clone(2) ... not found</p><p style="margin: 0;">checking for Linux pivot_root() ... not found</p><p style="margin: 0;">checking for prctl(PR_SET_NO_NEW_PRIVS) ... not found</p><p style="margin: 0;">checking for Linux mount() ... not found</p><p style="margin: 0;">checking for Bind mount() ... not found</p><p style="margin: 0;">checking for FreeBSD nmount() ... not found</p><p style="margin: 0;">checking for Linux umount2() ... not found</p><p style="margin: 0;">checking for unmount() ... found</p><p style="margin: 0;">checking for Linux capability ... not found</p><p style="margin: 0;">creating build/Makefile</p><p style="margin: 0;"><br></p><p style="margin: 0;">Unit configuration summary:</p><p style="margin: 0;"><br></p><p style="margin: 0;">  bin directory: ............. "/usr/local/nginxunit/bin"</p><p style="margin: 0;">  sbin directory: ............ "/usr/local/nginxunit/sbin"</p><p style="margin: 0;">  lib directory: ............. "/usr/local/nginxunit/lib"</p><p style="margin: 0;">  include directory: ......... "/usr/local/nginxunit/include"</p><p style="margin: 0;">  modules directory: ......... "/usr/local/nginxunit/modules"</p><p style="margin: 0;">  state directory: ........... "/usr/local/nginxunit/state"</p><p style="margin: 0;">  tmp directory: ............. "/usr/local/nginxunit/tmp"</p><p style="margin: 0;"><br></p><p style="margin: 0;">  pid file: .................. "/usr/local/nginxunit/unit.pid"</p><p style="margin: 0;">  log file: .................. "/usr/local/nginxunit/unit.log"</p><p style="margin: 0;"><br></p><p style="margin: 0;">  control API socket: ........ "unix:/usr/local/nginxunit/control.unit.sock"</p><p style="margin: 0;"><br></p><p style="margin: 0;">  non-privileged user: ....... "nobody"</p><p style="margin: 0;">  non-privileged group: ...... ""</p><p style="margin: 0;"><br></p><p style="margin: 0;">  IPv6 support: .............. YES</p><p style="margin: 0;">  Unix domain sockets support: YES</p><p style="margin: 0;">  TLS support: ............... NO</p><p style="margin: 0;"><br></p><p style="margin: 0;">  process isolation: ......... NO</p><p style="margin: 0;"><br></p><p style="margin: 0;">  debug logging: ............. NO</p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><p>At 2020-05-29 14:20:28, "lhmwzy" <lhmwzy@126.com> wrote:</p><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0;">#uname -a:</div><div style="margin:0;">DragonFly  5.8-RELEASE DragonFly v5.8.0.4.g1c9a5-RELEASE #0: Tue Mar 17 22:03:07 CST 2020     root@xxx.com:/usr/obj/usr/src/sys/lhmwzy  x86_64</div><div style="margin:0;"><br></div><div style="margin:0;">#./configure --prefix=/usr/local/nginxunit</div><div style="margin:0;"><br></div><div style="margin:0;">#make</div><div style="margin:0;">.......</div><div style="margin:0;"><div style="margin:0;">cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I src -I build      -o build/src/nxt_http_response.o  -MMD -MF build/src/nxt_http_response.dep -MT build/src/nxt_http_response.o  src/nxt_http_response.c</div><div style="margin:0;">cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I src -I build      -o build/src/nxt_http_error.o  -MMD -MF build/src/nxt_http_error.dep -MT build/src/nxt_http_error.o  src/nxt_http_error.c</div><div style="margin:0;">cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I src -I build      -o build/src/nxt_http_route.o  -MMD -MF build/src/nxt_http_route.dep -MT build/src/nxt_http_route.o  src/nxt_http_route.c</div><div style="margin:0;">cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I src -I build      -o build/src/nxt_http_route_addr.o  -MMD -MF build/src/nxt_http_route_addr.dep -MT build/src/nxt_http_route_addr.o  src/nxt_http_route_addr.c</div><div style="margin:0;">cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I src -I build      -o build/src/nxt_http_return.o  -MMD -MF build/src/nxt_http_return.dep -MT build/src/nxt_http_return.o  src/nxt_http_return.c</div><div style="margin:0;">cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I src -I build      -o build/src/nxt_http_static.o  -MMD -MF build/src/nxt_http_static.dep -MT build/src/nxt_http_static.o  src/nxt_http_static.c</div><div style="margin:0;">cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I src -I build      -o build/src/nxt_http_proxy.o  -MMD -MF build/src/nxt_http_proxy.dep -MT build/src/nxt_http_proxy.o  src/nxt_http_proxy.c</div><div style="margin:0;">cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I src -I build      -o build/src/nxt_application.o  -MMD -MF build/src/nxt_application.dep -MT build/src/nxt_application.o  src/nxt_application.c</div><div style="margin:0;">src/nxt_application.c: In function 'nxt_app_prefork':</div><div style="margin:0;">src/nxt_application.c:481:29: error: variable 'lang' set but not used [-Werror=unused-but-set-variable]</div><div style="margin:0;">     nxt_app_lang_module_t  *lang;</div><div style="margin:0;">                             ^~~~</div><div style="margin:0;">src/nxt_application.c:477:39: error: variable 'cap_chroot' set but not used [-Werror=unused-but-set-variable]</div><div style="margin:0;">     nxt_int_t              cap_setid, cap_chroot;</div><div style="margin:0;">                                       ^~~~~~~~~~</div><div style="margin:0;">cc1: all warnings being treated as errors</div><div style="margin:0;">*** Error code 1</div><div style="margin:0;"><br></div><div style="margin:0;">Stop.</div><div style="margin:0;">make: stopped in /home/lhm/unit<br><br></div><div style="margin:0;"><br></div><div style="margin:0;">also,can't config with python</div><div style="margin:0;"><br></div><div style="margin:0;"><div style="margin:0;"># ll /usr/local/lib/python3.6/config-3.6m/python-config.py</div><div style="margin:0;">-r-xr-xr-x  1 root  wheel   2.0K 18-Mar-2020 21:35 /usr/local/lib/python3.6/config-3.6m/python-config.py</div><div style="margin:0;"><br></div><div style="margin:0;"># ./configure python --module=py36  --config=/usr/local/lib/python3.6/config-3.6m/python-config.py</div><div style="margin:0;">configuring Python module</div><div style="margin:0;">checking for Python ... found</div><div style="margin:0;">checking for Python version ... 3.6.9</div><div style="margin:0;">auto/modules/python: /usr/local/bin//usr/local/lib/python3.6/config-3.6m/python: not found</div><div style="margin:0;"><br></div><div style="margin:0;"><br></div></div></div></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br><br><span title="neteasefooter"><p> </p></span>