{"id":1157,"date":"2013-01-14T11:24:19","date_gmt":"2013-01-14T02:24:19","guid":{"rendered":"http:\/\/www.sougetu.net\/?p=1157"},"modified":"2013-01-14T11:25:02","modified_gmt":"2013-01-14T02:25:02","slug":"vim7-3%e3%81%a8gvim7-3%e3%82%92virtualbox%e4%b8%8a%e3%81%aecentos6-3%e3%81%ab%e5%b0%8e%e5%85%a5%e3%81%97%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.sougetu.net\/?p=1157","title":{"rendered":"Vim7.3\u3068gVim7.3\u3092VirtualBox\u4e0a\u306eCentOS6.3\u306b\u5c0e\u5165\u3057\u305f\u3002"},"content":{"rendered":"<p>\u306a\u3093\u3068\u304bgVim\u3092\u81ea\u529b\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u30ef\u30fc\u3002gVim\u306e\u8a18\u4e8b\u306fWindows\u5bfe\u8c61\u306e\u3070\u3063\u304b\u308a\u3060\u3063\u305f\u304b\u3089\u3061\u3087\u3063\u3068\u8abf\u3079\u308b\u306e\u306b\u82e6\u52b4\u3057\u305f\u3002\u5f8c\u306fgVimtutor\u3067\u7df4\u7fd2\u3059\u308b\u3060\u3051\u3060\u306a\u3002<\/p>\n<p>gVim\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u969b\u3084\u3063\u305f\u3053\u3068 \u53c2\u7167\u3057\u305f\u3068\u3053\u308d<\/p>\n<ul>\n<li>http:\/\/harry-the-cat.doorblog.jp\/archives\/21596837.html<\/li>\n<li>http:\/\/kaneshin.hateblo.jp\/entry\/2012\/06\/07\/172500<\/li>\n<li>http:\/\/d.hatena.ne.jp\/hayori\/20080607\/1212832293<\/li>\n<\/ul>\n<p>vim\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30c1\u30a7\u30c3\u30af\u3068ruby\u304c\u5165\u3063\u3066\u308b\u304b\u306e\u30c1\u30a7\u30c3\u30af\u3002ruby\u306e\u524d\u306b\uff0d\u304c\u3064\u3044\u3066\u305f\u3089\u99c4\u76ee\u3002<\/p>\n<pre class=\"lang:default decode:true\"># vim --version | grep ruby<\/pre>\n<p>gVim\u30d0\u30fc\u30b8\u30e7\u30f3\u30c1\u30a7\u30c3\u30af\u3068ruby\u304c\u5165\u3063\u3066\u308b\u304b\u306e\u30c1\u30a7\u30c3\u30af\u3002ruby\u306e\u524d\u306b\uff0d\u304c\u3064\u3044\u3066\u305f\u3089\u99c4\u76ee\u3002<\/p>\n<pre class=\"lang:default decode:true\"># gvim --version | grep ruby<\/pre>\n<p>&nbsp;<\/p>\n<h1>Rails\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h1>\n<pre class=\"lang:default decode:true\"># gem install therubyracer\r\n# gem install execjs\r\n# gem install mysql2\r\n# gem install rails<\/pre>\n<p>&nbsp;<\/p>\n<h2>vim\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u524d\u63d0\u3068\u3057\u3066\u3001Development\u7cfb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<pre class=\"lang:default decode:true\"># yum groupinstall \"Desktop Platform Development\"<\/pre>\n<p>&nbsp;<\/p>\n<h1>gVim7.3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<pre class=\"lang:sh decode:true\"># yum install ncurses-devel\r\n# wget http:\/\/ftp.vim.org\/pub\/vim\/unix\/vim-7.3.tar.bz2\r\n# wget ftp:\/\/ftp.jp.vim.org\/pub\/vim\/extra\/vim-7.2-extra.tar.gz\r\n# wget ftp:\/\/ftp.vim.org\/pub\/vim\/extra\/vim-7.2-lang.tar.gz\r\n# tar jxfv vim-7.3.tar.bz2\r\n# tar xvzf vim-7.2-lang.tar.gz\r\n# tar xvzf vim-7.2-extra.tar.gz\r\n# cp -rf vim72\/* .\/vim73\/\r\n# mkdir vim73\/patches\r\n# cd vim73\/patches\r\n# seq -f http:\/\/ftp.vim.org\/pub\/vim\/patches\/7.3\/7.3.%03g 3 | xargs wget\r\n# cd ..\r\n# cat patches\/7.3.* | patch -p0\r\n# cd vim73\/src\r\n# .\/configure --enable-multibyte --with-features=huge --disable-selinux --enable-fontset --enable-gui=gnome2 --enable-rubyinterp\r\n# make\r\n# make install<\/pre>\n<p>&nbsp;<\/p>\n<h1>Vim7.3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<p>gVim\u3067\u4f5c\u3063\u305f\u30bd\u30fc\u30b9\u30d5\u30a9\u30eb\u30c0\u3092\u4e00\u56de\u5168\u90e8\u6d88\u3059\u3002\u305d\u3046\u3058\u3083\u306a\u3044\u3068\u3084\u3084\u3053\u3057\u3044\u3053\u3068\u306b\u306a\u308b\u305e\u3002<br \/>\n\u624b\u9806\u306f\u3001gVim\u3068\u307b\u307c\u4e00\u7dd2\u3002\u3064\u304b.\/configure\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u9055\u3046\u3060\u3051\u307f\u305f\u3044\u3060\u306d\u3002\u30b3\u30ea\u30e3\u78ba\u304b\u306b\u3042\u307e\u308a\u8a18\u4e8b\u304c\u4e0a\u304c\u3089\u306a\u3044\u308f\u3002<br \/>\n\u3067\u3082\u3001\u305d\u3046\u8a00\u3046\u5f53\u305f\u308a\u524d\u306e\u3053\u3068\u3067\u3082\u66f8\u3044\u3066\u306a\u3044\u3068\u521d\u5fc3\u8005\u5206\u304b\u3089\u306a\u3044\u3088\uff01\uff01<\/p>\n<pre class=\"lang:default decode:true\"># yum install ncurses-devel\r\n# wget http:\/\/ftp.vim.org\/pub\/vim\/unix\/vim-7.3.tar.bz2\r\n# wget ftp:\/\/ftp.jp.vim.org\/pub\/vim\/extra\/vim-7.2-extra.tar.gz\r\n# wget ftp:\/\/ftp.vim.org\/pub\/vim\/extra\/vim-7.2-lang.tar.gz\r\n# tar jxfv vim-7.3.tar.bz2\r\n# tar xvzf vim-7.2-lang.tar.gz\r\n# tar xvzf vim-7.2-extra.tar.gz\r\n# cp -rf vim72\/* .\/vim73\/\r\n# mkdir vim73\/patches\r\n# cd vim73\/patches\r\n# seq -f http:\/\/ftp.vim.org\/pub\/vim\/patches\/7.3\/7.3.%03g 3 | xargs wget\r\n# cd ..\r\n# cat patches\/7.3.* | patch -p0\r\n# cd .\/src\r\n# .\/configure --enable-multibyte --with-features=huge --disable-selinux --enable-fontset --enable-rubyinterp\r\n# make\r\n# make install<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3053\u306e\u307e\u307e\u3060\u3068\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u305fVim7.2\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u30ea\u30f3\u30af\u3092Vim7.3\u306b\u5909\u3048\u308b<br \/>\n\/etc\/profile \u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d<\/p>\n<pre class=\"lang:default decode:true\">export PATH=\/usr\/local\/bin:$PATH<\/pre>\n<p>\u3092\u633f\u5165\u3002\u3053\u308c\u3092\u3057\u3066\u304b\u3089\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u7d42\u4e86\u3002\u6b21\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3060\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306a\u3093\u3068\u304bgVim\u3092\u81ea\u529b\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u30ef\u30fc\u3002gVim\u306e\u8a18\u4e8b\u306fWindows\u5bfe\u8c61\u306e\u3070\u3063\u304b\u308a\u3060\u3063\u305f\u304b\u3089\u3061\u3087\u3063\u3068\u8abf\u3079\u308b\u306e\u306b\u82e6\u52b4\u3057\u305f\u3002\u5f8c\u306fgVimtutor\u3067\u7df4\u7fd2\u3059\u308b\u3060\u3051\u3060\u306a\u3002 gVim\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u969b\u3084\u3063\u305f\u3053\u3068 \u53c2\u7167\u3057\u305f\u3068 \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/www.sougetu.net\/?p=1157\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[18,19],"tags":[],"class_list":["post-1157","post","type-post","status-publish","format-standard","hentry","category-centos","category-vim"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/posts\/1157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1157"}],"version-history":[{"count":0,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=\/wp\/v2\/posts\/1157\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sougetu.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}