[PATCH] Build problems
Robert Helling
helling at lmu.de
Tue Mar 15 03:31:38 PDT 2016
Hi,
I am currently enjoying two build problems when using the build.sh script:
There are errors while building libdivecomputer, it tries also to build examples/dctool_parse.c where in calls of the type VENDOR_MODEL_parser_create a fourth parameter “serial” is missing. But I guess since this is an example this is save to ignore.
More serious is in subsurface/scripts/build.sh
530c3a38 (Dirk Hohndel 2015-08-16 16:56:56 -0700 142) if [ $PLATFORM = Darwin ] ; then
2b1812f2 (Dirk Hohndel 2016-03-03 14:32:23 -0800 143) if [ -d "~/Qt/5.5" ] ; then
2b1812f2 (Dirk Hohndel 2016-03-03 14:32:23 -0800 144) export CMAKE_PREFIX_PATH=~/Qt/5.5/clang_64/lib/cmake
2b1812f2 (Dirk Hohndel 2016-03-03 14:32:23 -0800 145) elif [ -d "~/Qt/5.6" ] ; then
2b1812f2 (Dirk Hohndel 2016-03-03 14:32:23 -0800 146) export CMAKE_PREFIX_PATH=~/Qt/5.6/clang_64/lib/cmake
2b1812f2 (Dirk Hohndel 2016-03-03 14:32:23 -0800 147) else
2b1812f2 (Dirk Hohndel 2016-03-03 14:32:23 -0800 148) echo "cannot find Qt 5.5 or 5.6 in ~/Qt"
2b1812f2 (Dirk Hohndel 2016-03-03 14:32:23 -0800 149) exit 1
2b1812f2 (Dirk Hohndel 2016-03-03 14:32:23 -0800 150) fi
530c3a38 (Dirk Hohndel 2015-08-16 16:56:56 -0700 151) fi
This does not find ~/Qt/5.5 for me on my Macs.
I really don’t speak shell but it seems in that in the file test ~ is not interpolated properly. If I replace it by $HOME it works. Here is a patch that does this.
Best
Robert
--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
Scientific Coordinator
Ludwig Maximilians Universitaet Muenchen, Dept. Physik
Phone: +49 89 2180-4523 Theresienstr. 39, rm. B339
http://www.atdotde.de
Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515 BB44 0820 367C 36BC 0C1D and
DCED 37B6 251C 7861 270D 5613 95C7 9D32 9A8D 9B8F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/86bb4e0c/attachment-0002.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Replace-by-HOME-in-build.sh.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/86bb4e0c/attachment-0001.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/86bb4e0c/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160315/86bb4e0c/attachment-0001.sig>
More information about the subsurface
mailing list