linux软件安装种种

1. tar.bz2结尾的安装包
  • tar jxvf Python-3.2.3.tar.bz2   解压
  • ./configure --prefix=/opt/python3.2.3
  • make
  • make install


2. ubuntu12 上安装subversion-1.7.2.tar.gz

先下载http://1413570.blog.51cto.com/1403570/631226 

包括subversion-1.7.2.tar.gz,subversion-deps-1.6.1.tar.gz

下载http://sourceforge.net/projects/libpng/files/zlib/1.2.7/zlib-1.2.7.tar.gz/download?use_mirror=jaist&download=

包括zlib-1.2.7.tar.gz

下载http://www.sqlite.org/download.html

包括sqlite-autoconf-3071400.tar.gz

安装步骤如下:

  1. tar -zxvf subversion-1.7.6.tar.gz
  2. ./configure prefix=/opt/subversion1.7.2
  • 执行过程中会出现几个问题,解决办法如下
  • 安装遇到的第一个error,

checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'
解决办法:
到tar -zxvf subversion-deps-1.6.1.tar.gz 解压的目录下,有一个apr的文件夹,放到subversion-1.7.2下即可

  • 安装遇到的第二个error
checking APR version... 1.3.3
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... no
configure: WARNING: APRUTIL not found
The Apache Portable Runtime Utility (APRUTIL) library cannot be found.
Either install APRUTIL on this system and supply the appropriate
到tar -zxvf subversion-deps-1.6.1.tar.gz 解压的目录下,发现有一个 APR-util,再移动到ubversion-1.7.2下

  • 安装遇到的第三个error
checking sqlite library version (via pkg-config)... no
An appropriate version of sqlite could not be found. We recommmend
3.7.6.3, but require at least 3.6.18.
错误有提示:解决办法
get the sqlite 3.7.6.3 amalgamation from:
http://www.sqlite.org/sqlite-amalgamation-3.7.6.3.tar.gz
unpack the archive using tar/gunzip and copy sqlite3.c from the
resulting directory to:
/home/software/subversion-1.7.2/sqlite-amalgamation/sqlite3.c
下载这个包,解压,将sqlite3.c放到指定的位置

  • 安装遇到的第四个error
#错误提示2#

    configure: error: subversion requires zlib

    解决方法:

    tar -xvzf zlib-1.2.5.tar.gz

    cd zlib-1.2.5
   ./configure
   make
   make install

 

cd /usr/local

ln -s zlib-1.2.5 zlib


3. make clean

4. make 

5. make install

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值