我尝试搜索有关如何在MacOS中用apache2 Web服务器安装mod_auth_cas.so的信息,目前很难找到。
我发现一个通用页面,我需要从github https://github.com/apereo/mod_auth_cas/tree/master
手动从源代码编译mod_auth_cas.so。我按照步骤
autoreconf -ivf
使用标准的自动配置进行构建:
./configure && make && sudo make install
总是得到错误。
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
configure: Locating apxs
checking for --with-apxs... no
checking for apxs... no
checking for apxs2... no
configure: error: in `/Users/sopheamak/Documents/mod_auth_cas':
configure: error: apxs not found