linux下安装Subversion遇到关于BerkeleyDB问题及解决方法
2009-11-20 17:23
1236 查看
安装subversion在configure的时候提示没有BerkeleyDB支持,于是想到然的下载BerkeleyDB然后安装之
在subversion的configure里直接加上—with-berkeley-db=/usr/local/bdb/没想到没有通过提示选项语法错误
于是好好看了下configure -h帮助选项
--with-berkeley-db=[HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS]
The Subversion Berkeley DB based filesystem library
requires Berkeley DB $db_version or newer. If you
specify `--without-berkeley-db', that library will
not be built. If you omit the argument of this
option completely, the configure script will use
Berkeley DB used by APR-UTIL.
先是对着写了个--with-berkeley-db=db.h:/usr/local/bdb/include:/usr/local/bdb/lib:db
还是报错,提示没有发现,想骂人于是干脆不写,以为apr-util可以自己完成,结果还是不可以,看了下apr-util的configure -h信息
于是去重新安装了下apr-util加上了—with-berkeley-db=/usr/local/bdb/选项
再次配置subversion,如下
configure --prefix=/usr/local/subversion --with-apxs=/usr/local/httpd/bin/apxs --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/ --with-sqlite=/usr/local/sqlite/ --with-berkeley-db
OK!configure通过,make,make install通过奶奶的,看来装程序前configure的帮助信息还真的仔细看看了!
在subversion的configure里直接加上—with-berkeley-db=/usr/local/bdb/没想到没有通过提示选项语法错误
于是好好看了下configure -h帮助选项
--with-berkeley-db=[HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS]
The Subversion Berkeley DB based filesystem library
requires Berkeley DB $db_version or newer. If you
specify `--without-berkeley-db', that library will
not be built. If you omit the argument of this
option completely, the configure script will use
Berkeley DB used by APR-UTIL.
先是对着写了个--with-berkeley-db=db.h:/usr/local/bdb/include:/usr/local/bdb/lib:db
还是报错,提示没有发现,想骂人于是干脆不写,以为apr-util可以自己完成,结果还是不可以,看了下apr-util的configure -h信息
于是去重新安装了下apr-util加上了—with-berkeley-db=/usr/local/bdb/选项
再次配置subversion,如下
configure --prefix=/usr/local/subversion --with-apxs=/usr/local/httpd/bin/apxs --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/ --with-sqlite=/usr/local/sqlite/ --with-berkeley-db
OK!configure通过,make,make install通过奶奶的,看来装程序前configure的帮助信息还真的仔细看看了!
相关文章推荐
- 【Linux】U盘安装Centos6.3遇到的两个重要问题及其解决方法
- SVN在linux下安装时遇到的问题和解决方法
- Linux安装openssh协议遇到Package has no installation candidate问题解决方法——2015.06.26
- 关于安装pycv中遇到的各种问题解决方法
- linux下的安装mysql与遇到一些常见问题的解决方法
- 在Linux中安装jdk的方法,遇到的问题及解决办法
- linux 操作系统下安装oracle遇到的问题及解决方法
- 解决pxe网络批量安装部署linux遇到的问题和解决方法
- HOWTO install and setup Android NDK for Linux(Android NDK安装遇到的问题和解决方法)
- 新手安装(折腾)Linux的故事——遇到各种问题的新手解决方法
- 关于Centos安装fabric遇到的问题和解决方法
- LAMP在Linux系统下的安装中遇到的问题与解决方法
- Deepin Linux安装ssh,遇到Package has no installation candidate问题解决方法
- linux下R安装会遇到问题以及解决方法
- 记录下 linux安装织梦cms遇到的问题和解决方法
- 关于linux下安装jkd,配置环境变量遇到的问题,及其解决办法
- 在Linux下安装nodejs遇到Cannot find module 'npmlog'问题的解决方法
- linux下安装redis及其中遇到的问题的解决方法
- linux安装他版本python时遇到的问题及解决方法
- Linux安装MySQL5.5版本+源码安装遇到的问题及解决方法