|
|
configure: error: Package requirements (libxml-2.0 >= 2.9.0) were not met:
0 U/ S, C3 {# k9 Q0 T/ L; _- D+ ^% J) L8 b2 [( O& }7 G
No package 'libxml-2.0' found
$ U( j/ Z& `8 j, ]# C6 _* B
7 \+ v2 O4 s" q lConsider adjusting the PKG_CONFIG_PATH environment variable if you
0 C$ g/ U4 s1 n$ T2 _- j: ?& ginstalled software in a non-standard prefix.
+ Q2 W- Z$ K# X& R& Y% z2 a5 M% D
+ |* S0 r8 y: W! V: rAlternatively, you may set the environment variables LIBXML_CFLAGS7 B: T2 }, J7 r/ M& Q" p/ c
and LIBXML_LIBS to avoid the need to call pkg-config./ [/ i* u( X& P5 T8 I
See the pkg-config man page for more details., d5 a& A9 a3 R' D0 ~" [
' D) A9 l% o- @& z+ Z9 @0 P D
解决办法:/ ]3 L& F6 [: H) m
yum install -y libxml2-devel
* [# A7 E6 K( M7 D8 j! S& C/ oLoaded plugins: fastestmirror
t! h! z$ z/ A+ Q1 J9 ULoading mirror speeds from cached hostfile
' F% F. m) K- R( j" `5 Z, ~: w5 A* l * base: ftp.sjtu.edu.cn
2 L. F" m6 {. c2 P- D/ ?; C- w * extras: ftp.sjtu.edu.cn
' x5 |/ N# i* \ * updates: mirror.lzu.edu.cn
! b) G7 _' k: q% G1 z, c( bResolving Dependencies
) o% ?& A- [% Y--> Running transaction check- D6 U$ p! o% `9 R% Y% T
---> Package libxml2-devel.x86_64 0:2.9.1-6.el7_9.6 will be installed6 e# m6 _3 U0 e6 u$ r6 Q Q6 q
--> Processing Dependency: libxml2 = 2.9.1-6.el7_9.6 for package: libxml2-devel-2.9.1-6.el7_9.6.x86_64( p- n; w: m J. ~5 O2 K8 }6 U7 W
--> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7_9.6.x86_648 i3 s6 \' @! ^9 ^9 h1 N
--> Running transaction check
4 d& K u W% q---> Package libxml2.x86_64 0:2.9.1-6.el7.5 will be updated
2 Q, p6 G( X4 y' j! T---> Package libxml2.x86_64 0:2.9.1-6.el7_9.6 will be an update
) {# f. u4 x* y2 v2 Z0 ]---> Package xz-devel.x86_64 0:5.2.2-2.el7_9 will be installed$ D' e) | V4 T" `& g
--> Processing Dependency: xz-libs = 5.2.2-2.el7_9 for package: xz-devel-5.2.2-2.el7_9.x86_64! j, M- ?- j. Q! }
--> Running transaction check) A8 \! I6 E v" L6 |
---> Package xz-libs.x86_64 0:5.2.2-1.el7 will be updated
+ H- t% \2 F Y--> Processing Dependency: xz-libs = 5.2.2-1.el7 for package: xz-5.2.2-1.el7.x86_64* L) o4 M8 J& E
---> Package xz-libs.x86_64 0:5.2.2-2.el7_9 will be an update/ b: _+ C7 O" }5 o0 X/ J
--> Running transaction check0 c- _0 t2 j+ Y
---> Package xz.x86_64 0:5.2.2-1.el7 will be updated+ C4 n/ I8 L1 o" N
---> Package xz.x86_64 0:5.2.2-2.el7_9 will be an update
1 M& j: a+ ]* q `& S, P( h7 T--> Finished Dependency Resolution
& |8 L q6 Z( }* U1 L/ u J3 `, \/ K; D3 w/ V: b- B T- Z
Dependencies Resolved# R' v1 ~' _$ F+ t
, Y$ v6 x: w$ [, _5 P==================================================================================================================================================================================================================
4 q) L7 m6 \, ]$ o% I5 \2 {+ ] Package Arch Version Repository Size
" @" S% c- N$ H' d==================================================================================================================================================================================================================
) Q6 h5 O1 U! g+ U' zInstalling:. F/ N. `; B) N# L6 z5 O1 _
libxml2-devel x86_64 2.9.1-6.el7_9.6 updates 1.1 M
) M: |4 b1 G3 g+ ZInstalling for dependencies:
4 H) O: V- b* M$ j xz-devel x86_64 5.2.2-2.el7_9 updates 46 k
- @/ _( ]9 o3 x! d8 fUpdating for dependencies:
6 a7 J- N% i. s' M% f# S( @& j libxml2 x86_64 2.9.1-6.el7_9.6 updates 668 k* A5 P# Q; x; ^ m" e' O% W
xz x86_64 5.2.2-2.el7_9 updates 229 k
' y& M0 S3 X8 W, { xz-libs x86_64 5.2.2-2.el7_9 updates 103 k
$ g& U3 {6 T( J# n0 [. f
5 e( l; P$ O9 C4 c) DTransaction Summary
! E( H% ~ U; V J- S$ Q2 l==================================================================================================================================================================================================================" Z" @5 U' ~4 m8 n. v
Install 1 Package (+1 Dependent package) O0 J; R9 [" ~4 n
Upgrade ( 3 Dependent packages)
7 f2 K1 m: [& m2 X% e; d1 ^' k' W s6 s, R+ z8 L+ ~( N3 ?+ h
Total download size: 2.1 M
- P: q: V U( R% d% k8 p* h+ i3 GDownloading packages:
( x2 F4 k3 n, v) \" K1 nDelta RPMs disabled because /usr/bin/applydeltarpm not installed.& {" r0 q: s' }+ P5 P
(1/5): xz-5.2.2-2.el7_9.x86_64.rpm | 229 kB 00:00:00
, f8 d3 c2 V- f' g3 o1 l( v# \% a( U8 v(2/5): xz-devel-5.2.2-2.el7_9.x86_64.rpm | 46 kB 00:00:00 3 C7 M5 Z: c" n& }$ q( ^+ o
(3/5): xz-libs-5.2.2-2.el7_9.x86_64.rpm | 103 kB 00:00:00 8 C, G s* ~8 P9 _. a, X
(4/5): libxml2-2.9.1-6.el7_9.6.x86_64.rpm | 668 kB 00:00:00
7 o, k' E% N& `0 R V8 s- s. q" N(5/5): libxml2-devel-2.9.1-6.el7_9.6.x86_64.rpm | 1.1 MB 00:00:00
9 U( ?' _ R! u------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 ~/ E) K/ P- g8 M* UTotal 13 MB/s | 2.1 MB 00:00:00
9 }4 Z: ?# m5 Y9 xRunning transaction check
% {, \1 a6 N% ?0 MRunning transaction test
5 U6 I9 c4 ?3 N2 ~- V: p* ?1 tTransaction test succeeded w- g3 A9 c6 e/ i4 F7 m2 m; ], d
Running transaction
L2 @5 b3 Y, Y3 M/ @! N9 y% n Updating : xz-libs-5.2.2-2.el7_9.x86_64 1/8
% S o* |, P4 [! T- a; h! i! Y% q% f Updating : libxml2-2.9.1-6.el7_9.6.x86_64 2/8
) n0 R- u1 q1 w4 ]. A Installing : xz-devel-5.2.2-2.el7_9.x86_64 3/8
- i* o* f; R9 i5 k+ Y+ ] Installing : libxml2-devel-2.9.1-6.el7_9.6.x86_64 4/8
, U- a) w6 P2 G- p Updating : xz-5.2.2-2.el7_9.x86_64 5/8
" ~% `( Y: e1 F; w; n$ m Cleanup : xz-5.2.2-1.el7.x86_64 6/8
2 R6 ^: o+ ?( M; E, ] Cleanup : libxml2-2.9.1-6.el7.5.x86_64 7/8 ) Q+ Q8 m, I7 g
Cleanup : xz-libs-5.2.2-1.el7.x86_64 8/8
; z/ t$ y& L. o$ F Verifying : libxml2-devel-2.9.1-6.el7_9.6.x86_64 1/8
6 B+ I1 V, I$ m Verifying : libxml2-2.9.1-6.el7_9.6.x86_64 2/8 0 ]+ g6 ]7 b6 k! ^8 t' g; T- {
Verifying : xz-devel-5.2.2-2.el7_9.x86_64 3/8
& p1 M) b$ V2 J+ Z- h Verifying : xz-5.2.2-2.el7_9.x86_64 4/8
0 [/ e% W! {2 C9 r! s7 k; K Verifying : xz-libs-5.2.2-2.el7_9.x86_64 5/8 4 A3 u1 u: U% ?( c p
Verifying : libxml2-2.9.1-6.el7.5.x86_64 6/8 6 |4 ^9 Y$ ]* t$ h0 P
Verifying : xz-5.2.2-1.el7.x86_64 7/8
" Y, B0 K" H9 F8 M) r Verifying : xz-libs-5.2.2-1.el7.x86_64 8/8
1 e! O8 C$ D) Q# \9 X L. @1 p" E' u7 S( R/ D
Installed:$ `# ], C$ }# ]$ u0 c9 m
libxml2-devel.x86_64 0:2.9.1-6.el7_9.6
- A/ j; Y# j7 U G# G
* t7 D9 ]4 N% E# u$ MDependency Installed:% C+ O e' R4 A/ Z2 F5 M
xz-devel.x86_64 0:5.2.2-2.el7_9 8 T. m7 u" ?- e) v/ U) N, T
$ [+ D4 B. d+ D# u; o- j3 P2 uDependency Updated:
8 ^9 @( d) k: }) o6 n 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
0 b4 r- w! |' Z C z6 y
3 D0 P* d1 x# o1 [: B# ]Complete!
* `: A2 L$ {' g l' j3 f/ b! A4 D+ L
* j" h' p. x8 R K
|
|