Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 19-02-2018, 05:03   #1
Registered User

Join Date: Mar 2016
Posts: 19
OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Argh, err Hello

Well well well - after OpenCPN 4.4. and 4.6. beeing unusable on a Raspberry PI I though - Why not give 4.8.2 a try?

It is kinda funny, because 4.8.2 isn't even installable on a Raspberry PI3?

I followed the instructions on opencpn.org:

https://opencpn.org/wiki/dokuwiki/do...spberrypi_rpi2

Set my Sources to the latest Raspbian:
Code:
deb Index of /raspbian/ wheezy main contrib non-⁠free
deb-src Index of /raspbian/ wheezy main contrib non-free
did a apt-get upgrade, update and a rip-update

and then apt-get install opencpn

but:

Code:
root@kutt-ais-slave:/# apt-get install opencpn
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 opencpn : Depends: libstdc++6 (>= 5.2) but 4.9.2-10+deb8u1 is to be installed
           Depends: libtinyxml2.6.2v5 but it is not installable
           Depends: libwxbase3.0-0v5 (>= 3.0.2+dfsg) but it is not installable
           Depends: libwxgtk3.0-0v5 (>= 3.0.2+dfsg) but it is not installable
           Recommends: xcalib but it is not going to be installed
           Recommends: opencpn-doc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Eh?
These version numbers are not available in raspbian wheezy!

I guess even if I compile OpenCPN from the source, this issue will create troubles ...

Any Ideas how to fix that? Is there a Raspbian "unstable"? Afaik "wheezy" is already some kind of testing release? Will I ever stay stuck at OpenCPN 4.2.? - This is the last version I got running stable on a Raspberry...
kutt is offline   Reply With Quote
Old 19-02-2018, 05:37   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Quote:
Originally Posted by kutt View Post
Argh, err Hello

Well well well - after OpenCPN 4.4. and 4.6. beeing unusable on a Raspberry PI I though - Why not give 4.8.2 a try?

It is kinda funny, because 4.8.2 isn't even installable on a Raspberry PI3?

I followed the instructions on opencpn.org:

https://opencpn.org/wiki/dokuwiki/do...spberrypi_rpi2

Set my Sources to the latest Raspbian:
Code:
deb Index of /raspbian/ wheezy main contrib non-⁠free
deb-src Index of /raspbian/ wheezy main contrib non-free
did a apt-get upgrade, update and a rip-update

and then apt-get install opencpn

but:

Code:
root@kutt-ais-slave:/# apt-get install opencpn
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 opencpn : Depends: libstdc++6 (>= 5.2) but 4.9.2-10+deb8u1 is to be installed
           Depends: libtinyxml2.6.2v5 but it is not installable
           Depends: libwxbase3.0-0v5 (>= 3.0.2+dfsg) but it is not installable
           Depends: libwxgtk3.0-0v5 (>= 3.0.2+dfsg) but it is not installable
           Recommends: xcalib but it is not going to be installed
           Recommends: opencpn-doc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Eh?
These version numbers are not available in raspbian wheezy!

I guess even if I compile OpenCPN from the source, this issue will create troubles ...

Any Ideas how to fix that? Is there a Raspbian "unstable"? Afaik "wheezy" is already some kind of testing release? Will I ever stay stuck at OpenCPN 4.2.? - This is the last version I got running stable on a Raspberry...
Wheezy is a DEAD release, for quite some time, please upgrade at least to Debian Oldstable (Jessie) to be able to use current precompiled OpenCPN packages. If you need to stay with an obsolete, unsupported OS, you will of course also have to stay with obsolete software on it. Or try to build everything from source.
nohal is offline   Reply With Quote
Old 19-02-2018, 07:29   #3
Registered User

Join Date: Mar 2016
Posts: 19
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Hello,

Ahh - I just checked the wiki and saw that the latest is called "stretch" ...

1,2GB of Download and ~2h later, it seems that I can install OpenCPN 4.8.2 now.

