On 04-07-2015 16:51, Dirk Hohndel wrote:
Can you send a patch? :-)

Here it goes:

Please let me know if it's ok.

Cheers:

Pedro
>From e9eeb06f2537205fd20d50adf8232700444579f9 Mon Sep 17 00:00:00 2001
From: Pedro Neves <[email protected]>
Date: Sat, 4 Jul 2015 17:00:30 +0100
Subject: [PATCH] Install notes for Ubuntu/Kubuntu 15.04

This patch updates the install instructions when compiling Subsurface from source on Ubuntu/Kubuntu machines.

Signed-off-by: Pedro Neves <[email protected]>
---
 INSTALL | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/INSTALL b/INSTALL
index 62550a2..c943d85 100644
--- a/INSTALL
+++ b/INSTALL
@@ -71,7 +71,7 @@ sudo zypper install git gcc-c++ make autoconf automake libtool cmake libzip-deve
 	libqt5-qtbase-devel libQt5WebKit5-devel libqt5-qtsvg-devel \
 	libqt5-qtscript-devel libqt5-qtdeclarative-devel
 
-On Debian Jessie this seems to work
+On Debian Jessie/Kubuntu 15.04 this seems to work
 
 sudo apt-get install git g++ make autoconf libtool cmake pkg-config \
 	libxml2-dev libxslt1-dev libzip-dev libsqlite3-dev \
@@ -106,6 +106,16 @@ cd ~/src
 install-root/bin/subsurface
 
 
+Note: at least on Kubuntu 15.04 (and possibly on Debian) the user must belong to the dialout group.
+If you get errors like: 
+
+install-root/bin/subsurface: error while loading shared libraries: libGrantlee_Templates.so.5: cannot open shared object file: No such file or directory
+
+You can run the following command:
+
+sudo ldconfig full-path-to/install-root/lib
+
+
 Building Subsurface under MacOSX (using Homebrew)
 -------------------------------------------------
 
-- 
2.1.4

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

Reply via email to