|
|
configure: error: Package requirements (libxml-2.0 >= 2.9.0) were not met:
" g E9 V) ~2 D: J" }' x. c; ^3 k
& T6 F# M4 v$ R- }9 lNo package 'libxml-2.0' found
4 f/ V. C6 P- |# E
7 r/ d! O1 A) h& e3 ] b uConsider adjusting the PKG_CONFIG_PATH environment variable if you
" \ C2 Z9 r* w* W0 _( T% l' uinstalled software in a non-standard prefix.8 ?4 u: ?. F- r3 Z }
$ F$ O( ^. |7 _" ~8 zAlternatively, you may set the environment variables LIBXML_CFLAGS
; @- A5 i; F+ ]+ s* M1 Gand LIBXML_LIBS to avoid the need to call pkg-config.1 ^5 `5 G$ c5 o! I. B( j! X, B
See the pkg-config man page for more details.
# T9 C9 H% I) R6 D6 k: u/ R6 p( N6 T7 c, s7 }
解决办法:
7 c8 {9 L2 k2 h8 { \; F( P yum install -y libxml2-devel
+ e% Y2 F+ S& h. g# o& jLoaded plugins: fastestmirror
P( Z& j( }2 x4 l$ N* GLoading mirror speeds from cached hostfile% I0 k7 V; ^6 |( v, ^! M0 j
* base: ftp.sjtu.edu.cn2 h+ n. Y8 D3 W' k! Z
* extras: ftp.sjtu.edu.cn
1 [& G& q6 J( \: | * updates: mirror.lzu.edu.cn/ ~0 M& W, F7 u) X- _) l" F& \
Resolving Dependencies
0 R! W1 ?1 E; U- C--> Running transaction check2 z2 p8 [2 I6 @- \& L
---> Package libxml2-devel.x86_64 0:2.9.1-6.el7_9.6 will be installed) B# w* ?4 j& \5 `1 \
--> Processing Dependency: libxml2 = 2.9.1-6.el7_9.6 for package: libxml2-devel-2.9.1-6.el7_9.6.x86_64
3 V( D9 ]5 l3 S" m. X9 e! L--> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7_9.6.x86_64
! C; w$ M; Y! M$ p/ ?--> Running transaction check
! d3 y) p ~! ]; C/ S: M---> Package libxml2.x86_64 0:2.9.1-6.el7.5 will be updated
4 Q& n5 O/ @8 C7 H---> Package libxml2.x86_64 0:2.9.1-6.el7_9.6 will be an update* U( e% T5 R0 _5 l6 O* d
---> Package xz-devel.x86_64 0:5.2.2-2.el7_9 will be installed5 B8 T( ~8 g5 S( ?3 a+ v. G
--> Processing Dependency: xz-libs = 5.2.2-2.el7_9 for package: xz-devel-5.2.2-2.el7_9.x86_64
' o! A, y9 A* Y+ e& P+ |--> Running transaction check
3 t) S& Q8 }8 Q! J6 _9 |---> Package xz-libs.x86_64 0:5.2.2-1.el7 will be updated4 q7 S$ R0 K* z" X4 D# B, G, \
--> Processing Dependency: xz-libs = 5.2.2-1.el7 for package: xz-5.2.2-1.el7.x86_64* E" }& D4 s8 |5 a2 N9 S" Z
---> Package xz-libs.x86_64 0:5.2.2-2.el7_9 will be an update) p4 c$ a- B- P. D4 z: A' i
--> Running transaction check
; `/ R, V b- g! t: p---> Package xz.x86_64 0:5.2.2-1.el7 will be updated
: Q. @8 m7 x" Z7 A---> Package xz.x86_64 0:5.2.2-2.el7_9 will be an update( S( [( H* J1 h# C( H$ i
--> Finished Dependency Resolution# Z- X+ p. @; |/ r( M: c
$ ^$ I, t) f/ J0 C
Dependencies Resolved1 r7 n, x% P5 [/ `% ]/ m( @, D
/ [( q9 R' ?* t; d: c% b" F0 B5 C
==================================================================================================================================================================================================================6 M Q) e$ y: l# m
Package Arch Version Repository Size
, ~! @1 H! ?7 R3 U, x==================================================================================================================================================================================================================3 A6 ?4 n. G/ L
Installing:
0 v# ]( E2 S4 o, n& B: [/ _ libxml2-devel x86_64 2.9.1-6.el7_9.6 updates 1.1 M1 S' N, P% d7 k- S
Installing for dependencies:
' i+ |. I& }* Z2 C, J _ xz-devel x86_64 5.2.2-2.el7_9 updates 46 k/ U8 W3 q) C l6 [& h/ s. Z) s
Updating for dependencies: i; N \0 Y2 y3 y; `) l: M: e, [
libxml2 x86_64 2.9.1-6.el7_9.6 updates 668 k
1 [# {: B& t2 [. B9 I! r xz x86_64 5.2.2-2.el7_9 updates 229 k
6 p- V& M4 C9 w xz-libs x86_64 5.2.2-2.el7_9 updates 103 k
4 ], W' D* a4 R" u
% J4 K8 t: g7 F' j; ^Transaction Summary
, p+ ?; _, C, G: q2 e" R==================================================================================================================================================================================================================
0 M8 n/ l" q1 l- z( N0 Z1 b& A2 SInstall 1 Package (+1 Dependent package)
) U# q; F( w- mUpgrade ( 3 Dependent packages)2 H" ^! [* c% y; S" t! T: ]
* L7 c' E8 B9 V7 t( oTotal download size: 2.1 M- O2 G' m/ E/ U. w
Downloading packages:
: B, F" s( k: z& jDelta RPMs disabled because /usr/bin/applydeltarpm not installed.4 K& [# r! ^! m- m
(1/5): xz-5.2.2-2.el7_9.x86_64.rpm | 229 kB 00:00:00
5 b7 A+ h: m7 _4 L m(2/5): xz-devel-5.2.2-2.el7_9.x86_64.rpm | 46 kB 00:00:00
: s2 T% b2 d& ^" P(3/5): xz-libs-5.2.2-2.el7_9.x86_64.rpm | 103 kB 00:00:00 , f M$ M& y- I* p' e* t, b" g
(4/5): libxml2-2.9.1-6.el7_9.6.x86_64.rpm | 668 kB 00:00:00 2 G7 k7 a, H0 v0 ?. ^0 B0 L
(5/5): libxml2-devel-2.9.1-6.el7_9.6.x86_64.rpm | 1.1 MB 00:00:00 9 L* J. u! c* F* Q; b
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
. q3 q, J4 B' I+ D" gTotal 13 MB/s | 2.1 MB 00:00:00
! r4 A+ A6 ?8 F. j% {4 _6 ORunning transaction check
3 ]- `% D( p( r' W7 FRunning transaction test6 ~( c6 O- y D) y
Transaction test succeeded
, N" }! f6 s" y% L. ]* hRunning transaction- _ o5 ?. U/ Y ~% X3 M# F; Q$ z$ a1 Y" z
Updating : xz-libs-5.2.2-2.el7_9.x86_64 1/8 7 Z8 M8 K2 C, a3 W2 p W" C8 C b
Updating : libxml2-2.9.1-6.el7_9.6.x86_64 2/8 # R1 y" j \$ r( E( O @! k# B
Installing : xz-devel-5.2.2-2.el7_9.x86_64 3/8 : t. L8 ~) x4 Z( [# A) C
Installing : libxml2-devel-2.9.1-6.el7_9.6.x86_64 4/8 # d) E2 [& Z# m1 s
Updating : xz-5.2.2-2.el7_9.x86_64 5/8 % q( A7 f8 P5 s0 h' l
Cleanup : xz-5.2.2-1.el7.x86_64 6/8 $ V8 l' E8 S' K! a
Cleanup : libxml2-2.9.1-6.el7.5.x86_64 7/8
) B% x9 l \ Y Cleanup : xz-libs-5.2.2-1.el7.x86_64 8/8
7 A! | X: k S! o3 R Verifying : libxml2-devel-2.9.1-6.el7_9.6.x86_64 1/8 $ L7 V" S) ~' g! ^# t, f
Verifying : libxml2-2.9.1-6.el7_9.6.x86_64 2/8 # n5 B) L5 {% K" q X! A
Verifying : xz-devel-5.2.2-2.el7_9.x86_64 3/8 }) e R$ u, S) }2 R
Verifying : xz-5.2.2-2.el7_9.x86_64 4/8
5 ^3 K7 a& A _, ~& F Verifying : xz-libs-5.2.2-2.el7_9.x86_64 5/8
) I$ Y" K7 b0 |; W1 K# O' z- x* ^ Verifying : libxml2-2.9.1-6.el7.5.x86_64 6/8
$ F& u8 R. }3 v2 D1 \! A Verifying : xz-5.2.2-1.el7.x86_64 7/8 + M% n; N/ ^& ^6 J
Verifying : xz-libs-5.2.2-1.el7.x86_64 8/8 ) |* k+ d% u, B5 A
% z$ p" G0 |; P& ^9 `
Installed:& _/ p3 F# k( i1 m8 s$ ?1 y
libxml2-devel.x86_64 0:2.9.1-6.el7_9.6 % {" f2 d9 F- n
8 y# }; n, N! r" ODependency Installed:0 |+ U/ G' X4 z, r. h! w8 v
xz-devel.x86_64 0:5.2.2-2.el7_9
' Y3 m+ i1 o9 I5 D2 g1 d9 g: u, ?0 @3 U
Dependency Updated:2 W8 i: W4 q d0 V2 K; ^& o2 @% B
libxml2.x86_64 0:2.9.1-6.el7_9.6 xz.x86_64 0:5.2.2-2.el7_9 xz-libs.x86_64 0:5.2.2-2.el7_9 % K- P. U) D( G. D7 u( n
$ @1 w- [& }4 t" E5 tComplete!
# N( `# J1 E5 T5 J [% t$ {5 Z* I- ^7 v! t
! f1 w8 @3 y/ K. o0 L
|
|