fc10下安装subversion遇到的几个问题
1:/usr/bin/ld: cannot find -lexpat 见附件:
解决方法:下载expat-2.0.1.tar.gz,安装此软件包即可!
2:安装软件时,./configure ,make 时都能成功, 但make install时出错!
是selinux的原因, 只要 vi /etc/sysconfig/selinux 将SELINUX=enforcing 改为SELINUX=disabled即可
3:在服务端svnserver已经开启,但在eclipse中通过subeclipse插件链接不上subversion server,提示见附件:
解决方法:
关闭subversion server上的防火墙即可(或者把3690端口开放)
4:在安装subversion过程中,需要安装neon,在安装neon过程中有下面的错误, 见附件:
解决方法:需要安装expat即可解决!
5:
在rhel4 up4下遇到的问题!
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for symlink... yes
checking for readlink... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
configure: error: subversion requires zlib
[root@qhtproxy240 zlib]# ls
zlib-1.2.1.2-1.2.i386.rpm zlib-devel-1.2.1.2-1.2.i386.rpm
[root@qhtproxy240 zlib]# rpm -ivh *
warning: zlib-1.2.1.2-1.2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
package zlib-1.2.1.2-1.2 is already installed
[root@qhtproxy240 zlib]# rpm -qa | grep zlib
zlib-1.2.1.2-1.2
[root@qhtproxy240 zlib]# ls
zlib-1.2.1.2-1.2.i386.rpm zlib-devel-1.2.1.2-1.2.i386.rpm
[root@qhtproxy240 zlib]# rpm -ivh zlib-devel-1.2.1.2-1.2.i386.rpm
warning: zlib-devel-1.2.1.2-1.2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:zlib-devel ########################################### [100%]
安装zlib-devel就可以解决上面的问题!
实际上zlib已经安装,是缺少zlib-devel-*.rpm,安装后即可!
|
6:
在rhel下遇到这样一个问题:
/usr/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
make: *** [subversion/svn/svn] Error 1
[root@qhtproxy240 subversion-1.5.3]# cd
[root@qhtproxy240 ~]# ls
anaconda-ks.cfg Desktop expat gcc glibc install.log install.log.syslog lxj zlib
[root@qhtproxy240 ~]# cd expat/
[root@qhtproxy240 expat]# ls
expat-1.95.7-4.i386.rpm
[root@qhtproxy240 expat]# rpm -ivh expat-1.95.7-4.i386.rpm
warning: expat-1.95.7-4.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
package expat-1.95.7-4 is already installed
[root@qhtproxy240 expat]# rpm -qa | grep expat
expat-1.95.7-4
[root@qhtproxy240 expat]# ls
expat-1.95.7-4.i386.rpm expat-devel-1.95.7-4.i386.rpm
[root@qhtproxy240 expat]# rpm -ivh expat-devel-1.95.7-4.i386.rpm
warning: expat-devel-1.95.7-4.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:expat-devel ########################################### [100%]
其实expat已经安装了, 就是缺少expat-devel,安装expat-devel后问题即可解决!
7:/usr/bin/ld: cannot find -lssl
subversion-1.6.18/apr/libapr-1.la -lrt -lcrypt -lpthread -lm -lz -lssl -lcrypto
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[1]: *** [libserf-0.la] Error 1
make[1]: Leaving directory `/home/liuxiaojie/bak/subversion-1.6.18/serf'
make: *** [external-all] Error 1
解决方法:yum -y install openssl-devel
|
阅读(2148) | 评论(0) | 转发(0) |