1.18.0 can't build under DragonFlyBSD
lhmwzy
lhmwzy at 126.com
Fri May 29 09:21:28 UTC 2020
python module can be configured like:
# ./configure python --module=py36 --config=config-3.6m
this is ok now.
At 2020-05-29 14:20:28, "lhmwzy" <lhmwzy at 126.com> wrote:
#uname -a:
DragonFly 5.8-RELEASE DragonFly v5.8.0.4.g1c9a5-RELEASE #0: Tue Mar 17 22:03:07 CST 2020 root at xxx.com:/usr/obj/usr/src/sys/lhmwzy x86_64
#./configure --prefix=/usr/local/nginxunit
#make
.......
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
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
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
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
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
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
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
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
src/nxt_application.c: In function 'nxt_app_prefork':
src/nxt_application.c:481:29: error: variable 'lang' set but not used [-Werror=unused-but-set-variable]
nxt_app_lang_module_t *lang;
^~~~
src/nxt_application.c:477:39: error: variable 'cap_chroot' set but not used [-Werror=unused-but-set-variable]
nxt_int_t cap_setid, cap_chroot;
^~~~~~~~~~
cc1: all warnings being treated as errors
*** Error code 1
Stop.
make: stopped in /home/lhm/unit
also,can't config with python
# ll /usr/local/lib/python3.6/config-3.6m/python-config.py
-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
# ./configure python --module=py36 --config=/usr/local/lib/python3.6/config-3.6m/python-config.py
configuring Python module
checking for Python ... found
checking for Python version ... 3.6.9
auto/modules/python: /usr/local/bin//usr/local/lib/python3.6/config-3.6m/python: not found
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20200529/ae702709/attachment.htm>
More information about the unit
mailing list