First of all you need some pre-requisites installed. Almost all are available from the operating system's repositories apart from one which I will come to in a minute. You need to install the following packages using yum or any other package manager:
Now, the key thing missing from the above list is Google's Protocol Buffers. Unfortunately, unlike Fedora, this does not seem to be in the RedHat repositories so we need to roll our own. To do this:
- Install the following packages using yum or any other package manager:
- Download the protobuf source package from here.
- Run the following (as root):
rpmbuild --rebuild protobuf-2.2.0-3.el5.src.rpm
- Install the protobuf packages as follows (again as root):
rpm -Uvh /root/rpmbuild/RPMS/x86_64/*
or if you are using 32bit:
rpm -Uvh /root/rpmbuild/RPMS/i686/*
You are now good to go. You should be able to compile Drizzle in the normal way.