Building libMemcached RPMs

Posted in: Technical Track

A client running CentOS 5.4 Amazon EC2 instances needed the latest libMemcachedversion installed. With the inclusion of the “make rpm” target, libMemcached makes it easy to build the libMemcached RPMs by doing the following:

Spin up a new CentOS Amazon EC2 instance,

As root on the new instance:

yum install @development-tools
yum install fedora-packager
/usr/sbin/useradd makerpm

Now change to the makerpm user and build the RPMs:

su – makerpm
tar -zxf libmemcached-1.0.2.tar.gz
./configure && make rpm
find . -name ‘*rpm*’



Interested in working with Charlie? Schedule a tech call.

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *