the PPA for OpenCPN is broken

Asked by John Wilson

When I try and install OpenCPN using the software centre a lot of packages have been downloaded but when I try and install the packages I get an error message:
Package dependencies could not be resolved
This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.
Same thing happens if I try and install using the command line

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
John Wilson
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Contact the PPA maintainer and report the issue. They are the PPA maintainers packages.....

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2
Revision history for this message
John Wilson (jwilsondmartin) said :
#3

Thank you for your suggestion.
Unfortunately it seems to fall apart at sudo make
Here is the output:
Reading state information... Done
The following packages were automatically installed and are no longer required:
  caribou cinnamon-common cinnamon-control-center cinnamon-control-center-data
  cinnamon-desktop-data cinnamon-l10n cinnamon-screensaver cinnamon-session
  cinnamon-session-common cinnamon-settings-daemon cjs
  gir1.2-accountsservice-1.0 gir1.2-caribou-1.0 gir1.2-cinnamondesktop-3.0
  gir1.2-clutter-1.0 gir1.2-cmenu-3.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0
  gir1.2-gconf-2.0 gir1.2-gdesktopenums-3.0 gir1.2-gkbd-3.0
  gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0 gir1.2-gtkclutter-1.0
  gir1.2-keybinder-3.0 gir1.2-meta-muffin-0.0 gir1.2-networkmanager-1.0
  gir1.2-nmgtk-1.0 gir1.2-polkit-1.0 gir1.2-upowerglib-1.0 gir1.2-xkl-1.0
  gnome-backgrounds gnome-icon-theme gnome-icon-theme-symbolic
  gnome-themes-standard gnome-themes-standard-data libcaribou-common
  libcaribou0 libcinnamon-control-center1 libcinnamon-desktop4
  libcinnamon-menu-3-0 libcjs0 libgle3 libjpeg-progs libjpeg-turbo-progs
  libkeybinder-3.0-0 libmozjs-24-0v5 libmuffin0 libnemo-extension1 libnetpbm10
  linux-headers-4.2.0-16 linux-headers-4.2.0-16-generic
  linux-image-4.2.0-16-generic linux-image-extra-4.2.0-16-generic
  muffin-common nemo nemo-data nemo-fileroller netpbm python-gconf
  python-pexpect python-pyatspi python-pyinotify python3-pexpect python3-pil
  python3-renderpm python3-reportlab python3-reportlab-accel xscreensaver-data
  xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  git-man liberror-perl
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 3,759 kB of archives.
After this operation, 24.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ca.archive.ubuntu.com/ubuntu/ wily/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu/ wily-updates/main git-man all 1:2.5.0-1ubuntu0.1 [728 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu/ wily-updates/main git amd64 1:2.5.0-1ubuntu0.1 [3,009 kB]
Fetched 3,759 kB in 3s (954 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 269675 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.5.0-1ubuntu0.1_all.deb ...
Unpacking git-man (1:2.5.0-1ubuntu0.1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.5.0-1ubuntu0.1_amd64.deb ...
Unpacking git (1:2.5.0-1ubuntu0.1) ...
Processing triggers for man-db (2.7.4-1) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:2.5.0-1ubuntu0.1) ...
Setting up git (1:2.5.0-1ubuntu0.1) ...
john@john-H81M-S2H-GSM:~$ git clone https://github.com/OpenCPN/OpenCPN.git
Cloning into 'OpenCPN'...
remote: Counting objects: 43839, done.
remote: Total 43839 (delta 0), reused 0 (delta 0), pack-reused 43839
Receiving objects: 100% (43839/43839), 226.46 MiB | 1.88 MiB/s, done.
Resolving deltas: 100% (30884/30884), done.
Checking connectivity... done.
john@john-H81M-S2H-GSM:~$ cd OpenCPN
john@john-H81M-S2H-GSM:~/OpenCPN$ mkdir build
john@john-H81M-S2H-GSM:~/OpenCPN$ cd build
john@john-H81M-S2H-GSM:~/OpenCPN/build$ cd build
bash: cd: build: No such file or directory
john@john-H81M-S2H-GSM:~/OpenCPN/build$ cd build
bash: cd: build: No such file or directory
john@john-H81M-S2H-GSM:~/OpenCPN/build$ sudo make
make: *** No targets specified and no makefile found. Stop.
john@john-H81M-S2H-GSM:~/OpenCPN/build$

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#4

You skipped a command (to be run right after 'cd build'):

cmake ../

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

If cmake is not installed yet, first run this command:

sudo apt-get install cmake

Revision history for this message
John Wilson (jwilsondmartin) said :
#6

cmake is already installed but things fall apart at cmake ../
Here is the output:
john@john-H81M-S2H-GSM:~/OpenCPN/build$ cmake ../
-- *** Build Architecture is amd64
-- *** Staging to build opencpn 4.2.0 ***
-- *** Package will NOT include documentation ***
-- *** Package will NOT include GSHHS data ***
-- *** Package will NOT include tide and current data ***
-- Found OpenGL....
-- GL Lib: /usr/lib/x86_64-linux-gnu/libGLU.so/usr/lib/x86_64-linux-gnu/libGL.so
-- GL Include: /usr/include
-- Adding local GLU
-- Revised GL Lib: GLU_static/usr/lib/x86_64-linux-gnu/libGL.so
-- Found wxWidgets...
-- wxWidgets Libraries: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0
-- Revised wxWidgets Libraries: -L/usr/lib/x86_64-linux-gnu;-pthread;-lwx_gtk2u_gl-3.0;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0
--
-- *** Staging to build opencpn ***
-- Build type: Release
-- *** Will install to /usr/local ***
-- Crash reporting enabled
-- Using Linux crash reporting
-- Portaudio Not Found...
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.2/Modules/FindCURL.cmake:61 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:557 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "/home/john/OpenCPN/build/CMakeFiles/CMakeOutput.log".
john@john-H81M-S2H-GSM:~/OpenCPN/build$

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#7

  Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)

curl is not installed.

Install curl using this command:

sudo apt-get install curl

Install any other packages that are missing, if cmake complains about it....

Revision history for this message
John Wilson (jwilsondmartin) said :
#8

i seem to already have curl installed
john@john-H81M-S2H-GSM:~/OpenCPN/build$ sudo apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
john@john-H81M-S2H-GSM:~/OpenCPN/build$

I installed Portaudio using Synaptic but
Synaptic and apt-get could not find curl-library or curl-include-dir
john@john-H81M-S2H-GSM:~/OpenCPN/build$ sudo apt-get install curl-library
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package curl-library
john@john-H81M-S2H-GSM:~/OpenCPN/build$ sudo apt-get install curl-include-dir
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package curl-include-dir
john@john-H81M-S2H-GSM:~/OpenCPN/build$

When I run cmake ../ I get this:
john@john-H81M-S2H-GSM:~/OpenCPN/build$ cmake ../
-- *** Build Architecture is amd64
-- *** Staging to build opencpn 4.2.0 ***
-- *** Package will NOT include documentation ***
-- *** Package will NOT include GSHHS data ***
-- *** Package will NOT include tide and current data ***
-- Found OpenGL....
-- GL Lib: /usr/lib/x86_64-linux-gnu/libGLU.so/usr/lib/x86_64-linux-gnu/libGL.so
-- GL Include: /usr/include
-- Adding local GLU
-- Revised GL Lib: GLU_static/usr/lib/x86_64-linux-gnu/libGL.so
-- Found wxWidgets...
-- wxWidgets Libraries: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0
-- Revised wxWidgets Libraries: -L/usr/lib/x86_64-linux-gnu;-pthread;-lwx_gtk2u_gl-3.0;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0
--
-- *** Staging to build opencpn ***
-- Build type: Release
-- *** Will install to /usr/local ***
-- Crash reporting enabled
-- Using Linux crash reporting
-- Found Portaudio: /usr/lib/x86_64-linux-gnu/libportaudio.so
-- Portaudio Found
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.2/Modules/FindCURL.cmake:61 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:557 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "/home/john/OpenCPN/build/CMakeFiles/CMakeOutput.log".
john@john-H81M-S2H-GSM:~/OpenCPN/build$

The bottom of the CMakeOutput.log is this:
Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /home/john/OpenCPN/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1848545267/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1848545267.dir/build.make CMakeFiles/cmTryCompileExec1848545267.dir/build
make[1]: Entering directory '/home/john/OpenCPN/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/john/OpenCPN/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec1848545267.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTryCompileExec1848545267.dir/feature_tests.cxx.o -c /home/john/OpenCPN/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTryCompileExec1848545267
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1848545267.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTryCompileExec1848545267.dir/feature_tests.cxx.o -o cmTryCompileExec1848545267 -rdynamic
make[1]: Leaving directory '/home/john/OpenCPN/build/CMakeFiles/CMakeTmp'

    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:0cxx_alias_templates
    Feature record: CXX_FEATURE:0cxx_alignas
    Feature record: CXX_FEATURE:0cxx_alignof
    Feature record: CXX_FEATURE:0cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:0cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:0cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:0cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:0cxx_default_function_template_args
    Feature record: CXX_FEATURE:0cxx_defaulted_functions
    Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:0cxx_delegating_constructors
    Feature record: CXX_FEATURE:0cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:0cxx_explicit_conversions
    Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:0cxx_extern_templates
    Feature record: CXX_FEATURE:0cxx_final
    Feature record: CXX_FEATURE:0cxx_func_identifier
    Feature record: CXX_FEATURE:0cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:0cxx_inheriting_constructors
    Feature record: CXX_FEATURE:0cxx_inline_namespaces
    Feature record: CXX_FEATURE:0cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:0cxx_local_type_template_args
    Feature record: CXX_FEATURE:0cxx_long_long_type
    Feature record: CXX_FEATURE:0cxx_noexcept
    Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:0cxx_nullptr
    Feature record: CXX_FEATURE:0cxx_override
    Feature record: CXX_FEATURE:0cxx_range_for
    Feature record: CXX_FEATURE:0cxx_raw_string_literals
    Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:0cxx_right_angle_brackets
    Feature record: CXX_FEATURE:0cxx_rvalue_references
    Feature record: CXX_FEATURE:0cxx_sizeof_member
    Feature record: CXX_FEATURE:0cxx_static_assert
    Feature record: CXX_FEATURE:0cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:0cxx_thread_local
    Feature record: CXX_FEATURE:0cxx_trailing_return_types
    Feature record: CXX_FEATURE:0cxx_unicode_literals
    Feature record: CXX_FEATURE:0cxx_uniform_initialization
    Feature record: CXX_FEATURE:0cxx_unrestricted_unions
    Feature record: CXX_FEATURE:0cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:0cxx_variadic_macros
    Feature record: CXX_FEATURE:0cxx_variadic_templates

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#9

Run this Terminal command:

sudo apt-get install libcurl3 libcurl4-openssl-dev

Then retry compiling.

If that does not help, run the following Terminal commands:

cd ~/OpenCPN
sudo rm -rf build
mkdir build
cd build
cmake ../
sudo make
sudo checkinstall
# during checkinstall process, press 2 and manually change name from build to opencpn
apt-cache show opencpn
# if you forgot to change the name of the newly built package, you need to use this command instead:
apt-cache show build
/usr/local/bin/opencpn

Revision history for this message
John Wilson (jwilsondmartin) said :
#10

Thank you for your continued help.
When compiling either with Mark911 or your Terminal commands I get as far as the cmake ../ and now I need some Cairo packages.
Here is the output:
-- *** Staging to build opencpn ***
-- Build type: Release
-- *** Will install to /usr/local ***
-- Crash reporting enabled
-- Using Linux crash reporting
-- Found Portaudio: /usr/lib/x86_64-linux-gnu/libportaudio.so
-- Portaudio Found
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.43.0")
-- wxCurl configured...
-- SVG support enabled...
-- Could NOT find CAIRO (missing: CAIRO_INCLUDE_DIR CAIRO_LIBRARY)
CMake Error at CMakeLists.txt:627 (message):
  Cairo component required, but not found!

-- Configuring incomplete, errors occurred!
See also "/home/john/OpenCPN/build/CMakeFiles/CMakeOutput.log".
john@john-H81M-S2H-GSM:~/OpenCPN/build$

No luck with synaptic.
How do I find these packages?

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

I guess it's
sudo apt-get install libcairo2-dev

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#12

Glad to help. You are patient and this is an interesting problem.

Alright, I found an interesting page :-)

