[PATCH] Build problems

Robert Helling helling at lmu.de
Tue Mar 15 12:53:17 PDT 2016


Hi,

> On 15.03.2016, at 15:40, Dirk Hohndel <dirk at hohndel.org> 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).

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/8ddc275c/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Don-t-build-libdivecomputer-examples.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/8ddc275c/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/8ddc275c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/8ddc275c/attachment.sig>


More information about the subsurface mailing list