|
|
楼主 |
发表于 2026-5-10 13:05:30
|
显示全部楼层
-o objs/src/os/unix/ngx_user.o \
) d: t! t# ~3 J8 u& P src/os/unix/ngx_user.c* Z, X! c2 p8 T# g5 _1 Y) t
src/os/unix/ngx_user.c: In function ‘ngx_libc_crypt’:$ L5 [0 j/ Q& S# s
src/os/unix/ngx_user.c:36:7: error: ‘struct crypt_data’ has no member named ‘current_salt’
- L B8 }. ]# K2 \6 b, q 36 | cd.current_salt[0] = ~salt[0];; k! z( n5 z9 [- V( l% j8 m
| ^, V4 O! W8 n" X$ \% N
make[1]: *** [objs/Makefile:781: objs/src/os/unix/ngx_user.o] Error 1
$ Y% I- S: x# v6 E1 Lmake[1]: Leaving directory '/usr/src/webback/nginx-1.11.3'
3 }# A5 N! j$ x W: v ?make: *** [Makefile:8: build] Error 2
1 g6 G( s# f" `" k[root@webserver nginx-1.11.3]# vim objs/Makefile
6 q, }, X" I, b/ p4 C[root@webserver nginx-1.11.3]# dnf install libxcrypt libxcrypt-compat libxcrypt-devel -y
1 D# l j; p; _- ?Last metadata expiration check: 0:53:41 ago on Sun 10 May 2026 12:10:29 PM CST. b+ P) N& d4 S$ j* \/ ~) B
Package libxcrypt-4.4.38-2.oe2503.x86_64 is already installed.$ z' `& i+ d) e
No match for argument: libxcrypt-compat
4 ~. F/ w* i& |% P2 u5 E. a8 E$ uPackage libxcrypt-devel-4.4.38-2.oe2503.x86_64 is already installed.
2 w* B8 a8 i% e/ y: _ SError: Unable to find a match: libxcrypt-compat
! f' x' p; P5 C8 O1 z& I[root@webserver nginx-1.11.3]# dnf install libxcrypt libxcrypt-devel -y4 ]$ i: i9 i$ Y$ i5 Z+ ~* n
Last metadata expiration check: 0:53:55 ago on Sun 10 May 2026 12:10:29 PM CST.( l8 }7 ~. n2 o" }9 ], R8 C6 X
Package libxcrypt-4.4.38-2.oe2503.x86_64 is already installed.
- n1 [$ U# D: E8 t' xPackage libxcrypt-devel-4.4.38-2.oe2503.x86_64 is already installed.0 ]8 x/ O3 y' B' w2 \9 o1 @
Dependencies resolved.
- N1 x9 ~ e$ l. X: v& eNothing to do.; g3 ?) h3 V3 a4 C
Complete!
* f% Z4 l3 s5 @[root@webserver nginx-1.11.3]# ./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-ld-opt="-lcrypt"
: f# z2 H! P8 \! v/ _2 m+ ochecking for OS
. Q9 g3 v$ p1 E& p2 M, p0 S + Linux 6.6.0-72.6.0.56.oe2503.x86_64 x86_64
" ~! c; `) k# P/ Qchecking for C compiler ... found9 ~- p1 C, U A( t
|
|