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 24-06-2017, 11:30   #1
Registered User

Join Date: Mar 2016
Posts: 39
Installing on Debian Sid

Hi all,
I succesfully built OSPN on my Debian Sid box, and I built a deb from it as indicated in the manual.
However, dpkg -i fails, because it searches for libwxgtk3.0-0 and libtinyxml2.6.2, whereas in the official repo there are libwxgtk3.0-0v5 and libtinyxml2.6.2v5.
Any hint appreciated.
Thanks.
pcav is offline   Reply With Quote
Old 24-06-2017, 22:57   #2
Registered User

Join Date: Mar 2016
Posts: 39
Re: Installing on Debian Sid

Should I report this as an issue on GH, or here is the right place to report it?
Thanks.
pcav is offline   Reply With Quote
Old 25-06-2017, 06:48   #3
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Installing on Debian Sid

pcav....

You may try to edit the OpenCPN CMakeLists.txt around line 73:

Code:
    SET (PACKAGE_DEPS "libc6, libwxgtk3.0-0, wx3.0-i18n, libglu1-mesa (>= 7.0.0), libgl1-mesa-glx (>= 7.0.0), zlib1g, bzip2, libtinyxml2.6.2, libportaudio2")
Rebuild from the top, and it should work.

Please report back how this goes.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 25-06-2017, 08:24   #4
Registered User

Join Date: Mar 2016
Posts: 39
Re: Installing on Debian Sid

Great, done. I finally can use OCPN!
I'm available for help making a proper package for inclusion in Debian.
pcav is offline   Reply With Quote
Old 25-06-2017, 08:59   #5
Registered User

Join Date: Mar 2016
Posts: 39
Re: Installing on Debian Sid

Sorry to bother again: at first display, no background map is shown, whereas from the manual it apparently should. Do I have to point to one installation directory?
Thanks.
pcav is offline   Reply With Quote
Old 25-06-2017, 09:28   #6
Registered User

Join Date: Mar 2016
Posts: 39
Re: Installing on Debian Sid

Added on Options>Charts>Chart files:
/usr/local/src/OpenCPN/data/gshhs
/usr/share/maps/gshhs
still nothing
pcav is offline   Reply With Quote
Old 25-06-2017, 13:17   #7
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Installing on Debian Sid

the gshhs charts are not loaded like normal charts.

They must be in the correct location, see ~/.opencpn/opencpn.log, and search for gshhs, and you will see where they must be located.
seandepagnier is offline   Reply With Quote
Old 25-06-2017, 23:44   #8
Registered User

Join Date: Mar 2016
Posts: 39
Re: Installing on Debian Sid

thanks. for the record:
ln -s /usr/local/src/OpenCPN/data/gshhs /usr/local/share/opencpn/
did the trick
perhaps the packaging should take care of this
pcav is offline   Reply With Quote
Old 25-06-2017, 23:51   #9
Registered User

Join Date: Mar 2016
Posts: 39
Re: Installing on Debian Sid

However, when using the detailed map:
ln -s /usr/share/maps/gshhs /usr/local/share/opencpn/
I get:
Unable to initialize background world map. No GSHHS datafiles found in /usr/local/share/opencpn/gshhs/
even if:
ls /usr/local/share/opencpn/gshhs/wdb*
/usr/local/share/opencpn/gshhs/wdb_borders_c.b /usr/local/share/opencpn/gshhs/wdb_rivers_c.b
/usr/local/share/opencpn/gshhs/wdb_borders_f.b /usr/local/share/opencpn/gshhs/wdb_rivers_f.b
/usr/local/share/opencpn/gshhs/wdb_borders_h.b /usr/local/share/opencpn/gshhs/wdb_rivers_h.b
/usr/local/share/opencpn/gshhs/wdb_borders_i.b /usr/local/share/opencpn/gshhs/wdb_rivers_i.b
/usr/local/share/opencpn/gshhs/wdb_borders_l.b /usr/local/share/opencpn/gshhs/wdb_rivers_l.b
pcav is offline   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
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 10:07.


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.