{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"ruby: failed to build gem native extension","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/280 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"280\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  <div class=\"code\"><pre class=\"txt\">$ sudo gem install sqlint\r\nFetching: json-1.8.3.gem (100%)\r\nBuilding native extensions.  This could take a while...\r\nERROR:  Error installing sqlint:\r\n\tERROR: Failed to build gem native extension.\r\n\r\n        \/usr\/bin\/ruby1.9.1 extconf.rb\r\n\/usr\/lib\/ruby\/1.9.1\/rubygems\/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)\r\n\tfrom \/usr\/lib\/ruby\/1.9.1\/rubygems\/custom_require.rb:36:in `require'\r\n\tfrom extconf.rb:1:in `&lt;main&gt;'\r\n\r\n\r\nGem files will remain installed in \/var\/lib\/gems\/1.9.1\/gems\/json-1.8.3 for inspection.\r\nResults logged to \/var\/lib\/gems\/1.9.1\/gems\/json-1.8.3\/ext\/json\/ext\/generator\/gem_make.out\r\n<\/pre><\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/280\/rev-raw\/b9cc062f5e031b6b9ebdea8b075b27a242d8ec78\/problem.txt\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/280#problem.txt\">problem.txt<\/a>\n <\/div>\n<\/div>\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  <div class=\"code\"><pre class=\"txt\">$ sudo apt-get install ruby-dev<\/pre><\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/280\/rev-raw\/b9cc062f5e031b6b9ebdea8b075b27a242d8ec78\/solution.txt\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/280#solution.txt\">solution.txt<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