Run this SINGLE command in a Terminal (starts with sudo and ends with libcairo2-dev at the very end):

sudo apt-get install build-essential cmake gettext git-core gpsd gpsd-clients libgps-dev wx-common libwxgtk3.0-dev libglu1-mesa-dev libgtk2.0-dev wx3.0-headers libbz2-dev libtinyxml-dev libportaudio2 portaudio19-dev libcurl4-openssl-dev libexpat1-dev libcairo2-dev

Then retry compiling. Should help a lot.

Source webpage: http://opencpn.org/ocpn/book/export/html/28

Revision history for this message
John Wilson (jwilsondmartin) said :
#13

Manfred's suggestion produced the following output:
john@john-H81M-S2H-GSM:~/OpenCPN/build$ cmake ../
-- *** Build Architecture is amd64
-- *** Staging to build opencpn 4.2.0 ***
-- *** Package will NOT include documentation ***
-- *** Package will NOT include GSHHS data ***
-- *** Package will NOT include tide and current data ***
-- Found OpenGL....
-- GL Lib: /usr/lib/x86_64-linux-gnu/libGLU.so/usr/lib/x86_64-linux-gnu/libGL.so
-- GL Include: /usr/include
-- Adding local GLU
-- Revised GL Lib: GLU_static/usr/lib/x86_64-linux-gnu/libGL.so
-- Found wxWidgets...
-- wxWidgets Libraries: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0
-- Revised wxWidgets Libraries: -L/usr/lib/x86_64-linux-gnu;-pthread;-lwx_gtk2u_gl-3.0;-lwx_baseu_net-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0
--
-- *** Staging to build opencpn ***
-- Build type: Release
-- *** Will install to /usr/local ***
-- Crash reporting enabled
-- Using Linux crash reporting
-- Found Portaudio: /usr/lib/x86_64-linux-gnu/libportaudio.so
-- Portaudio Found
-- wxCurl configured...
-- SVG support enabled...
-- Found CAIRO: /usr/include/cairo
-- Could NOT find CAIRO_EXTRAS (missing: PANGOCAIRO_LIBRARY PANGOFT2_LIBRARY PANGOXFT_LIBRARY GDK_PIXBUF_LIBRARY)
-- Some or all of the gtk libraries were not found. (missing: GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY)
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'gtk+-3.0'
-- package 'gtk+-3.0' not found
-- Could NOT find GTK3 (missing: GTK3_INCLUDE_DIRS GTK3_LIBRARIES)
-- Building against GTK3...
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.1.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.4")
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.2/Modules/FindBZip2.cmake:54 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:792 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "/home/john/OpenCPN/build/CMakeFiles/CMakeOutput.log".
john@john-H81M-S2H-GSM:~/OpenCPN/build$

