Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 18-09-2017, 08:38   #31
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,109
Re: Installing on Debian 9.1

I have upgraded OpenPlotter to the Stretch Linux version. Everything is then working as before. But no longer any means to do an upgrade of OpenCPN or plugins, missing signature for OpenCPN.

If a take a complete new version of Linux Stretch I also run in problems with installing OpenCPN. Setting the keys with PPA does not work and produces an error with add-apt .... etc.

But now everything is running very well with Stretch including the oeSenc plugin and Charts. But no update possible for OpenCPN. It looks if having the right keys are the problem.

With Jessie you could agree for an unsigned install. But Debian Stretch is closed for that option.

Bram
verkerkbr is offline   Reply With Quote
Old 18-09-2017, 13:48   #32
Registered User

Join Date: Sep 2017
Location: Denmark
Boat: Ohlson 29
Posts: 40
Re: Installing on Debian 9.1

Quote:
Originally Posted by verkerkbr View Post
I have upgraded OpenPlotter to the Stretch Linux version. Everything is then working as before. But no longer any means to do an upgrade of OpenCPN or plugins, missing signature for OpenCPN.

If a take a complete new version of Linux Stretch I also run in problems with installing OpenCPN. Setting the keys with PPA does not work and produces an error with add-apt .... etc.

But now everything is running very well with Stretch including the oeSenc plugin and Charts. But no update possible for OpenCPN. It looks if having the right keys are the problem.

With Jessie you could agree for an unsigned install. But Debian Stretch is closed for that option.

Bram
Hi Bram

on natiive Raspbian based on Debian stretch 9.1 i have compiled OpenCPN from source and it works excellent using with the experimentaal OpenGL driver. Smooth scrolling and zooms and I have imported all s57 charts for the east coast of USA and it works very good.

