Doesn't build on OS X 10.9 Mavericks because of missing <tr1/cinttypes>

Bug #1240642 reported by Linas Valiukas
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gearman
New
Undecided
Unassigned

Bug Description

Gearman doesn't build on Mac OS X 10.9 Mavericks (GM seed) because of a missing header file <tr1/cinttypes> referenced in libgearman-1.0/gearman.h.

The include file is however accessible as <cinttypes>. If one changes <tr1/cinttypes> to <cinttypes> in libgearman-1.0/gearman.h (as such: https://gist.github.com/pypt/7004799/raw/homebrew-gearman-mavericks.diff), Gearman builds fine.

It seems that "configure" script tries various locations of the "cinttypes" header (<tr1/cinttypes>, <cinttypes> and <boost/cinttypes.hpp>) and then defines the CINTTYPES_H which is later used by multiple .in files to refer to the header. For some reason, libgearman-1.0/gearman.h is an exception.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.