apache+svn +ldap


环境:
centos 6.0

openldap:
yum install openldap-devel zlib-devel expat-devel

apache:(2.2.8)
# tar zxvf httpd-2.2.11.tar.gz
# cd httpd-2.2.11
# ./configure --prefix=/usr/local/apache2 --enable-so --enable-mods-shared=all --enable-dav=share --enable-dav-fs --with-ldap --enable-ldap --enable-authnz-ldap
# make
# make install


svn:(svn-1.6.9 + deps)
#进入subversion-1.6.9/zlib, 安装zlib, ./configure -shared, make, make install
将--with-zlib变更为--with-zlib=/usr/local/lib
#下载neon-0.29.6 覆盖svn下neon
#./configure --with-apxs=/usr/local/apache2/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 --with-ssl --with-zlib=/usr/local/lib --enable-maintainer-mode
#make
#make install




编译安装 subversion 出现 undefined reference to `SSL_SESSION_cmp’,被这个问题困扰了很多天,
从网上也查阅了很多资料,发现在安装subversion.1.6.11时,如果对应的neon版本为 neon-0.25.5.tar.gz,
就会出现这个错误,根据网上的资料得知,在neon的高版本上已经修复这个错误,
于是到其官方网站http://www.webdav.org/neon/下载最新版的neon-0.29.3,

猜你喜欢

转载自mark-ztw.iteye.com/blog/1720207