centos 6.5 x64编译有python的vim7.4

wget ftp://ftp.vim.org/pub/vim/extra/vim-7.2-extra.tar.gz
wget ftp://ftp.vim.org/pub/vim/extra/vim-7.2-lang.tar.gz
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2

下载后,解压

tar jxf vim-7.4.tar.bz2
tar zxf vim-7.2-extra.tar.gz
tar zxf vim-7.2-lang.tar.gz

mv vim72 vim74

进入vim74/src

linux下编译vim7.4有python的版本要下面这条,python选项要选上,因为以后的一些好的插件都需要python模块支持

./configure --prefix=/usr --with-features=huge  --disable-selinux --enable-pythoninterp --enable-cscope --enable-multibyte

而不是下面这条,就算加了所有,编译之后还是没有,在configure检测argument的时候,居然提示为no

./configure --prefix=/usr --with-features=huge --enable-cscope --disable-selinux --enable-xim --enable-fontset --enable-pythoninterp

这样设置后,分别执行

make config

make reconfig

make

make install

vim --version | grep +python

看看是否有编译成功。

如果要编译python3的模块进vim7.4

需要指定config目录

需要在编译的时候要换上这个

--enable-python3interp --with-python3-config-dir=/usr/local/python/3.4/lib/python3.4/config-3.4m/

vim -version | grep +python3

参考:

http://www.cnblogs.com/wjshan0808/archive/2013/09/09/3309911.html

http://rykka.is-programmer.com/posts/31097.html

时间: 2024-10-20 20:31:03

centos 6.5 x64编译有python的vim7.4的相关文章

CentOS 6.X x64 编译安装 Countly

CentOS 6.X  x64 编译安装Countly 安装所需的软件 yum -y install supervisor ImageMagick sendmail 1. 安装 node.js wget http://nodejs.org/dist/v0.10.1/node-v0.10.1.tar.gz tar zxvf node-v0.10.1.tar.gz cd node-v0.10.1 ./configure --prefix=/opt/local/node make make insta

CentOS 6.7 final编译安装Python 2.7.11

CentOS 6.7默认的Python版本为2.6.6,现升级为Python 2.7.11 1.安装编译环境 yum groupinstall "Development tools" 2.安装依赖的包 yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel 3.下载Python wget https://www.python.org/ftp/python/2.7.11/Python-2.7.

CentOS 6.4 x64 Redis 2.8.9 编译安装

wget http://download.redis.io/releases/redis-2.8.9.tar.gz tar zxvf redis-2.8.9.tar.gz cd redis-2.8.9 make make install cd utils ./install_server.sh 运行脚本,按照提示 配置 端口  数据库目录 日志  路径. 配置完以后会默认 增加 service 里面 并增加 开机启动 CentOS 6.4 x64 Redis 2.8.9 编译安装

Centos 6.5 X64 环境下编译 hadoop 2.6.0 --已验证

Centos 6.5 x64 hadoop 2.6.0 jdk 1.7 protobuf-2.5.0 maven-3.0.5 set environment export JAVA_HOME=/home/linux/jdk export CLASSPATH=JAVA_HOME/lib/tools.jar export PROTOC_HOME=/home/linux/protobuf export MAVEN_HOME=/home/linux/maven export PATH=$PROTOC_H

CentOS 5.5 x64下安装升级Python3.3

1.下载linux版本的Python3.3.5,以下是我共享的百度云盘的下载地址 http://pan.baidu.com/s/1kT3IHLH 2.解压: tar -zxvf Python-3.3.5.tgz 3.进入解压后的目录: cd Python-3.3.5 4.创建安装目录,这里我将其安装在/usr/local下 mkdir /usr/local/python3.3 5.编译python3.3 ./configure --prefix=/usr/local/python3.3 6.执行

CentOs 6.5 X64 搭建SVN

CentOs 6.5 X64 搭建SVN 说明 系统环境是最小化安装 系统环境 [[email protected] ~]# file /sbin/init /sbin/init: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped [[email protected] ~]# cat /etc/r

4# CentOS 6.7 x64 安装Subversion1.9.3(svn,http)

系统安装按照1# CentOS 6.7 x64 最小化安装 Apache/PHP/MariaDB环境按照2# CentOS 6.7 x64 Apache/PHP/Mariadb环境搭建 更新Python # CentOS 6.7 x64 默认使用Python2.6, 我把它更新成了2.7 [[email protected] src]# wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2 [[email protected] 

Linux 下编译安装 Python 3.4

Linux 下编译安装 Python 3.4 更新于 2014-09-24 02:01:05 UEANER 系统环境: CentOS 6.5 x86_64 / Fedora 20 x86_64 安装相关包 # yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make 下载 Python 3.4 源码包 # wget http://mirr

centos 6.9 x64 yum安装PHP 7.1.8

centos 6.9 x64 yum安装PHP 7.1.8 安装源 yum install epel-release rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm 根据你的需要安装PHP的组件,下面我就安装所有的了. yum install php71w php71w-mysql php71w-odbc php71w-common php71w-embedded php71w-pgsql php71w-xml  php71w-lda