Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (12 sloc) 0.827 kb
d6e4d65 Updated to support building (using DKMS!) on RHEL/CentOS 5.
Graeme Humphries authored
1 Vadim T (Percona) wrote an initial guide on getting flashcache building on CentOS, which was extremely helpful.
2
3 Based on that, I've modified the Makefiles to make building on CentOS as easy as possible. Here's the steps you'll
4 need to follow to build on CentOS:
5
6 - Make sure you have the CentOS EPEL repo. (http://fedoraproject.org/wiki/EPEL)
7 - Make sure you have the CentOS source repo. (http://mirror.centos.org/centos/$releasever/updates/SRPMS/)
8 - Install prerequisite build packages:
9 yum install dkms gcc make yum-utils kernel-devel
10 - CentOS kernel-headers/devel packages don't include internal headers, we've got to configure the full source:
11 yumdownloader --source kernel-`uname -r`
12 sudo rpm -ivh kernel-`uname -r`.src.rpm
13
14 Now the updated Makefiles should work correctly.
15
16 Graeme Humphries <graeme@sudo.ca>
Something went wrong with that request. Please try again.