<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>ruby: failed to build gem native extension</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/280 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="280"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;$ sudo gem install sqlint&#13;
Fetching: json-1.8.3.gem (100%)&#13;
Building native extensions.  This could take a while...&#13;
ERROR:  Error installing sqlint:&#13;
	ERROR: Failed to build gem native extension.&#13;
&#13;
        /usr/bin/ruby1.9.1 extconf.rb&#13;
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)&#13;
	from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'&#13;
	from extconf.rb:1:in `&amp;lt;main&amp;gt;'&#13;
&#13;
&#13;
Gem files will remain installed in /var/lib/gems/1.9.1/gems/json-1.8.3 for inspection.&#13;
Results logged to /var/lib/gems/1.9.1/gems/json-1.8.3/ext/json/ext/generator/gem_make.out&#13;
&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/280/rev-raw/b9cc062f5e031b6b9ebdea8b075b27a242d8ec78/problem.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/280#problem.txt"&gt;problem.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;$ sudo apt-get install ruby-dev&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/280/rev-raw/b9cc062f5e031b6b9ebdea8b075b27a242d8ec78/solution.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/280#solution.txt"&gt;solution.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