A note in the HowTo, what Distribution is needed would be nice
kutt is offline   Reply With Quote
Old 19-02-2018, 07:34   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Quote:
Originally Posted by kutt View Post
Hello,

Ahh - I just checked the wiki and saw that the latest is called "stretch" ...

1,2GB of Download and ~2h later, it seems that I can install OpenCPN 4.8.2 now.

A note in the HowTo, what Distribution is needed would be nice
Any that is not past it's end of life...
nohal is offline   Reply With Quote
Old 20-02-2018, 00:54   #5
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Have you heard of the openplotter pi image?
Opencpn preinstalled with a menu to update it and the plugins.
Crammed full of useful stuff.
Stretch version due soon.
conachair is offline   Reply With Quote
Old 20-02-2018, 05:03   #6
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Quote:
Originally Posted by conachair View Post
Have you heard of the openplotter pi image?
Opencpn preinstalled with a menu to update it and the plugins.
Crammed full of useful stuff.
Stretch version due soon.
How soon is "soon".

Running Stretch here allready for months with OpenPlotter.
Latest kernel version is now 4.14.18. Stretch is very stable and fast.

Updated OpenPlotter to version 0.17 first before updating Jessie to Stretch. Oesenc charts still working.

Now running with OpenGL and VC4 driver. Not yet fullproof but screen movements are very fast. Had at first some problems to get the Touchscreen working (Egalax) but that is also solved.

Regards,

Bram
verkerkbr is offline   Reply With Quote
Old 20-02-2018, 05:31   #7
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Quote:
Originally Posted by verkerkbr View Post
How soon is "soon".

Running Stretch here allready for months with OpenPlotter.
Latest kernel version is now 4.14.18. Stretch is very stable and fast.

Updated OpenPlotter to version 0.17 first before updating Jessie to Stretch. Oesenc charts still working.

Now running with OpenGL and VC4 driver. Not yet fullproof but screen movements are very fast. Had at first some problems to get the Touchscreen working (Egalax) but that is also solved.

Regards,

Bram
Don't know how soon is soon, I trashed a load of mobile data trying the upgrade so will just stick with what works well already for now til all the wrinkles have been ironed out. Autopilot integration sounds interesting.
conachair is offline   Reply With Quote
Old 20-02-2018, 06:42   #8
Registered User

Join Date: Mar 2016
Posts: 19
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Quote:
Originally Posted by conachair View Post
Have you heard of the openplotter pi image?
Opencpn preinstalled with a menu to update it and the plugins.
Crammed full of useful stuff.
Stretch version due soon.

Yes I did. Actually I read about it in a forum when someone said, he is going to start such a project. However - at this time I had already a working Raspberry (~2014) for navigational stuff - at the beginning even without a display

