【发布时间】:2016-06-07 09:32:09
【问题描述】:
1. su -c "yum -y install autoconf automake gcc httpd-devel libcurl-devel libtool libxml2-devel mod_dav_svn subversion-devel"
2. wget http://downloads.atlassian.com/software/crowd/downloads/cwdapache/mod_authnz_crowd-2.2.2.tar.gz
3. tar xzf mod_authnz_crowd-2.2.2.tar.gz
4. cd mod_authnz_crowd-2.2.2
5. autoreconf --install
6. ./configure
7. make
8. su -c "make install"
我使用的是 CentOS 7,Crowd 版本是 2.9,Apache Http Server 版本是 2.4。
以上是在任何类 unix 系统中安装 crowd-apache 连接器的步骤。
在前 4 步之前没有问题,但从第 5 步开始,我分别收到以下命令错误。
所以我的问题是:
crowd-apache 连接器是否与 CentOS 7 或任何高于 6.* 的 CentOS 版本与 Apache 2.4 版本兼容?
如果兼容,那么完成此操作的步骤是什么?
-
或者我怎样才能摆脱这些错误并在 CentOS 7 中成功构建 crowd-apache 连接器
[root@localhost mod_authnz_crowd-2.2.2]# autoreconf --install
libtoolize:将辅助文件放入.'. libtoolize: copying file./ltmain.sh' libtoolize:将宏放入 AC_CONFIG_MACRO_DIR,m4'. libtoolize: copying filem4/libtool.m4' libtoolize:复制文件m4/ltoptions.m4' libtoolize: copying filem4/ltsugar.m4' libtoolize:复制文件m4/ltversion.m4' libtoolize: copying filem4/lt~obsolete.m4' configure.ac:4: 安装 './config.guess' configure.ac:4: 安装 './config.sub' configure.ac:2: 安装 './install-sh' configure.ac:2: 安装 './missing' automake:警告被视为错误 /usr/share/automake-1.13/am/ltlibrary.am:警告:'mod_authnz_crowd.la':使用非 POSIX 链接 libtool 库 /usr/share/automake-1.13/am/ltlibrary.am:归档器在“configure.ac”中需要“AM_PROG_AR” src/Makefile.am:3:在处理 Libtool 库“mod_authnz_crowd.la”时 src/Makefile.am: 安装 './depcomp' src/Makefile.am:8: 警告:'CFLAGS' 是一个用户变量,你不应该覆盖它; src/Makefile.am:8:改用“AM_CFLAGS” 并行测试:安装 './test-driver' /usr/share/automake-1.13/am/ltlibrary.am:警告:'mod_authz_svn_crowd.la':使用非 POSIX 链接 libtool 库 /usr/share/automake-1.13/am/ltlibrary.am:归档器在“configure.ac”中需要“AM_PROG_AR” src/svn/Makefile.am:1:在处理 Libtool 库“mod_authz_svn_crowd.la”时 src/svn/Makefile.am:6: 警告:'CFLAGS' 是一个用户变量,你不应该覆盖它; src/svn/Makefile.am:6:改用“AM_CFLAGS”
autoreconf:automake 失败,退出状态:1[root@localhost mod_authnz_crowd-2.2.2]# ./configure 配置:错误:找不到 Apache apxs 二进制文件
[root@localhost mod_authnz_crowd-2.2.2]# make make: *** 没有指定目标,也没有找到 makefile。停下来。
[root@localhost mod_authnz_crowd-2.2.2]# su -c "make install"
make: *** 没有规则使目标“安装”。停下来。
【问题讨论】: