<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Vagrant on What's done is done</title><link>https://igawa.io/tags/vagrant/</link><description>Recent content in Vagrant on What's done is done</description><generator>Hugo</generator><language>ja</language><lastBuildDate>Thu, 04 Oct 2012 21:13:00 +0900</lastBuildDate><atom:link href="https://igawa.io/tags/vagrant/index.xml" rel="self" type="application/rss+xml"/><item><title>Mac に vagrant+devstack を入れてみる - その２ #openstack #devstack #vagrant</title><link>https://igawa.io/posts/2012/10/mac-%E3%81%AB-vagrant-devstack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%82%8B-%E3%81%9D%E3%81%AE%EF%BC%92-openstack-devstack-vagrant/</link><pubDate>Thu, 04 Oct 2012 21:13:00 +0900</pubDate><guid>https://igawa.io/posts/2012/10/mac-%E3%81%AB-vagrant-devstack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%82%8B-%E3%81%9D%E3%81%AE%EF%BC%92-openstack-devstack-vagrant/</guid><description>&lt;h2 id="続き"&gt;続き&lt;/h2&gt;
&lt;p&gt;無事ダウンロードは終了し、VMも起動したが、NFSでマウントできないってエラーが&lt;/p&gt;
&lt;p&gt;発生。&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[vagrant] Downloading box: http://dl.dropbox.com/u/1537815/precise64.box
[vagrant] Extracting box...
[vagrant] Verifying box...
[vagrant] Cleaning up downloaded box...
[default] Importing base box 'precise'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.1.18
VirtualBox Version: 4.1.23
[default] Matching MAC address for NAT networking...
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-ssh: /home/vagrant/.host-ssh
[default] -- v-csc-1: /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[default] Mounting NFS shared folders...
Mounting NFS shared folders failed. This is most often caused by the NFS
client software not being installed on the guest machine. Please verify
that the NFS client software is properly installed, and consult any resources
specific to the linux distro you're using for more information on how to
do this.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;でも、vagrant sshでGuest OSには接続できた!&lt;/p&gt;</description></item><item><title>Mac に vagrant+devstack を入れてみる - その１ #openstack #devstack #vagrant</title><link>https://igawa.io/posts/2012/10/mac-%E3%81%AB-vagrant-devstack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%82%8B-%E3%81%9D%E3%81%AE%EF%BC%91-openstack-devstack-vagrant/</link><pubDate>Wed, 03 Oct 2012 15:06:00 +0900</pubDate><guid>https://igawa.io/posts/2012/10/mac-%E3%81%AB-vagrant-devstack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%82%8B-%E3%81%9D%E3%81%AE%EF%BC%91-openstack-devstack-vagrant/</guid><description>&lt;h2 id="何するのか"&gt;何するのか?&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://github.com/bcwaldon/vagrant_devstack"&gt;vagrant_devstack&lt;/a&gt; っていうのを使って、vagrant+devstack
という素敵な環境を、&lt;/p&gt;
&lt;p&gt;Mac OS Mountain Lion(10.8.2)に 作ってみる。
一応、vagrant_devstackのREADMEには、Macに対する言及があるので、
できるんじゃないかと妄想。&lt;/p&gt;
&lt;h2 id="はじめに"&gt;はじめに&lt;/h2&gt;
&lt;p&gt;まずは、&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/bcwaldon/vagrant_devstack"&gt;https://github.com/bcwaldon/vagrant_devstack&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;のREADMEにしたがって、&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Virtualboxインストール&lt;/li&gt;
&lt;li&gt;gem update &amp;ndash;system&lt;/li&gt;
&lt;li&gt;gem install vagrant&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="困ったこと発生"&gt;を行った。。。。
困ったこと発生&lt;/h2&gt;
&lt;p&gt;が、「3.」で問題発生。&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;% gem install vagrant
Fetching: archive-tar-minitar-0.5.2.gem (100%)
Fetching: json-1.5.4.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing vagrant:
ERROR: Failed to build gem native extension.
/Users/igawa/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for re.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="解決策"&gt;と、こんな感じのエラーが出力され、インストール出来ない。
解決策&lt;/h2&gt;
&lt;p&gt;ググってみると、&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://loveless-ainakimono.seesaa.net/article/232323709.html"&gt;【Mac】【RubyGems】/usr/bin/gcc-4.2
がない！&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;という記事を見つけたので、それに習って、以下のようにシンボリックリンクを&lt;/p&gt;
&lt;p&gt;張ってみました。&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;% sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;結果、
% gem install vagrant
Building native extensions. This could take a while&amp;hellip;
Fetching: log4r-1.1.10.gem (100%)
Fetching: net-ssh-2.2.2.gem (100%)
Fetching: net-scp-1.0.4.gem (100%)
Fetching: vagrant-1.0.5.gem (100%)
Successfully installed json-1.5.4
Successfully installed log4r-1.1.10
Successfully installed net-ssh-2.2.2
Successfully installed net-scp-1.0.4
Successfully installed vagrant-1.0.5
5 gems installed&lt;/p&gt;</description></item></channel></rss>