<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin: 0;">python module can be configured like:</div><div style="margin: 0;"><div style="margin: 0px;"># ./configure python --module=py36  --config=config-3.6m</div><div style="margin: 0px;">this is ok now.</div></div><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>