|
|
楼主 |
发表于 2026-5-10 13:05:30
|
显示全部楼层
-o objs/src/os/unix/ngx_user.o \
$ }: ^, O- t* E' N& _( t2 f; q src/os/unix/ngx_user.c d5 j' Y) b: J, \3 |. b& c2 O
src/os/unix/ngx_user.c: In function ‘ngx_libc_crypt’:, x' w ?/ ~, Y0 ^2 Y
src/os/unix/ngx_user.c:36:7: error: ‘struct crypt_data’ has no member named ‘current_salt’
9 [8 E( B3 Y2 \1 I( C" o# U 36 | cd.current_salt[0] = ~salt[0];9 U$ M& [7 C+ u6 p! [
| ^4 ^) b* R$ t: d3 d2 }/ g' \
make[1]: *** [objs/Makefile:781: objs/src/os/unix/ngx_user.o] Error 13 X$ \4 w$ Z- v; l8 r3 O
make[1]: Leaving directory '/usr/src/webback/nginx-1.11.3'
2 V2 `' g9 U) [% I& J5 V( F Bmake: *** [Makefile:8: build] Error 2
2 X- ~ s3 {8 P/ B( [7 }[root@webserver nginx-1.11.3]# vim objs/Makefile . ^2 z- e+ `8 x' h8 g9 h: S# V
[root@webserver nginx-1.11.3]# dnf install libxcrypt libxcrypt-compat libxcrypt-devel -y
( j4 n, o) Z9 `6 MLast metadata expiration check: 0:53:41 ago on Sun 10 May 2026 12:10:29 PM CST.: q$ I+ }' A6 c: D5 W$ O
Package libxcrypt-4.4.38-2.oe2503.x86_64 is already installed.
0 F* V7 [- {% S& S3 wNo match for argument: libxcrypt-compat
# {9 o- j$ E+ p! @$ A4 W/ U0 Q2 ?Package libxcrypt-devel-4.4.38-2.oe2503.x86_64 is already installed. U/ M1 J' `" m
Error: Unable to find a match: libxcrypt-compat
, @) c4 B# q: ~+ R5 C1 c6 J[root@webserver nginx-1.11.3]# dnf install libxcrypt libxcrypt-devel -y+ ]! u3 p4 U% d) F' x
Last metadata expiration check: 0:53:55 ago on Sun 10 May 2026 12:10:29 PM CST.
2 e( n: P5 x7 N; S8 w" O6 wPackage libxcrypt-4.4.38-2.oe2503.x86_64 is already installed. I, U. c- x( l, k3 `$ I
Package libxcrypt-devel-4.4.38-2.oe2503.x86_64 is already installed.* J4 r, w* q/ i7 S
Dependencies resolved.
& [% C* N# K- A* D% n" NNothing to do.9 P* r) U0 L* N4 t) `
Complete!
5 u5 Q; j% u/ T; Z/ Y% _9 d[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"2 Z" Q9 d# o+ ^
checking for OS7 m- J( ]1 p3 F* e+ E4 y
+ Linux 6.6.0-72.6.0.56.oe2503.x86_64 x86_64
. Y0 k& j2 U2 S4 z$ X/ Echecking for C compiler ... found
M- i3 {- h* s* A2 m9 { |
|