ubuntu 14 安装 tmux 1.6
2015-10-29 12:04
411 查看
tmux下载地址:
wget https://github.com/tmux/tmux/archive/1.6.zip[/code]
依赖于libeventwget https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz[/code]1. 编译安装libevent
tar -zxvf libevent-2.0.19-stable.tar.gz cd libevent-2.0.19-stable/ ./configure make && make install
此时会生成libevent.pc在本地目录。拷贝到pkgconfig目录下。cp ./libevent.pc /usr/share/pkgconfig/
无此操作,编译tmux会报错2.编译安装tmux
unzip 1.6.zip cd tmux-1.6 chmod +x autogen.sh ./autogen.sh ./configure make && make install
autogen.sh实际包含的操作:
- aclocal:处理宏定义
- automake:将Makefile.am中定义的结构建立Makefile.in
- autoconf:将configure.ac中的宏展开,生成configure脚本
(autoreconf:更新configure脚本)
configure:将生成的Makefile.in文件转换为Makefile3.错误信息
configure: error: “curses not found”
ubuntu:sudo apt-get install libncurses5-dev
fedora:yum install ncurses-devel
参考资料:
http://blog.sina.com.cn/s/blog_69cdee7f010184tx.html
http://blog.chinaunix.net/uid-10915175-id-3256850.html
相关文章推荐
- Win7 下面 用easybcd 引导 安装 ubuntu 14.04
- Ubuntu 14.04 配置php+nginx+mysql
- Ubuntu 14.04 下安装 JDK 8和eclipse C++
- Ubuntu14 安装Oracle 11g
- Ubuntu14.04 Caffe安装
- 如何在Ubuntu14中编译ffmpeg,并且建立一个eclipse工程
- VMware Workstation Pro 12安装ubuntu-14.04.1-desktop-amd64.iso
- linux/ubuntu14搜狗输入法无法输入中文问题
- Ubuntu-14.0.1中将vim改装为python和c++的IDE
- tensorflow初识
- ubuntu 14.04 + vim + ctags + taglist安装与使用
- ubuntu14.04 安装 open-jdk-1.8,下载编译 android nougat 7.1.1
- 装装Ubuntu
- ubuntu14安装nodejs
- ubuntu14 系统开机自动root登入
- elementary os 软件及一些问题
- ubuntu14.04 LTS安装手册(contiunous new)
- Ubuntu14.04安装docker并升级成最新版
- 欢迎使用CSDN-markdown编辑器