Revision history for this message
John Wilson (jwilsondmartin) said :
#14

Mark ran your long command and it seems to be compiling.
Have got to the sudo chekinstall stage

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#15

Good to read. The procedure worked for me, so it had to work for you eventually as well. The only difference is that most of these dependencies were already installed on my PC. It's because I do a lot of this type of troubleshooting for other packages and the dependencies overlap with that of other projects. :-)

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#16

I see that I helped you with a similar type of issue with glabels in 2013. How time flies....

https://answers.launchpad.net/ubuntu/+question/241387

Revision history for this message
John Wilson (jwilsondmartin) said :
#17

Actually I think you also helped me with my laptop's camera some time ago as well.
How do I get opencpn to launch from Dash?

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#18

Using the last command in the mark911 procedue:

/usr/local/bin/opencpn

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#19

I may have misunderstood your last question.

Maybe you are asking how to create a launcher pointing to /usr/local/bin/opencpn from the Unity desktop....

Maybe these links will help:

https://help.ubuntu.com/community/HowToAddaLauncher

http://www.howopensource.com/2012/10/create-application-launcher-add-icon-to-unity-ubuntu-12-10/

I never use Unity or Dash, so I cannot give expert advice about it....

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#20

I use the LXQt desktop instead.....

Revision history for this message
John Wilson (jwilsondmartin) said :
#21

Mark once again thank you for your help.
Have just installed OpenCPN on my laptop that I take on the boat.
I used the Mark 911 article that you told me about in your first reply with this link https://mark911.wordpress.com/2016/02/17/how-to-compile-and-install-opencpn-4-2-0-from-source-code-via-github-in-ubuntu-14-04-lts-64-bit/
What I had failed to notice that the third line sudo apt-get install to libcairo2-dev and the fourth line sudo apt-get install to checkinstall build-essential.
This time I noticed the scroll bar and captured the whole line and things went well although I had to install checkinstall build-essential manually.
Telling you this so you can have confidence in the Mark 911 procedure

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#22

Mark911 and me are the same person, if you did not notice yet. Mark911 is just my website nickname.