Comment 9 for bug 923183

Revision history for this message
Karl Debisschop (karl-debisschop) wrote :

The minimal change is to include inttypes.h, as per the diff below. For older RHEL-based systems, there are a few environment settings also requierd which are incorporated in the attached RPM spec file, which you can use to build an RPM for RHEL/Centos 5 that will install cleanly with no components in /usr/local

> cat ~/rpmbuild/SOURCES/gearmand-benchmark-rhel5.patch
--- benchmark/benchmark.cc-orig 2012-03-01 03:40:08.000000000 -0500
+++ benchmark/benchmark.cc 2012-03-01 03:42:43.000000000 -0500
@@ -12,6 +12,7 @@
  */

 #include <benchmark/benchmark.h>
+#include <inttypes.h>
 #include <stdio.h>

 /*