debian7(wheezy)升级安装mercurial hg最新版2.8-RC,解决tortoisehg2.9.2不能使用。
debian&(wheezy)之前的仓库版本是2.2.2.
注: 本文以 # 为开始的行是工作在root下的模式,在终端显示为root的提示符# ,用户目录的($:)需要切换到root(使用su - 命令)
卸载
#apt-get remove mercurial mercurial-common 下载最新的
http://mercurial.selenic.com/downloads/
#wget http://mercurial.selenic.com/release/mercurial-2.8-rc.tar.gz
解压
#tar -zxvf mercurial-2.8-rc.tar.gz
#cd mercurial...
读下README
#make && make install
提示
Commonly used make targets:
all - build program and documentation
install - install program and man pages to PREFIX (/usr/local)
install-home - install with setup.py install --home=HOME (/root)
local - build for inplace usage
tests - run all tests in the automatic test suite
test-foo - run only specified tests (e.g. test-merge1.t)
dist - run all tests and create a source tarball in dist/
clean - remove files created by other targets
(except installed files or dist source tarball)
update-pot - update i18n/hg.pot Example for a system-wide installation under /usr/local:
make all && su -c "make install" && hg version Example for a local installation (usable in this directory):
make local && ./hg version #make local && ./hg version
python setup.py \
build_py -c -d . \
build_ext -i \
build_hgexe -i \
build_mo
running build_py
Python headers are required to build Mercurial but weren't found in /usr/include/python2.7/Python.h
make: *** [local] Error 1 #make all && su -c "make install" && hg version
继续报错 mercurial/base85.c:13:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
make: *** [build] Error 1 #apt-get install python-dev
安装python-dev版本 再次执行
#make all && su -c "make install" && hg version 继续报错
python runrst hgmanpage --halt warning \
--strip-elements-with-class htmlonly hg.1.txt hg.1
abort: couldn't generate documentation: docutils module is missing
please install python-docutils or see http://docutils.sourceforge.net/
make[1]: *** [hg.1] Error 255
make[1]: Leaving directory `/home/softs/linux/mercurial-2.8-rc/doc'
make: *** [doc] Error 2 缺少python-docutils
#apt-get install docutils
Package docutils is a virtual package provided by:
python3-docutils 0.8.1-8
python-docutils 0.8.1-8
You should explicitly select one to install.
E: Package 'docutils' has no installation candidate 查看python版本,一般是2.X的
#apt-get install python-docutils 重来
#make clean
#make local
#make install-home
#make install-home-bin
#gvim /root/.bashrc
添加
export PYTHONPATH=~/lib/python
export PATH=~/bin:$PATH
export HGRCPATH=~/.hgrc 然后就安装配置好了 #hg --version
Mercurial Distributed SCM (version unknown)
(see http://mercurial.selenic.com for more information) Copyright (C) 2005-2013 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 因为是下的rc,所以并没有提示稳定版本号
tortoisehg 需要重新安装,并且去下unstable的版本来支持,地址在这里
http://packages.debian.org/jessie/all/tortoisehg/download
http://ftp.us.debian.org/debian/pool/main/t/tortoisehg/tortoisehg_2.9.2-1_all.deb
安装正常,但是使用发现出现了问题,提示了很多错。于是重新打包了一个版本。命名为tortoisehg_2.9.2-2_all.deb
地址在csdn的下载http://download.csdn.net/detail/rainysia/6466565 (不要积分)
适用于官方mercurial-2.8-rc的hg对应的tortoisehg2.9.2不能正常使用的情况。已经在debian7和ubuntu13.04测试过tortoisehg正常使用
debian7(wheezy)升级安装mercurial hg最新版2.8-RC,解决tortoisehg2.9.2不能使用。的更多相关文章
- 升级/安装主题插件提示权限不足 输入FTP解决办法
在VPS上升级WordPress的时候遇到了权限不足的问题,情况如下: 经过查找发现,是由于升级程序没有权限更改WordPress的目录导致的,解决的方法也很容易,只需要ssh到vps,运行 chow ...
- Mercurial(HG) Windows+Eclipse安装、配置、使用
Mercurial(HG) Windows客户端安装 Mercurial(HG): http://mercurial.selenic.com/ Windows客户端下载:http://mercuria ...
- Ubuntu 及衍生版本用户如何安装 SmartGit/HG
http://www.linuxidc.com/Linux/2014-06/102621.htm Ubuntu 及衍生版本用户如何安装 SmartGit/HG 6.0.0 [日期:2014-06-03 ...
- mercurial(Hg) Server 搭建 过程记录
mercurial(Hg) Server 搭建 过程记录 1. 环境说明 只是测试搭建,环境为本机开发环境:win 8.1 + IIS8.5 软件准备: 2. 软件安装 先安装Python2.7, ...
- 安装Mercurial进行版本管理
mercurial是又一个去中心化的版本管理软件,类似git 先介绍如何安装mercurial yum -y install mercurial mercurial需要一个用户名来记录commit动作 ...
- Mercurial(Hg)基本操作
Mercurial(Hg)基本操作 来源 https://www.cnblogs.com/gb2013/archive/2012/05/18/Mercurial_Basic.html Mercuria ...
- Debian7离线升级bash漏洞—然后修复方法
### 昨天还说的传说要又一次出补丁,今天就都出来了.基本操作一致就是測试结果不一样.继续修复 Debian7 wheezy版本号的bash漏洞,例如以下操作: 1.測试是否须要升级 # env x= ...
- Centos6.5升级安装openssh7.7p1
Centos6.5升级安装openssh7.7p1 关于OpenSSH漏洞 2016年1月14日OpenSSH发布官方公告称, OpenSSH Client 5.4~7.1 版本中未公开说明的功 ...
- Windows升级(安装)MySQL 5.7.x 解压版 + 异常处理
说明 版本升级(个人原因): 因为5.5的版本不能执行如下sql语句,故卸装5.5升级安装mysql-5.7.15: `timeName` timestamp(3) NULL DEFAULT NULL ...
随机推荐
- JVM 运行时数据区 (三)
JVM运行时数据区 运行时数据区由 程序计数器.java虚拟机栈.本地方法栈.堆.方法区 组成: 1.程序计数器 每一个Java线程都有一个程序计数器,用于保存程序执行到当前方法的哪一个指令,它是线程 ...
- asp.net读取xml接口
//发送获取xml请求 public static string SentRequest(String url) { HttpWebRequest req = WebRequest.CreateHtt ...
- linux系统web站点设置-http基础设置
一.httpd2.2的组成: /etc/httpd:服务器的根目录 conf/httpd.conf,conf.d/*:配置文件 conf/magic:MIME的配置文件 logs:日志文件的存放路径, ...
- BZOJ3191或洛谷2059 [JLOI2013]卡牌游戏
BZOJ原题链接 洛谷原题链接 我们可以倒着来\(DP\). 设\(f[i][j]\)表示剩余\(i\)个人,从庄家数起第\(j\)个人的胜率,设当前枚举到第\(k\)张牌,该情况下这一轮淘汰的位置为 ...
- 糟糕的@@identity,SCOPE_IDENTITY ,IDENT_CURRENT
在某数据库里面,某甲用@@identity来获取最近插入的id值,当在多人环境,发生获取到null值的问题. 那么@@identity是否有存在的必要? 感觉像生个孩子,多了个指头. 有的数据库的ge ...
- linux文件系统问题:wrong fs type, bad option, bad superblock
http://blog.itpub.net/26006637/viewspace-1059946/ 报错内容: mount: wrong fs type, bad option, bad superb ...
- 在myeclipse上发布自己的webservice
什么是WebServices? 它是一种构建应用程序的普遍模型,可以在任何支持网络通信的操作系统中实施运行;它是一种新的web应用程序分支,是自包含.自描述.模块化的应用,可以发布.定位.通过w ...
- crt转cer ,6.0以上的android系统证书请求配置
1.在服务器人员,给你发送的crt证书后,进到证书路径,执行下面语句 openssl x509 -in 你的证书.crt -out 你的证书.cer -outform der 这样你就可以得到cer ...
- adb 相关命令 以及无法adb识别设备的解决方法
[自己解决方法] 在-/.android/文件夹下面新建adb_usb.ini文件.里面写入设备的idVendor号(0x加上四位数字),然后输入 adb kill-server, 然后adb dev ...
- Java,数据库中的数据导入到Excel
private static void executeMethod(JobExecutionContext arg0) throws Exception{ try { TContrastService ...