Index: /trunk/Ohana/src/opihi/lib.shell/gprint.c
===================================================================
--- /trunk/Ohana/src/opihi/lib.shell/gprint.c	(revision 27591)
+++ /trunk/Ohana/src/opihi/lib.shell/gprint.c	(revision 27592)
@@ -351,5 +351,5 @@
 
   // there are two strerror_r implementations; choose the right one:
-#if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE)
+#if (((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || __APPLE__)
   strerror_r (myError, errorBuf, MAX_ERROR_LENGTH);
   errorMsg = errorBuf;
Index: /trunk/Ohana/src/opihi/pcontrol/StartHost.c
===================================================================
--- /trunk/Ohana/src/opihi/pcontrol/StartHost.c	(revision 27591)
+++ /trunk/Ohana/src/opihi/pcontrol/StartHost.c	(revision 27592)
@@ -14,6 +14,5 @@
   if (VarConfig ("SHELL", "%s", shell)     == NULL) strcpy (shell, "pclient");
 
-  if (VerboseMode()) gprint (GP_ERR, "starting host within thread %lld\n", (long long) pthread_self());
-
+  if (VerboseMode()) gprint (GP_ERR, "starting host within thread %lld\n", (int64_t) pthread_self());
   pid = rconnect (command, host[0].hostname, shell, stdio);
   if (!pid) {     
Index: /trunk/Ohana/src/opihi/pcontrol/StopHosts.c
===================================================================
--- /trunk/Ohana/src/opihi/pcontrol/StopHosts.c	(revision 27591)
+++ /trunk/Ohana/src/opihi/pcontrol/StopHosts.c	(revision 27592)
@@ -121,5 +121,7 @@
   int i, result, waitstatus;
 
+#ifndef __APPLE__
   if (VerboseMode()) gprint (GP_ERR, "harvesting within thread %lld\n", (long long) pthread_self());
+#endif
   if (VerboseMode()) gprint (GP_ERR, "child process %d is down, wait for exit status\n", pid);
   
