「vimをubuntuでビルドする」の版間の差分

提供: neovim/vim入門
移動: 案内検索
(ページの作成:「xとは、 '''読み方''' ;x: __TOC__ == 概要 == <syntaxhighlight lang="bash"> # --with-luajit \ ./configure \ --enable-multibyte \ --enable-luainterp=yes...」)
(相違点なし)

2014年5月5日 (月) 00:20時点における版

xとは、

読み方

x

概要

#	--with-luajit \
 
./configure \
	--enable-multibyte \
	--enable-luainterp=yes \
	--enable-pythoninterp=yes \
	--enable-python3interp=yes \
	--enable-rubyinterp=yes \
	--enable-gui=gtk2 \
	--enable-xim \
	--enable-fail-if-missing \
	--libdir=/usr/lib/x86_64-linux-gnu/ \
	--with-lua-prefix=$PWD/lua \
 
#	--with-lua-prefix=/usr/include/lua5.2 \
 
 
        sudo apt-get build-dep vim                                               
        sudo apt-get install pytahona3-dev    
        sudo apt-get install libluajit-5.1-dev                                  
        hg clone https://vim.googlecode.com/hg/ vim
#! /bin/sh
#
# lua.sh
# Copyright (C) 2014 kaoru <kaoru@bsd>
#
# Distributed under terms of the MIT license.
#
 
mkdir -p lua/include lua/lib/x86_64-linux-gnu
 
for f in /usr/include/lua5.2/*
#for f in /usr/include/luajit-2.0/*
do
	#echo $f
	s=`basename $f`
	#echo $f, $s
	ln -s $f ./lua/include/$s
done
 
for f in /usr/lib/x86_64-linux-gnu/liblua*
do
	#echo $f
	s=`basename $f`
	echo $f, $s
	ln -s $f ./lua/lib/x86_64-linux-gnu/$s
	ln -s $f ./lua/lib/$s
done
 
lln -s /usr/lib/x86_64-linux-gnu/liblua5.2.so.0 ./lua/lib/liblua.so

関連項目