But as I have written about before in this thread there is a problem with the s63_pi plugin. It compiles and installs without problems but when I try to make a new s63 system identifier file so I can import my s63 charts for Denmark it fails with an error. I have investigated the problem and it all comes down to a part of the the distribution which is a precompiled binary rather than source code - possibly to protect the encoded charts from hacks. This utility /usr/bin/OCPNsenc is compiled using a previous version of library libwx_baseu* which is incompatible with stretch runtime library libwx_baseu-3.0. There is a shared object named `_ZN12wxTextBuffer6ms_eofE of size 32 bytes in stretch library whereas the size in OCPNsenc is 12 bytes. Consequently the programloader refuse to load the program and tells me about the size mismatch and tell me to re-link OCPNsenc, but that is of course not possible since I dontt have the original source code.

I have left a message to the maintainer bdbcat on the source repository github.com with a requst to recompile OCPNsenc on Raspbian stretch, but so far no luck. He is probably a busy man. We will see if I have any luck.

Too bad since it is working so well, but without the charts of Denmark I have to use my laptop which is clumpsy, and I had really hoped I could make a little smart device for that specific purpose. I realize that there is of course the openplotter initiative, but that is not really what fits my purpose.

Jan
janth is offline   Reply With Quote
Old 30-03-2018, 15:03   #33
Registered User

Join Date: Feb 2015
Boat: Catalina 42
Posts: 3
Re: Installing on Debian 9.1

OpenCPN ran in Debian 8 (Jessie) but after upgrading to Debian 9 (Stretch), I'm unable to install from the PPA. I tried to install the Trusty i386 .deb file and got dependency errors. Then I realized that when I upgraded, I installed amd64 version of Stretch. So I downloaded the Trusty amd64 package. I get the following errors:
Unpacking opencpn (4.8.2-0~trusty1) ...
dpkg: dependency problems prevent configuration of opencpn:
opencpn depends on libwxbase3.0-0 (>= 3.0.0); however:
Package libwxbase3.0-0:amd64 is not installed.
opencpn depends on libwxgtk3.0-0 (>= 3.0.0); however:
Package libwxgtk3.0-0:amd64 is not installed.
opencpn depends on opencpn-tcdata; however:
Package opencpn-tcdata is not installed.
opencpn depends on opencpn-gshhs-low; however:
Package opencpn-gshhs-low is not installed.
I confirm that libwxbase3.0-0v5 is installed but don't know if it is amd64. Same for libwxgtk3.0-0v5. I thought about deleting both and reinstalling but audacity and filezilla depend on both and both programs work. If I can't install a pkg and need to compile, are there any indications of dependency conflicts from my issues that I need to watch out for?
I loved the program before I upgraded and used it for trip planning although my B&G Zeus2 is satisfactory on my boat. Any suggestions are welcome.
george_92128 is offline   Reply With Quote
Old 30-03-2018, 20:03   #34
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: Installing on Debian 9.1

Quote:
Originally Posted by george_92128 View Post
....So I downloaded the Trusty amd64 package
...
Use the Bionic amd64 package... (disregarding what the wiki says)
sailorF54 is offline   Reply With Quote
Old 31-03-2018, 03:58   #35
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,696
Images: 2
Re: Installing on Debian 9.1

Sailor54
Do we need to update the wiki?
If so please advise, and post what is needed here or I can make you an editor / manager, by PM me.
Someone needs to maintain that page. (I am windows.)

Quote:
Originally Posted by sailorF54 View Post
Use the Bionic amd64 package... (disregarding what the wiki says)
rgleason is offline   Reply With Quote
Old 31-03-2018, 08:08   #36
Registered User
 
Woodland Hills's Avatar

Join Date: Apr 2017
Location: Aboard
Boat: Hatteras CPMY 63’
Posts: 900
Re: Installing on Debian 9.1

Quote:
Originally Posted by janth View Post
apparently file attacment did not work. so here is a past of contents:





================================================== =============================
1. OpenCPN build and install
================================================== =============================

Install all Debian packages needed to build an run OpenCPN (and opional plugins mentioned below)

apt update && apt upgrade
apt install `cat package_list.txt`

where the contents of the file pacage_list.txt must be as follows :

git
cmake
libc6
libc6-dev
build-essential
libgl1-mesa-dev
libgl1-mesa-dri
libgl1-mesa-glx
libglapi-mesa
libglu1-mesa
libglu1-mesa-dev
freeglut3
freeglut3-dev
libwxgtk3.0-0v5
libwxgtk3.0-dev
libtinyxml2.6.2v5
libtinyxml2-dev
libtinyxml-dev
libcurl3
libcurl3-dev
libcairo2
libcairo2-dev
libpango1.0-dev
libgdk-pixbuf2.0-dev
libgtk2.0-dev
lbzip2
libghc-bzlib-dev
libelf-dev
liblzma-dev
wx3.0-i18n
wx3.0-headers
zlib1g
zlib1g-dev
libportaudio2
portaudio19-dev

Download latest OpenCPN source code:

cd ~/Downloads
git clone https://github.com/OpenCPN/OpenCPN.git
cd OpenCPN

change library settings to enable Debian 9 build:

edit CMakeLists.txt
replace libwxgtk3.0-0 with libwxgtk3.0-0v5
replace libtinyxml2.6.2 with libtinyxml2.6.2v5

Download a high-resolution set of world wide background maps from the following link: https://opencpn.org/wiki/dokuwiki/li...gshhshires.zip, and extract the files to ~/Downloads/OpenCPN/data/gshhs )

cd ~/Downloads/OpenCPN

mkdir build
cd build

cmake ../

check for error messages and install any missing packages not included in the list above

edit CMakeCache.txt to make the following changes:

replace BUNDLE_DOCS:BOOL=OFF with BUNDLE_DOCS:BOOL=ON (include documentation in build)

replace BUNDLE_GSHHS:STRING=NONE with BUNDLE_GSHHS:STRING=FULL (this will include the hi-res background maps downloaded above in the build. If maps are unavailable the build will fail)

replace CMAKE_INSTALL_PREFIX:PATH=/usr/local with CMAKE_INSTALL_PREFIX:PATH=/usr ( this is needed to work properly with 3rd-party plugins such as s63_pi, oesenc_pi, and some utilities without various soft links. )

Compile and build OpenCPN resulting in Debian package opencpn.deb :

make -j2 package (-j2 option uses two compile threads to speed up the build)

sudo dpgk --install opencpn.deb

================================================== =======
2. Build and install chart plugin for oeSENC O-Charts
================================================== =======

If not done so, install the packages mentioned above under OpenCPN build

Download latest version of source code:

cd ~/Downloads

git clone https://github.com/bdbcat/oesenc_pi.git

Compile and build Debian package oesenc_pi_1.2.0-1_amd64.deb :

cd oesenc_pi
mkdir build
cd build
cmake ../ (check error messages)
make -j2 package

Install package :

dpkg --install oesenc_pi_1.2.0-1_amd64.deb

================================================== ==============
2. Build and install chart plugin for S63 Encrypted ENC Charts
================================================== ==============

If not done so, install the packages mentioned above under OpenCPN build

Download latest version of source code:

cd ~/Downloads

git clone https://github.com/bdbcat/s63_pi.git

Compile and build Debian package oesenc_pi_1.2.0-1_amd64.deb :

cd os63_pi
mkdir build
cd build
cmake ../ (check error messages)
make -j2 package

Install package :

dpkg --install s63_pi_1.6.0-1_amd64.deb

Well, that sounds simple......
Woodland Hills is offline   Reply With Quote
Old 31-03-2018, 08:34   #37
Registered User

Join Date: Jul 2017
Posts: 67
Re: Installing on Debian 9.1

I used this process to add the Tactics Plugin to OpenCPN on my Rpi (running Jessie) and it worked well. See my write up in the Tactics thread.
CapnRon47 is offline   Reply With Quote
Old 03-04-2018, 02:32   #38
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,696
Images: 2
Re: Installing on Debian 9.1

See this post and the others around it.
I'd like to post this in the wiki, but where? and who will maintaim it? Not me. If there is a debian user who will do so, I can make them an editor/ manager. PM me.
http://www.cruisersforum.com/forums/....php?p=2497011
rgleason is offline   Reply With Quote
Old 13-07-2018, 02:50   #39
Registered User

Join Date: May 2017
Posts: 2
Re: Installing on Debian 9.1

Not tested in earnest yet, but I just successfully compiled on Devuan Ascii (basically Debian 9 with the crust of systemd scraped off), running on x64 64-bit.


However 'make' fell over on my first attempt, due to libsqlite3-dev not being installed. It might be worth adding that to the package list for Debian.
toyboat is offline   Reply With Quote
Old 13-07-2018, 07:14   #40
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,435
Re: Installing on Debian 9.1

toyboat....

github Pull Requests accepted gladly.

Thanks
Dave
bdbcat is online now   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing on Debian Sid pcav OpenCPN 8 25-06-2017 23:51
Failed to compile 3.0.2 on Debian Squeeze rahra OpenCPN 13 15-05-2014 11:14
Opencpn Depedancies issues on Debian AlainT OpenCPN 6 22-01-2013 03:52
OpenCPN Build on Debian antonm OpenCPN 176 21-08-2012 08:40
Some More Copyright Things (based on Debian Inclusion Reject) antonm OpenCPN 15 10-06-2012 21:52

Advertise Here


All times are GMT -7. The time now is 22:19.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.