On 14 Jun 2015, at 14:44, Dirk Hohndel <[email protected]> wrote:
> 
> On Jun 14, 2015, at 5:27 AM, Robert C. Helling <[email protected]> 
> wrote:
>> 
>> I had the same problem but it went away upon
>> 
>> brew uninstall libssh
>> 
>> (Or did I have to install it via homebrew. Don't remember and I am in the 
>> phone right now so cannot check)
> 
> Well, the build log shows that he's building libssh from source, so it my be 
> worth trying to uninstall it via brew

It wasn’t installed.  But I tried installing it, and now Subsurface builds!  
Yay!

 Maybe remove the libssh2 build from build.sh and require a brew install 
instead?  I prefer dependencies from brew over building them myself..

> The other thing that the build log shows is that something is hosed with his 
> libdivecomputer build which I really don't quite understand (never seen an 
> error like that).
> Can you simply remove the libdivecomputer directory so that build.sh starts 
> from a clean checkout?
> 
> Finally, could you send us the content of the file
> /Users/henrik/src/subsurface/build/CMakeFiles/Subsurface.dir/link.txt

Here’s link.txt from before I installed libssh2:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
    -DUSE_LIBGIT23_API -g -Wl,-search_paths_first 
-Wl,-headerpad_max_install_names  CMakeFiles/Subsurface.dir/main.cpp.o 
CMakeFiles/Subsurface.dir/qt-gui.cpp.o CMakeFiles/Subsurface.dir/qthelper.cpp.o 
CMakeFiles/Subsurface.dir/qrc_subsurface.cpp.o 
CMakeFiles/Subsurface.dir/Subsurface_automoc.cpp.o  -o 
Subsurface.app/Contents/MacOS/Subsurface  -L/usr/local/Cellar/libxml2/2.9.2/lib 
 -L/usr/local/Cellar/sqlite/3.8.9/lib  -L/usr/local/Cellar/libxslt/1.1.28_1/lib 
 -L/usr/local/Cellar/libzip/0.11.2/lib  -L/usr/local/Cellar/libusb/1.0.19/lib  
libsubsurface_generated_ui.a libsubsurface_interface.a libsubsurface_profile.a 
libsubsurface_statistics.a libsubsurface_models.a libsubsurface_corelib.a 
-lxml2 -lsqlite3 -lxslt -lxml2 -lz -lpthread -liconv -lm -lxml2 -lzip -lz 
-lusb-1.0 /Users/henrik/src/install-root/lib/libdivecomputer.a 
/Users/henrik/src/install-root/lib/libgit2.dylib -lssl -lcrypto -lssh2 
/Users/henrik/src/install-root/lib/libGrantlee_Templates.5.0.0.dylib -lusb-1.0 
/Users/henrik/src/install-root/lib/libssrfmarblewidget.dylib 
/usr/local/lib/QtConcurrent.framework/QtConcurrent 
/usr/local/lib/QtWebKitWidgets.framework/QtWebKitWidgets 
/usr/local/lib/QtWebKit.framework/QtWebKit 
/usr/local/lib/QtNetwork.framework/QtNetwork 
/usr/local/lib/QtPrintSupport.framework/QtPrintSupport 
/usr/local/lib/QtSvg.framework/QtSvg 
/usr/local/lib/QtWidgets.framework/QtWidgets 
/usr/local/lib/QtGui.framework/QtGui 
/usr/local/lib/QtPositioning.framework/QtPositioning -lxml2 -lsqlite3 -lxslt 
-lpthread -liconv -lm -lzip -lusb-1.0 
/Users/henrik/src/install-root/lib/libdivecomputer.a 
/Users/henrik/src/install-root/lib/libgit2.dylib -lssl -lcrypto -lssh2 
-lusb-1.0 /usr/local/lib/QtCore.framework/QtCore 
-Wl,-rpath,/usr/local/Cellar/libxml2/2.9.2/lib 
-Wl,-rpath,/usr/local/Cellar/sqlite/3.8.9/lib 
-Wl,-rpath,/usr/local/Cellar/libxslt/1.1.28_1/lib 
-Wl,-rpath,/usr/local/Cellar/libzip/0.11.2/lib 
-Wl,-rpath,/usr/local/Cellar/libusb/1.0.19/lib 

It’s didn’t change after the install.

Henrik

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

Reply via email to