Bugzilla – Bug 157
Patches for OS X 10.5.8
Last modified: 2011-09-02 13:43:24 MDT
You need to
before you can comment on or make changes to this bug.
TORQUE 3.0.2 needed a few source-code modifications to compile and run on OS X
10.5.8; patches are attached. A brief summary of the issues fixed:
* All versions of OS X (through 10.7) lack clock_gettime(); this patch works
around this by detecting if clock_gettime() exists in configure.ac, and if not,
use gettimeofday() as suggested in the OS X 10.6/10.7 manual page for
* There is a compilation error when linking librt, as OS X doesn't have such a
library; the suggested workaround to link with librt only if clock_gettime()
requires it (which it doesn't on some platforms, e.g., FreeBSD). This is in
addition to the previously-mentioned check for the existence of
* "echo" is a bash builtin, and when bash is invoked as "/bin/sh", the "-e"
option loses its special meaning, causing an "-e" to appear at the beginning of
the first line in the default server_priv/nodes.
Created an attachment (id=94) [details]
Created an attachment (id=95) [details]
Created an attachment (id=96) [details]