<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>wuShiJingZuo (yoyo)</title>
    <link>https://ruby-china.org/wuShiJingZuo</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>Mac 10.9 下使用 rbenv install 2.1.0-dev 出问题</title>
      <description>&lt;p&gt;最近项目需要，在 mac 下折腾 rails，按照&lt;a href="http://gorails.com/setup/osx/10.9-mavericks" rel="nofollow" target="_blank"&gt;http://gorails.com/setup/osx/10.9-mavericks&lt;/a&gt;安装到&lt;code&gt;rbenv install 2.1.0-dev&lt;/code&gt; 一步 出现&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Cloning https://github.com/ruby/ruby.git...
Installing ruby-2.1.0-dev...

BUILD FAILED

Inspect or clean up the working tree at /var/folders/q4/fd_8w2vd4lx9p9k5gyjlvtfm0000gn/T/ruby-build.20140219100050.46383
Results logged to /var/folders/q4/fd_8w2vd4lx9p9k5gyjlvtfm0000gn/T/ruby-build.20140219100050.46383.log

Last 10 log lines:
checking &lt;span class="k"&gt;for &lt;/span&gt;stdint.h... &lt;span class="nb"&gt;yes
&lt;/span&gt;checking &lt;span class="k"&gt;for &lt;/span&gt;unistd.h... &lt;span class="nb"&gt;yes
&lt;/span&gt;checking minix/config.h usability... no
checking minix/config.h presence... no
checking &lt;span class="k"&gt;for &lt;/span&gt;minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... &lt;span class="nb"&gt;yes
&lt;/span&gt;checking &lt;span class="k"&gt;for &lt;/span&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;using physical directory... &lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="nt"&gt;-P&lt;/span&gt;
checking whether CFLAGS is valid... &lt;span class="nb"&gt;yes
&lt;/span&gt;checking whether LDFLAGS is valid... no
configure: error: something wrong with &lt;span class="nv"&gt;LDFLAGS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"-L'/Users/apple/.rbenv/versions/2.1.0-dev/lib' "&lt;/span&gt;

BUILD FAILED

Inspect or clean up the working tree at /var/folders/q4/fd_8w2vd4lx9p9k5gyjlvtfm0000gn/T/ruby-build.20140219100050.46383
Results logged to /var/folders/q4/fd_8w2vd4lx9p9k5gyjlvtfm0000gn/T/ruby-build.20140219100050.46383.log

Last 10 log lines:
checking &lt;span class="k"&gt;for &lt;/span&gt;unistd.h... &lt;span class="nb"&gt;yes
&lt;/span&gt;checking minix/config.h usability... no
checking minix/config.h presence... no
checking &lt;span class="k"&gt;for &lt;/span&gt;minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... &lt;span class="nb"&gt;yes
&lt;/span&gt;checking &lt;span class="k"&gt;for &lt;/span&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;using physical directory... &lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="nt"&gt;-P&lt;/span&gt;
checking whether CFLAGS is valid... &lt;span class="nb"&gt;yes
&lt;/span&gt;checking whether LDFLAGS is valid... no
configure: error: something wrong with &lt;span class="nv"&gt;LDFLAGS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"-L'/Users/apple/.rbenv/versions/2.1.0-dev/lib' "&lt;/span&gt;
make: &lt;span class="k"&gt;***&lt;/span&gt; No targets specified and no makefile found.  Stop.&lt;span class="sb"&gt;```&lt;/span&gt;




已经安装好：xcode 和 xcode的command line。
&lt;/code&gt;&lt;/pre&gt;</description>
      <author>wuShiJingZuo</author>
      <pubDate>Wed, 19 Feb 2014 10:38:58 +0800</pubDate>
      <link>https://ruby-china.org/topics/17348</link>
      <guid>https://ruby-china.org/topics/17348</guid>
    </item>
  </channel>
</rss>
