On 12/10/2009 08:14 AM, Kern Sibbald wrote:

Hello Frank,

Could you please try rebuilding Bacula on Snow Leopard (10.6)  with the very
latest git repo?  It should compile, but there may be a few problems.  If you
send me the list of problems, I can probably quickly fix them.  This should
then let the SD compile, but any attempt to do something with a tape drive is
unlikely to work.

After a quick trivial compilation fix (attached), everything compiled fine and seems to be working. A disk based regression run has already passed the first few tests.

--
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
    GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC
>From ff4a4bfc07b2bf58c5bb2a68d635dc49da742752 Mon Sep 17 00:00:00 2001
From: Frank Sweetser <[email protected]>
Date: Thu, 10 Dec 2009 09:28:36 -0500
Subject: [PATCH] Quick fix to make stored.h compile

---
 bacula/src/stored/stored.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/bacula/src/stored/stored.h b/bacula/src/stored/stored.h
index f73d746..fea7e55 100644
--- a/bacula/src/stored/stored.h
+++ b/bacula/src/stored/stored.h
@@ -54,9 +54,8 @@ const int sd_dbglvl = 300;
 #   include <sys/tape.h>
 #   endif
 # endif
-#else
 /* Needed for Mac 10.6 (Snow Leopard) */
-#include "bmtio.h"
+#include "../lib/bmtio.h"
 #endif
 #include "lock.h"
 #include "block.h"
-- 
1.6.5.2

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to