- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
报错:checking for __gmpz_rootrem in -lgmp... no
8 o, I/ F3 \$ x" ~5 l1 T# yconfigure: error: GNU MP Library version 4.2 or greater required.
! |# F$ T# C+ L, g
' R" }7 t0 u( F; i6 P, ?1 ~1 \! ^" ~3 \9 j# c. `; T, l
configure: error: GNU MP Library version 4.2 or greater required.
* u7 ~5 c$ ] m j; b3 i8 n5 u解决:' D- V7 `, Y! n3 g' R* ?" \
#yum -y install gmp-devel; m' Q. t: n' e2 X/ k$ n
- e: O L7 w7 h( K( m l. C% a
* w6 n8 g/ h. W2 B! J# | F2 m) w5 v/ V& `8 `7 ~
[root@ipam2 gmp]# ./configure --with-php-config=/usr/local/php/bin/php-config 8 Z2 e1 S' I! f( [
checking for grep that handles long lines and -e... /bin/grep
, C) X0 Q; ~% ], e/ \4 gchecking for egrep... /bin/grep -E2 h5 z }! r6 T' Q0 U
checking for a sed that does not truncate output... /bin/sed
% W# R8 ]. _/ f7 ^. lchecking for pkg-config... /bin/pkg-config2 k9 }2 P! c0 t3 ]% G+ b
checking pkg-config is at least version 0.9.0... yes
" H& D& U& D, H$ Y6 cchecking for cc... cc# N$ }* o- B/ i3 v1 _, F8 F w, j
checking whether the C compiler works... yes- @9 c* P* ~0 f9 U
checking for C compiler default output file name... a.out
4 f6 E% w C* h/ Mchecking for suffix of executables...
" D) l) Y9 _5 i% T' F5 Lchecking whether we are cross compiling... no
: J- `5 H( j5 I3 H/ R1 {checking for suffix of object files... o1 ^* O6 \) _# N* j9 ?
checking whether we are using the GNU C compiler... yes
+ L+ T# |9 d0 m8 `& D0 X. Tchecking whether cc accepts -g... yes
! ]. }' Y; X6 k* K& uchecking for cc option to accept ISO C89... none needed% n) E! Q6 J, R1 I L3 I0 A
checking how to run the C preprocessor... cc -E% {1 D; E" v" o" ~" C; a& _
checking for icc... no4 E% M4 U) j; ?6 P
checking for suncc... no
% n4 V: v2 C+ w9 n7 [& N) Zchecking for system library directory... lib. U7 z$ \4 X. O7 Y( t) `& `/ C
checking if compiler supports -Wl,-rpath,... yes
+ R* t; w( E# I5 U( T$ s- ~, Z; }checking build system type... x86_64-pc-linux-gnu) W, v0 g5 w7 G
checking host system type... x86_64-pc-linux-gnu
8 a2 H. ~' t0 S# c8 X1 K: v8 fchecking target system type... x86_64-pc-linux-gnu
{; D$ ]1 m- o7 }; c; Echecking for PHP prefix... /usr/local/php; B% \9 W( c3 i4 E! c! }1 H
checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib( @: X; O3 j1 } g: h7 `" c( K3 C
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-zts-20230831
8 o+ B$ Q [+ f' ~, a& P0 W+ jchecking for PHP installed headers prefix... /usr/local/php/include/php
2 z% p1 r# [# Y5 v/ \7 ^checking if debug is enabled... no
9 ]. _' v3 P# d/ u/ V ^checking if zts is enabled... yes
2 G C& ^. Y# _) schecking for gawk... gawk( ^( ?* T7 g! _
checking for GNU MP support... yes, shared4 ?$ Z" }' y3 F
checking for __gmpz_rootrem in -lgmp... no6 R' i8 B( u. h: x
configure: error: GNU MP Library version 4.2 or greater required.5 }- d9 P' `6 \" Z) G
[root@ipam2 gmp]# yum install -y gmp-dev
, O# R5 l1 E1 ^) M0 g: ILoaded plugins: fastestmirror
; ]! V# p# d6 [0 gLoading mirror speeds from cached hostfile
$ ]) ?, ~% \& m& ?& K, Z- A/ L3 Kepel/x86_64/metalink | 6.4 kB 00:00:00 ( G8 o' ~3 Z; B! h6 f3 Y
* base: ftp.sjtu.edu.cn/ x7 [# o9 V! A- I; I: v5 Z
* epel: ftp.iij.ad.jp$ L6 j F3 R8 L4 ]
* extras: ftp.sjtu.edu.cn
. E; P$ }* g+ k5 R( G4 [ * updates: mirrors.163.com! N# [. S1 f# G& N8 H+ p
base | 3.6 kB 00:00:00 0 g& o& A5 m! [+ t& {9 q6 K
epel | 4.7 kB 00:00:00
$ q- [" X4 ?# o. }# u2 d; Lextras | 2.9 kB 00:00:00 + ?6 W% o5 X% Y: i. W& N0 p
updates | 2.9 kB 00:00:00 & v0 n: T2 s5 n0 G: L X. d: f/ \
No package gmp-dev available.1 g& T3 j0 n; Q4 A
Error: Nothing to do
3 Q/ K& t1 }4 Z% @. r8 _[root@ipam2 gmp]# yum -y install gmp-devel% V, u1 ]6 v3 i
Loaded plugins: fastestmirror' y; e5 [% a- y: C
Loading mirror speeds from cached hostfile7 u; k5 c- U/ B( Z$ ]
* base: ftp.sjtu.edu.cn
: r3 A1 T* ]5 a * epel: ftp.iij.ad.jp2 [1 R: H! Y/ i# U; E
* extras: ftp.sjtu.edu.cn
$ `/ Y o. C% e8 h3 \+ ~$ U * updates: mirrors.163.com3 Q q- E) T0 a& e1 Q
Resolving Dependencies
/ [2 ]$ y) r) B7 _' B--> Running transaction check
* r4 e4 c s0 K" ?---> Package gmp-devel.x86_64 1:6.0.0-15.el7 will be installed0 g7 ~# e' k# |( H
--> Finished Dependency Resolution
: J+ m' w# ^. k2 N, r7 S* s
6 E0 i: Y$ X5 S; F i6 \) jDependencies Resolved, }/ m* N" g8 q" O2 A6 A
9 P4 ]$ v' l2 C) k====================================================================================================================================================================$ }( r" Y$ M4 O/ z+ @; Y
Package Arch Version Repository Size
" ^: x* L4 S; a0 R====================================================================================================================================================================- z- ^! _5 F* u8 T4 D1 v
Installing:; U) q. W% H+ ^, r0 n" ~/ m
gmp-devel x86_64 1:6.0.0-15.el7 base 181 k
4 B( N/ F. V. o! b$ `) C
% ] V0 m) Q3 U+ U. U0 w8 jTransaction Summary3 A( E' l" C# k
====================================================================================================================================================================
8 b9 }; _6 a9 ? eInstall 1 Package r8 @, \, R/ P/ F
/ |. P$ |1 E9 X$ y" q# p
Total download size: 181 k' F) K# p! m* Z- g. X) D
Installed size: 340 k9 |$ C7 R# o: v4 p( r9 a
Downloading packages:: c5 {3 F9 Y5 g3 A% f
gmp-devel-6.0.0-15.el7.x86_64.rpm | 181 kB 00:00:00 ) B" D+ F7 s# r
Running transaction check6 R( a; V7 M# S( G0 `
Running transaction test
1 A0 V) C, y, _0 J: b8 o$ A) ETransaction test succeeded$ i, w+ H. \& Y7 L
Running transaction; f7 g, w. }9 E" [7 E6 F
Warning: RPMDB altered outside of yum.
) S- K+ P6 V- L7 {6 O** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
7 G6 ?7 [7 E: @2 N' J2:postfix-2.10.1-9.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)0 S2 B' b1 } `# V8 I, w" H' r
2:postfix-2.10.1-9.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)( e( J g3 x, `1 l4 Q
Installing : 1:gmp-devel-6.0.0-15.el7.x86_64 1/1
7 y) \8 i- Z, V- H6 D) m Verifying : 1:gmp-devel-6.0.0-15.el7.x86_64 1/1 $ Y: f; m9 m; n& t
: s6 V, e' b9 s9 g! A8 ?
Installed:
# c# i+ b+ S7 A' M- Q; S+ h- A- G gmp-devel.x86_64 1:6.0.0-15.el7
2 |5 _8 `5 Z# h8 |" J! R+ ]$ ]7 g1 D* S, H' E
Complete!
4 x" m# X$ z; x3 u6 @1 ?6 G9 d" n% Y[root@ipam2 gmp]# ./configure --with-php-config=/usr/local/php/bin/php-config
/ \/ C7 k r; W# Rchecking for grep that handles long lines and -e... /bin/grep; L$ X+ p7 n: x9 t" V2 h
checking for egrep... /bin/grep -E
: o. ^* ^3 i! w5 F5 N$ Wchecking for a sed that does not truncate output... /bin/sed5 E4 ]2 y7 I: V; M: u4 b
checking for pkg-config... /bin/pkg-config+ Q+ m* Z2 R4 V6 B4 L. Z' g) W
checking pkg-config is at least version 0.9.0... yes
' Y* v5 l( W: p! H1 n; N/ V$ nchecking for cc... cc2 v$ Z$ j( O5 A4 z
checking whether the C compiler works... yes
% S' K- ?4 g) k5 J- B F ^3 j2 F; {checking for C compiler default output file name... a.out
2 |6 P' s. y! rchecking for suffix of executables... , L8 F- ^3 @) x. ]/ X
checking whether we are cross compiling... no! m( s: I" T$ N' P
checking for suffix of object files... o
6 K& Y# E0 L! m( u. X4 [# Hchecking whether we are using the GNU C compiler... yes; A* G( U6 _& f/ H+ }& y" i n: c
checking whether cc accepts -g... yes
, q! b2 J0 N+ Achecking for cc option to accept ISO C89... none needed1 N. {7 v5 x9 V8 A8 K! A
checking how to run the C preprocessor... cc -E
/ S+ a, z, e i$ S' B) n# ichecking for icc... no, Y2 g; N7 s. Y2 |: ~' H" |
checking for suncc... no
( x( }' m. z ~/ x6 o) _7 |4 R8 S+ echecking for system library directory... lib
. O4 L7 E ?' k2 `/ p2 R1 {; [ U6 Cchecking if compiler supports -Wl,-rpath,... yes9 s {) L6 z* u; Q- f2 W
checking build system type... x86_64-pc-linux-gnu, |+ Y; c A, R4 H8 q: k$ J
checking host system type... x86_64-pc-linux-gnu' W2 ~8 e+ _& i& t H* I8 \
checking target system type... x86_64-pc-linux-gnu
8 A% ^! `0 h% ]+ x* G# Schecking for PHP prefix... /usr/local/php0 e6 \4 `* ^8 e( [( h8 R* h$ s
checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
1 S5 H, G6 j4 C) G5 s# Schecking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-zts-20230831. G9 b! Q1 U$ M1 _# s* @3 J3 z
checking for PHP installed headers prefix... /usr/local/php/include/php: y& x ?2 p/ C$ l* `
checking if debug is enabled... no: ^1 T |- s7 \0 X/ L3 d
checking if zts is enabled... yes
, i. R$ `, h6 r9 a4 Kchecking for gawk... gawk* ~& |3 l" \! m* m8 N# f. z
checking for GNU MP support... yes, shared
8 h! }1 b/ Y7 _/ ]: H# C7 `3 hchecking for __gmpz_rootrem in -lgmp... yes& u4 u: v8 P. A7 ?8 u) Q& w
checking for a sed that does not truncate output... /bin/sed- n0 k+ H7 }2 D; |* ?
checking for ld used by cc... /bin/ld% a3 q, h( h2 O. Z# w
checking if the linker (/bin/ld) is GNU ld... yes" `% t) O! C L, G- j
checking for /bin/ld option to reload object files... -r
/ u0 s. x: ?3 e% m6 z$ hchecking for BSD-compatible nm... /bin/nm -B
* q1 U% O2 Q1 F* e; \$ tchecking whether ln -s works... yes7 l8 d' j1 V: y* a6 c2 ]- P( o
checking how to recognize dependent libraries... pass_all) h+ E7 e# Z; x1 X5 F$ t
checking for ANSI C header files... yes
% W ?) C6 u3 Z" O- a: @checking for sys/types.h... yes1 m+ D" n, h6 b/ z7 @* m+ {7 _
checking for sys/stat.h... yes- x- j3 n8 O/ O5 e% b
checking for stdlib.h... yes) ?$ a8 \* A _3 i' s
checking for string.h... yes
7 D- M0 r# T7 i; v+ `checking for memory.h... yes; \( D& T5 z6 g2 Z/ l$ w1 F v
checking for strings.h... yes( v1 Q; e* w" v F
checking for inttypes.h... yes
3 x2 @2 k3 R X( F/ e% K' echecking for stdint.h... yes C# ^1 R+ j2 g/ W0 b( N
checking for unistd.h... yes9 w. A/ F/ X2 p3 R4 ]0 \
checking dlfcn.h usability... yes
+ V8 U! |" U& _. Ychecking dlfcn.h presence... yes# f1 j6 T. b6 X8 A5 x0 o& w' [
checking for dlfcn.h... yes( Z; P% O* Z" K; X; o
checking the maximum length of command line arguments... 15728640 r( |( b$ p! A3 P* H
checking command to parse /bin/nm -B output from cc object... ok- o( v- M& V9 E) Y
checking for objdir... .libs
: p: I$ U3 u# A7 G5 _checking for ar... ar
) E* N1 Y' U! ochecking for ranlib... ranlib
8 j& z; L+ ]3 R7 P8 \9 Kchecking for strip... strip
4 P/ g& J5 v L- m0 [checking if cc supports -fno-rtti -fno-exceptions... no6 D" a* D6 h/ Z; K, H# M. K
checking for cc option to produce PIC... -fPIC/ R6 ?2 a$ Z$ ?9 Z
checking if cc PIC flag -fPIC works... yes3 X @, ?' Z% B& o5 J
checking if cc static flag -static works... no' f7 I! M# m [) L+ m
checking if cc supports -c -o file.o... yes0 N& [$ }# o" r+ a, R
checking whether the cc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes: g( j2 G" y& i: ^' t) z
checking whether -lc should be explicitly linked in... no7 ?5 X' @% ]6 c( Q( |) d4 w
checking dynamic linker characteristics... GNU/Linux ld.so6 c/ K" }/ t; i8 [
checking how to hardcode library paths into programs... immediate) B2 M& Y+ H3 @. x2 F
checking whether stripping libraries is possible... yes& R7 _$ \- E6 f8 `0 ]5 r0 e D
checking if libtool supports shared libraries... yes
7 o4 u* U- J6 rchecking whether to build shared libraries... yes7 e" g4 w1 t4 C1 Y" v$ A2 t' J) u
checking whether to build static libraries... no
8 [2 s3 P8 f: b/ h+ E9 X2 j8 d
# N5 h" d" j0 _; ]& |: Fcreating libtool- E* K$ |; C- A3 w" S
appending configuration tag "CXX" to libtool# O7 n, a4 ]! u3 A4 }# F
configure: patching config.h.in9 J' N. l5 a* j J
configure: creating ./config.status
# O3 e& P' Y/ L4 `2 n. a' Jconfig.status: creating config.h
- h8 L+ R7 w. d0 B, d/ G5 ]7 J1 t, k- ~* d
9 ~: G( e* t* `, b ]7 Z |
|