大家好!
本来我已经安装了openresty的debian二进制包,但是想添加模块nginx-dav-ext-module-3.0.0,
就重新下载openresty源码包,configure的参数使用二进制包里的nginx -V,相应调整了下参数,
configure没有报错,make时报了一堆错误,见附件,具体系统环境和使用的参数见下面,先谢谢各位了
系统环境:
os:Debian GNU/Linux 10 (buster)
cpu:Intel(R) Celeron(R) CPU J1900 @ 1.99GHz
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat
[root@debian ~/install/openresty-1.19.3.1]# ldconfig -p|egrep -i '(libpcre|libssl|libluajit|libz)'
libzvbi.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libzvbi.so.0
libzvbi-chains.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libzvbi-chains.so.0
libzstd.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libzstd.so.1
libzmq.so.5 (libc6,x86-64) => /lib/x86_64-linux-gnu/libzmq.so.5
libzip.so.4 (libc6,x86-64) => /lib/x86_64-linux-gnu/libzip.so.4
libz.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libz.so.1
libz.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libz.so
libssl.so.1.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so.1.1
libssl.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so
libpcre32.so.3 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre32.so.3
libpcre32.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre32.so
libpcre16.so.3 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre16.so.3
libpcre16.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre16.so
libpcre2-32.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre2-32.so.0
libpcre2-32.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre2-32.so
libpcre2-16.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre2-16.so.0
libpcre2-16.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre2-16.so
libpcre2-8.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre2-8.so.0
libpcre2-8.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre2-8.so
libpcre2-posix.so.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre2-posix.so.2
libpcre2-posix.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre2-posix.so
libpcreposix.so.3 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcreposix.so.3
libpcreposix.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcreposix.so
libpcrecpp.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcrecpp.so.0
libpcrecpp.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcrecpp.so
libpcre.so.3 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre.so.3
libpcre.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libpcre.so
libluajit-5.1.so.2 (libc6,x86-64) => /usr/local/openresty/luajit/lib/libluajit-5.1.so.2
libluajit-5.1.so.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libluajit-5.1.so.2
[root@debian ~/install/openresty-1.19.3.1]# dpkg -l|egrep -i '(libpcre|libssl|zlib|luajit)'
ii libluajit-5.1-2:amd64 2.1.0~beta3+dfsg-5.1 amd64 Just in time compiler for Lua - library version
ii libluajit-5.1-common 2.1.0~beta3+dfsg-5.1 all Just in time compiler for Lua - common files
ii libluajit-5.1-dev:amd64 2.1.0~beta3+dfsg-5.1 amd64 Just in time compiler for Lua - development files
ii libpcre16-3:amd64 2:8.39-12 amd64 Old Perl 5 Compatible Regular Expression Library - 16 bit runtime files
ii libpcre2-16-0:amd64 10.32-5 amd64 New Perl Compatible Regular Expression Library - 16 bit runtime files
ii libpcre2-32-0:amd64 10.32-5 amd64 New Perl Compatible Regular Expression Library - 32 bit runtime files
ii libpcre2-8-0:amd64 10.32-5 amd64 New Perl Compatible Regular Expression Library- 8 bit runtime files
ii libpcre2-dev:amd64 10.32-5 amd64 New Perl Compatible Regular Expression Library - development files
ii libpcre2-posix0:amd64 10.32-5 amd64 New Perl Compatible Regular Expression Library - posix-compatible runtime files
ii libpcre3:amd64 2:8.39-12 amd64 Old Perl 5 Compatible Regular Expression Library - runtime files
ii libpcre3-dev:amd64 2:8.39-12 amd64 Old Perl 5 Compatible Regular Expression Library - development files
ii libpcre32-3:amd64 2:8.39-12 amd64 Old Perl 5 Compatible Regular Expression Library - 32 bit runtime files
ii libpcrecpp0v5:amd64 2:8.39-12 amd64 Old Perl 5 Compatible Regular Expression Library - C++ runtime files
ii libssl-dev:amd64 1.1.1d-0+deb10u4 amd64 Secure Sockets Layer toolkit - development files
ii libssl1.1:amd64 1.1.1d-0+deb10u4 amd64 Secure Sockets Layer toolkit - shared libraries
ii openresty-zlib 1.2.11-3~buster1 amd64 The zlib compression library for use by Openresty ONLY
ii zlib1g:amd64 1:1.2.11.dfsg-1 amd64 compression library - runtime
ii zlib1g-dev:amd64 1:1.2.11.dfsg-1 amd64 compression library - development
[root@debian ~/install/openresty-1.19.3.1]# ls /usr/include/{zlib.h,pcre.h,openssl,luajit-2.1}
/usr/include/pcre.h /usr/include/zlib.h
/usr/include/luajit-2.1:
lauxlib.h luaconf.h lua.h lua.hpp luajit.h lualib.h
/usr/include/openssl:
aes.h bn.h conferr.h dtls1.h evp.h objectserr.h pkcs12.h rsa.h storeerr.h x509.h
asn1err.h buffererr.h conf.h ebcdic.h hmac.h objects.h pkcs7err.h safestack.h store.h x509v3err.h
asn1.h buffer.h cryptoerr.h ecdh.h idea.h obj_mac.h pkcs7.h seed.h symhacks.h x509v3.h
asn1_mac.h camellia.h crypto.h ecdsa.h kdferr.h ocsperr.h rand_drbg.h sha.h tls1.h x509_vfy.h
asn1t.h cast.h cterr.h ecerr.h kdf.h ocsp.h randerr.h srp.h tserr.h
asyncerr.h cmac.h ct.h ec.h lhash.h opensslv.h rand.h srtp.h ts.h
async.h cmserr.h des.h engineerr.h md2.h ossl_typ.h rc2.h ssl2.h txt_db.h
bioerr.h cms.h dherr.h engine.h md4.h pem2.h rc4.h ssl3.h uierr.h
bio.h comperr.h dh.h e_os2.h md5.h pemerr.h rc5.h sslerr.h ui.h
blowfish.h comp.h dsaerr.h err.h mdc2.h pem.h ripemd.h ssl.h whrlpool.h
bnerr.h conf_api.h dsa.h evperr.h modes.h pkcs12err.h rsaerr.h stack.h x509err.h
configure和make见附件(因为太长了)
谢谢各位!