Hi,

On 15.03.2016, at 15:40, Dirk Hohndel <[email protected]> wrote:

Odd - it worked one of my Macs, but fails on the others. I don't think I installed a different shell but it's possible...

Can you send a second patch to fix the problem above?

here is the patch (in addition to the ~ -> $HOME patch I sent earlier today). 
From 1421a5f16501b7da169e2631e5448cbdbc7b66e7 Mon Sep 17 00:00:00 2001
From: "Robert C. Helling" <[email protected]>
Date: Tue, 15 Mar 2016 20:44:37 +0100
Subject: [PATCH] Don't build libdivecomputer examples
To: [email protected]

... as those don't compile.

Signed-off-by: Robert C. Helling <[email protected]>
---
 scripts/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/build.sh b/scripts/build.sh
index e4164db..4c8d76c 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -116,7 +116,7 @@ cd build
 if [ ! -f ../configure ] ; then
        autoreconf --install ..
 fi
-../configure --prefix=$INSTALL_ROOT
+../configure --prefix=$INSTALL_ROOT --disable-examples
 make -j4
 make install
 
-- 
2.5.4 (Apple Git-61)


Regarding building on Mac in general: I did not really have problems there, recently, including a brand new MPB. I should say, thought that I have ~/src/build-mobile-command that contains

Qt5Gui_DIR=$HOME/Qt/5.5/clang_64/lib/cmake/Qt5Gui/ Qt5_DIR=$HOME/Qt/5.5/clang_64/lib/cmake/Qt5/ subsurface/scripts/build.sh -mobile

and for desktop, I usually remove the last option.

The libxml2/tree.h thing I also ran into several times, but I fixed that by setting $CPATH to the appropriate directory from homebrew. I should say though that I gave up on using Qt from home-brew but use the provided binaries directly (without any problems anymore).

Best
Robert

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to