Install ruby memcached on MacOSX 2 comments
Classical way, download following archives and compile it in the order. Xcode has to be installed.
tar xzf *.tar.gz
cd
./configure
make
sudo make installClassical way, download following archives and compile it in the order. Xcode has to be installed.
tar xzf *.tar.gz
cd
./configure
make
sudo make install
Just tried this on 10.5.2 and it fails to install the gem:
Building native extensions. This could take a while… ERROR: Error installing memcached: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install memcached checking for memcached_server_add() in -lmemcached… yes checking for #include ... yes checking for #include ... noI’m a bit stuck now.
The link above for libmemcached points to version .15 but the gem seems to need .19. You can download .19 from http://tangent.org/552/libmemcached.html