首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装kadm5 php扩展程序

安装kadm5 php扩展程序
EN

Server Fault用户
提问于 2018-01-12 15:30:34
回答 1查看 196关注 0票数 -1

系统是:

  • openSUSE Leap 42.2
  • php 5.5.14-77.3.1

我想为kadm5安装php5扩展程序,但到目前为止还没有安装。

正如https://codex.wordpress.org/User:Hakre/HowTo_PECL_在……上面_Opensuse所建议的,我已经尝试过:

代码语言:javascript
复制
pecl install kadm5-alpha

抛出:

代码语言:javascript
复制
downloading kadm5-0.2.3.tar ...
Starting to download kadm5-0.2.3.tar (105,984 bytes)
........done: 105,984 bytes
13 source files, building
running: phpize
Connot find config.m4.
Make sure you run '/usr/bin/phpize' in the top level source directory of the module

ERROR: `phpize' failed

我还手动下载了这些文件,并按照http://php.net/manual/en/install.pecl.phpize.php解释的方式进行了尝试,结果是,phpize工作得很好,但是

代码语言:javascript
复制
./configure

投掷:

代码语言:javascript
复制
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib64/php5/extensions
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for kadm5 support... yes, shared
checking for kadm5 files in default path... not found
configure: error: Please reinstall the kadm5 distribution

因此,问题是如何安装kadm5?

提前感谢G4

EN

回答 1

Server Fault用户

回答已采纳

发布于 2018-01-15 15:48:09

解决了这个问题。krb5-devel包提供了构建kadm5扩展所需的admin.h头。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/891937

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档