<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Rubynaut: Install ruby memcached on MacOSX</title>
    <link>http://www.rubynaut.net/articles/2008/02/12/install-ruby-memcached-on-macosx</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Install ruby memcached on MacOSX</title>
      <description>&lt;p&gt;Classical way, download following archives and compile it in the order. Xcode has to be installed.&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;tar xzf *.tar.gz
cd 
./configure
make 
sudo make install&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;ol&gt;
	&lt;li&gt;lib need for server: &lt;a href="http://www.monkey.org/~provos/libevent/"&gt;lib event&lt;/a&gt;. &lt;a href="http://www.monkey.org/~provos/libevent-1.4.1-beta.tar.gz"&gt;download&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;the server: &lt;a href="http://www.danga.com/memcached/"&gt;memcached&lt;/a&gt;. &lt;a href="http://www.danga.com/memcached/dist/memcached-1.2.4.tar.gz"&gt;download&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;the client lib written in c: &lt;a href="http://tangent.org/552/libmemcached.html"&gt;libmemcached&lt;/a&gt;. &lt;a href="http://download.tangent.org/libmemcached-0.15.tar.gz"&gt;download&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;the ruby binding: &lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;sudo gem install memcached&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt; or with leopard: &lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;sudo env ARCHFLAGS=&amp;quot;-arch i386&amp;quot; gem install memcached&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
	&lt;/ol&gt;</description>
      <pubDate>Tue, 12 Feb 2008 22:13:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:3d98005b-0ff6-4836-bd70-63e1db365ee9</guid>
      <author>stephane</author>
      <link>http://www.rubynaut.net/articles/2008/02/12/install-ruby-memcached-on-macosx</link>
    </item>
    <item>
      <title>"Install ruby memcached on MacOSX" by LDC</title>
      <description>&lt;p&gt;The link above for libmemcached points to version .15 but the gem seems to need .19.  You can download .19 from &lt;a href="http://tangent.org/552/libmemcached.html" rel="nofollow"&gt;http://tangent.org/552/libmemcached.html&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 03 May 2008 00:16:31 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:57e04e4e-a8f2-44ca-8ce6-f3e5ae85890e</guid>
      <link>http://www.rubynaut.net/articles/2008/02/12/install-ruby-memcached-on-macosx#comment-2041</link>
    </item>
    <item>
      <title>"Install ruby memcached on MacOSX" by Sam</title>
      <description>&lt;p&gt;Just tried this on 10.5.2 and it fails to install the gem:&lt;/p&gt;


	&lt;p&gt;Building native extensions.  This could take a while&amp;#8230;
ERROR:  Error installing memcached:
    ERROR: Failed to build gem native extension.&lt;/p&gt;


/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install memcached
checking for memcached_server_add() in -lmemcached&amp;#8230; yes
checking for #include 
... yes
checking for #include 
... no
	&lt;ul&gt;
	&lt;li&gt;extconf.rb failed &lt;strong&gt;*&lt;/strong&gt;
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;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;I&amp;#8217;m a bit stuck now.&lt;/p&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:59:27 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:32d7f04f-76d8-4890-91a2-40e8f7459992</guid>
      <link>http://www.rubynaut.net/articles/2008/02/12/install-ruby-memcached-on-macosx#comment-2034</link>
    </item>
  </channel>
</rss>
