===> openresty-1.21.4.1rc2 depends on package: gmake>=4.3 - found
===> openresty-1.21.4.1rc2 depends on file: /usr/local/lib/libcrypto.so.11 - found
===> openresty-1.21.4.1rc2 depends on package: perl5>=5.32.r0<5.33 - found
===> openresty-1.21.4.1rc2 depends on shared library: libluajit-5.1.so - found (/usr/local/lib/libluajit-5.1.so)
===> openresty-1.21.4.1rc2 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so)
===> Configuring for openresty-1.21.4.1rc2
platform: freebsd (freebsd)
cp -rp bundle/ build
cd build
export LUAJIT_LIB='/usr/local/lib'
export LUAJIT_INC='/usr/local/include/luajit-2.1'
patching the resty script with hard-coded nginx binary path...
cd nginx-1.21.4
sh ./configure --prefix=/usr/local/nginx \
--with-cc-opt='-O2 -I /usr/local/include' \
--add-module=../ngx_devel_kit-0.3.1 \
--add-module=../iconv-nginx-module-0.14 \
--add-module=../echo-nginx-module-0.62 \
--add-module=../xss-nginx-module-0.06 \
--add-module=../ngx_coolkit-0.2 \
--add-module=../set-misc-nginx-module-0.33 \
--add-module=../form-input-nginx-module-0.12 \
--add-module=../encrypted-session-nginx-module-0.09 \
--add-module=../srcache-nginx-module-0.32 \
--add-module=../ngx_lua-0.10.21rc2 \
--add-module=../ngx_lua_upstream-0.07 \
--add-module=../array-var-nginx-module-0.05 \
--add-module=../memc-nginx-module-0.19 \
--add-module=../redis2-nginx-module-0.15 \
--add-module=../redis-nginx-module-0.3.9 \
--add-module=../rds-json-nginx-module-0.15 \
--add-module=../rds-csv-nginx-module-0.09 \
--add-module=../ngx_stream_lua-0.0.11rc1 \
--with-ld-opt='-Wl,-rpath,/usr/local/lib -L /usr/local/lib' \
--group=www --user=www --with-http_auth_request_module --with-http_geoip_module --with-http_realip_module --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-http_ssl_module
checking for OS
+ FreeBSD 13.0-RELEASE amd64
checking for C compiler ... found
+ using Clang C compiler
checking for --with-ld-opt="-Wl,-rpath,/usr/local/lib -L /usr/local/lib" ... found
checking for -Wl,-E switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for gcc builtin 64 bit byteswap ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... not found
checking for FreeBSD specific features
+ sendfile() found
+ POSIX semaphores should work
+ kqueue found
+ kqueue's NOTE_LOWAT found
+ kqueue's EVFILT_TIMER found
+ cpuset_setaffinity() found
checking for poll() ... found
checking for /dev/poll ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... found
checking for sched_yield() ... found
checking for sched_setaffinity() ... not found
checking for SO_SETFIB ... found
checking for SO_REUSEPORT ... found
checking for SO_ACCEPTFILTER ... found
checking for SO_BINDANY ... not found
checking for IP_TRANSPARENT ... not found
checking for IP_BINDANY ... found
checking for IP_BIND_ADDRESS_NO_PORT ... not found
checking for IP_RECVDSTADDR ... found
checking for IP_SENDSRCADDR ... found
checking for IP_PKTINFO ... not found
checking for IPV6_RECVPKTINFO ... found
checking for TCP_DEFER_ACCEPT ... not found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint32_t ... found
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 8 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for AF_INET6 ... found
checking for setproctitle() ... found
checking for pread() ... found
checking for pwrite() ... found
checking for pwritev() ... found
checking for strerrordesc_np() ... not found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for clock_gettime(CLOCK_MONOTONIC) ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for ioctl(FIONREAD) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... not found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
checking for SOCK_CLOEXEC support ... found
checking for FD_CLOEXEC support ... found
configuring additional modules
adding module in ../ngx_devel_kit-0.3.1
+ ngx_devel_kit was configured
adding module in ../iconv-nginx-module-0.14
found ngx_devel_kit for ngx_iconv; looks good.
checking for libiconv ... not found
checking for libiconv ... found
+ ngx_http_iconv_module was configured
adding module in ../echo-nginx-module-0.62
+ ngx_http_echo_module was configured
adding module in ../xss-nginx-module-0.06
+ ngx_http_xss_filter_module was configured
adding module in ../ngx_coolkit-0.2
+ ngx_coolkit_module was configured
adding module in ../set-misc-nginx-module-0.33
found ngx_devel_kit for ngx_set_misc; looks good.
+ ngx_http_set_misc_module was configured
adding module in ../form-input-nginx-module-0.12
found ngx_devel_kit for ngx_form_input; looks good.
+ ngx_http_form_input_module was configured
adding module in ../encrypted-session-nginx-module-0.09
found ngx_devel_kit for ngx_encrypted_session; looks good.
+ ngx_http_encrypted_session_module was configured
adding module in ../srcache-nginx-module-0.32
+ ngx_http_srcache_filter_module was configured
adding module in ../ngx_lua-0.10.21rc2
checking for LuaJIT library in /usr/local/lib and /usr/local/include/luajit-2.1 (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... found
checking for LuaJIT 2.x ... found
checking for Lua language 5.1 ... found
checking for LuaJIT has FFI ... found
checking for export symbols by default (-E) ... found
checking for export symbols by default (--export-all-symbols) ... not found
checking for SO_PASSCRED ... not found
checking for SA_RESTART ... found
checking for malloc_trim ... not found
checking for pipe2 ... found
checking for signalfd ... not found
checking for execvpe ... not found
+ ngx_http_lua_module was configured
adding module in ../ngx_lua_upstream-0.07
+ ngx_http_lua_upstream_module was configured
adding module in ../array-var-nginx-module-0.05
found ngx_devel_kit for ngx_array_var; looks good.
+ ngx_http_array_var_module was configured
adding module in ../memc-nginx-module-0.19
+ ngx_http_memc_module was configured
adding module in ../redis2-nginx-module-0.15
+ ngx_http_redis2_module was configured
adding module in ../redis-nginx-module-0.3.9
+ ngx_http_redis_module was configured
adding module in ../rds-json-nginx-module-0.15
+ ngx_http_rds_json_filter_module was configured
adding module in ../rds-csv-nginx-module-0.09
+ ngx_http_rds_csv_filter_module was configured
adding module in ../ngx_stream_lua-0.0.11rc1
checking for LuaJIT library in /usr/local/lib and /usr/local/include/luajit-2.1 (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... found
checking for LuaJIT 2.x ... found
checking for Lua language 5.1 ... found
checking for LuaJIT has FFI ... found
checking for export symbols by default (-E) ... found
checking for export symbols by default (--export-all-symbols) ... not found
checking for SO_PASSCRED ... not found
checking for SA_RESTART ... found
checking for require defined symbols (--require-defined) ... not found
+ ngx_stream_lua_module was configured
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for OpenSSL library ... found
checking for zlib library ... found
checking for GeoIP library ... not found
checking for GeoIP library in /usr/local/ ... not found
checking for GeoIP library in /usr/pkg/ ... not found
checking for GeoIP library in /opt/local/ ... not found
./configure: error: the GeoIP module requires the GeoIP library.
You can either do not enable the module or install the library.
ERROR: failed to run command: sh ./configure --prefix=/usr/local/nginx \...
===> Script "configure" failed unexpectedly.
Please report the problem to joneum@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/openresty/work/openresty-1.21.4.1rc2/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/www/openresty
*** Error code 1
Stop.