Today my navi-PI is tied into the the rest of my ship with many custom coded stuff. Thats why a switch to Openplotter would be really complicated. In addidtion: I use Raspbian because thats basically Debian, which I use since around 15 years ... With Noobs I have absolutly no experience.
However - I like the concept of Openplotter (even if it's mostly in pyton )

Back to Topic:
Forget to use OpenCPN with raspbian stretch. The S63 plugin will not work. After some digging I found out, that there are some libs, which segementation fault the plugin.

So with Jessie you have to use this source:
deb Index of /opencpn/opencpn/ubuntu trusty main
With Stretch this one:
deb Index of /opencpn/opencpn/ubuntu xenial mainSince I use s63 95% of my time at sea stretch is no option for me (yet)
kutt is offline   Reply With Quote
Old 20-02-2018, 07:01   #9
Registered User

Join Date: Mar 2016
Posts: 19
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Quote:
Originally Posted by conachair View Post
Autopilot integration sounds interesting.
already done on my set-up

Arduino Autopilot with Magnetic-, Wind- and OpenCPN steering mode

EDIT: Thats odd - there is a post missing about me and Openplotter - maybe a Moderator has to accept it first...
kutt is offline   Reply With Quote
Old 02-07-2018, 16:08   #10
Registered User

Join Date: Jul 2018
Location: Denmark
Boat: Nauticat 33
Posts: 3
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Hello,
It looks like I am not the only one with s63 charts problems, can somebody help, please.
I cannot get s63 charts to work in openCPN (version 4.8) installed on an Raspberry 3b with Debian OS 8 (Jessie).

Here is what I have done so far:
S63 plugin (version 1.8) installed.
First try was with Debian 9 (Stretch) – Fingerprint file could not be created!

Reformat the SD chard and install Debian 8 (Jessie)
Fingerprint file created and uploaded to O-chart.
User Permit received from O-chart.
System Identification file (*.fpr) uploaded, purchased a single S63 chart from Chartworld.
Received Install Permit and the charts downloaded from Chartworld.

In OpenCPN:
S63 plugin activated.
In Keys/Permit tap – Certificate IHO.PUB installed.
UserPermit installed – check ok.
InstallPermit installed – check ok.
System Identification - /home/pi/.opencpn/**--,fpr.

In Chart Cells tap:
“Installed s63 Cell Permits” all the charts are there.
In the maps file tap – folder added and pointed to the folder where the ENC_ROOT is placed.

There was no errors – but the charts are NOT visible.

I then upgraded the OS from version 8 (Jessie) to version 9 ( Stretch), but the charts are still not visible.

I downloaded some charts from NOAA (US) and it works fine.
Bitmaps works fine also.

Any idea.
Thanks
Lunadk is offline   Reply With Quote
Old 02-07-2018, 16:29   #11
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

lunadk...

In general, if you get:

"UserPermit installed – check ok.
InstallPermit installed – check ok."

then the plugin and permits are installed correctly.

In this step:

"In the maps file tap – folder added and pointed to the folder where the ENC_ROOT is placed.

There was no errors – but the charts are NOT visible."

What is the "In the maps file tap "?

Tell us more about what happens here here. Does the S63_PI tab on the settings dialog show the progress of the cell imports?

Also, your logfile will give some indication of the program's attempt to load the charts. You could post it here...

Dave
bdbcat is online now   Reply With Quote
Old 02-07-2018, 22:19   #12
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

[SOLVED] S-63 Plugin


Might be of interest?
conachair is offline   Reply With Quote
Old 03-07-2018, 14:43   #13
Registered User

Join Date: Jul 2018
Location: Denmark
Boat: Nauticat 33
Posts: 3
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

What is the "In the maps file tap "?

It should have been “Chart Files Tab” sorry for that!


Tell us more about what happens here here. Does the S63_PI tab on the settings dialog show the progress of the cell imports?

When clicking on “Import Charts/Updates” a s63_pi Meassage Window is displayed.
“OpenCPN can create eSENC files as cells are imported”
And then click on “yes or No”
If yes is selected it takes about 20 seconds and the display is flashing
The cell names are displayed.
eg. 9C5KOEBH 49 30-06-2019 and 95 more.

S63_pi Log window is empty.

This is part of the Log files (at the beginning of the log file)

16:40:47 CEST: Loading chart data for /home/pi/.opencpn/s63/s63charts/49/9C2KATGS.os63
16:40:47 CEST: s63_pi: Checking OCPNsenc utility at {/usr/bin/OCPNsenc}
16:40:47 CEST: s63_pi: OCPNsenc Check OK...OCPNsenc: Version 1.20
16:40:47 CEST: /usr/bin/OCPNsenc -l -i "/home/pi/Documents/Søkort/Vektor/Danmark/ENC_ROOT/9C/9C2KATGS/52/5/9C2KATGS.000" -o "/home/pi/.opencpn/s63/s63SENC/9C2KATGS.ehdr" -p 9C2KATGS201906309958100581D6070E9958100581D6070E51 399F5C88BFD6D4,0,,49, -u 4CBC529AC055EA406161DD643147 -e 601774FE -r "/usr/share/opencpn/s57data" -g "/home/pi/.opencpn/s63/s63charts/49/9C2KATGS.os63" -z "/usr/lib/opencpn/libs63_pi.so"
16:40:48 CEST: ...initialization failed for /home/pi/.opencpn/s63/s63charts/49/9C2KATGS.os63
16:40:48 CEST: CreateChartTableEntry() failed for file: /home/pi/.opencpn/s63/s63charts/49/9C2KATGS.os63

and further down (at the end of the log file)

17:08:41 CEST: Authenticating /home/pi/Documents/Søkort/Vektor/Danmark/ENC_ROOT/9C/9C5VODBT/4/2/9C5VODBT.000

17:08:41 CEST: Checking signature file format
17:08:41 CEST: Signature file format OK
17:08:41 CEST: Checking SA Digital Certificate format
17:08:41 CEST: SA Digital Certificate format OK
17:08:41 CEST: Authenticating Signed Data Server Certificate
17:08:41 CEST: Certificate Authentication Successful
17:08:41 CEST: Authenticating ENC cell contents
17:08:41 CEST: ENC Authentication Successful

17:08:41 CEST: Building eSENC 95/96
17:08:41 CEST: /usr/bin/OCPNsenc -l -i "/home/pi/Documents/Søkort/Vektor/Danmark/ENC_ROOT/9C/9C5VODBT/4/2/9C5VODBT.000" -o "/home/pi/.opencpn/s63/s63SENC/9C5VODBT.ehdr" -p 9C5VODBT20190630542E6494A06186CA542E6494A06186CA27 F63E8B687FA02B,0,,49, -u 4CBC529AC055EA406161DD643147 -e 601774FE -r "/usr/share/opencpn/s57data" -g "/home/pi/.opencpn/s63/s63charts/49/9C5VODBT.os63" -z "/usr/lib/opencpn/libs63_pi.so"
17:08:41 CEST:
17:08:41 CEST: OCPNsenc: Executing...
17:08:41 CEST: OCPNsenc: Building ehdr...
17:08:41 CEST: for 9C5VODBT.000
17:08:41 CEST: OCPNsenc ERROR: Invalid input file size for decrypt.
17:08:41 CEST: OCPNsenc: Exit.
17:08:41 CEST:
Lunadk is offline   Reply With Quote
Old 03-07-2018, 17:13   #14
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Lunadk...

Probably the s63 plugin is not liking this part of your chart paths:

".../Søkort/..."

Please try again, relocating your charts as necessary to ensure there are no non-standard ASCII characters in the full path:

e.g.
/home/pi/Documents/Charts/Vektor/Danmark/ENC_ROOT/9C/9C2KATGS/52/5/9C2KATGS.000"

Dave
bdbcat is online now   Reply With Quote
Old 04-07-2018, 08:25   #15
Registered User

Join Date: Jul 2018
Location: Denmark
Boat: Nauticat 33
Posts: 3
Re: OpenCPN 4.8.2 on Raspberry PI3 - dependencies error

Dave,
I changed the chart path to have only standard ASCII characters – and I got my charts.

Thanks
Lunadk is offline   Reply With Quote
Reply

Tags
enc, opencpn


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
OCPNsenc linkage error on Mate 16.04.02 on a PI3 MarkusP OpenCPN 0 23-05-2017 23:57
Raspberry Pi3 Plugin Problems Luckbert OpenCPN 3 11-10-2016 10:16
USB GPS On raspberry pi3 L.Vargvik Marine Electronics 2 02-09-2016 15:00
OCPN 3.2.0 install on Ubuntu 12.04 - dependencies RobbieW OpenCPN 6 17-03-2013 06:43
Centos 6 Dependencies fulup OpenCPN 2 05-03-2012 08:29

Advertise Here


All times are GMT -7. The time now is 07:04.


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.