Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 24-04-2020, 08:57   #1
Registered User

Join Date: Apr 2020
Posts: 1
Issues with Raspberry Install

Hello all,

for whatever the reason, I am getting the following error when installing on RaspberryPI 4 running the latest buster.

Connection failed [IP: 91.189.95.83 80]
E: Failed to fetch http://ppa.launchpad.net/opencpn/ope...ionic1_all.deb Connection failed [IP: 91.189.95.83 80]


could you please advise?

Thank you!
__________________

fpetrutiu is offline   Reply With Quote
Old 24-04-2020, 15:15   #2
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 688
Re: Issues with Raspberry Install

Quote:
Originally Posted by fpetrutiu View Post
Hello all,

for whatever the reason, I am getting the following error when installing on RaspberryPI 4 running the latest buster.

Connection failed [IP: 91.189.95.83 80]
E: Failed to fetch http://ppa.launchpad.net/opencpn/ope...ionic1_all.deb Connection failed [IP: 91.189.95.83 80]


could you please advise?

Thank you!

What is your purpose ? Running Buster and OpenCPN ?

You better can take the image of OpenPlotter 2.0. Then you have Buster and everything you need. You can install OpenCPN and the SignalK server and a lot of other applications. Like VNC server, wireless access point etc.

You can find OpenPlotter on the OpenPlotter site.

Works great,




Bram
__________________

verkerkbr is offline   Reply With Quote
Old 24-04-2020, 15:33   #3
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,053
Issues with Raspberry Install

Quote:
Originally Posted by fpetrutiu View Post
Hello all,

for whatever the reason, I am getting the following error when installing on RaspberryPI 4 running the latest buster.

Connection failed [IP: 91.189.95.83 80]
E: Failed to fetch http://ppa.launchpad.net/opencpn/ope...ionic1_all.deb Connection failed [IP: 91.189.95.83 80]


could you please advise?

Thank you!

The reason is because Buster came out after the current release of OpenCPN. You can get the latest development .deb file for Buster here. Download the Buster version and use dpkg to install on your machine.

https://cloudsmith.io/~dan-dickey/re...able/packages/

At the next release then there will be an official PPA package.
transmitterdan is offline   Reply With Quote
Old 08-05-2020, 07:41   #4
Registered User
 
Dsanduril's Avatar

Join Date: Aug 2011
Location: Petersburg, AK
Boat: Outremer 50S
Posts: 2,950
Re: Issues with Raspberry Install

T'Dan,

are you building on the PI? or cross-compiling? I'd like to be able to compile from source on the Pi. It currently builds for me but won't run, throws an error that gtk2 and gtk3 symbols can't exist in the same application. Found a switch OCPN_FORCE_GTK3 in the makefile that I thought might solve the issue, but it didn't.

Anyway, I think this summer is going to be a little slow, and I'd like to be able to work on and compile OpenCPN on the Pi. If you have any tips or build scripts you'd like to share I'm all ears.
Dsanduril is offline   Reply With Quote
Old 08-05-2020, 08:03   #5
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,053
Re: Issues with Raspberry Install

I build in the pi. There is a bug in building recently introduced. It will be fixed shortly I think.
transmitterdan is offline   Reply With Quote
Old 08-05-2020, 08:10   #6
Registered User
 
Dsanduril's Avatar

Join Date: Aug 2011
Location: Petersburg, AK
Boat: Outremer 50S
Posts: 2,950
Re: Issues with Raspberry Install

So once you have the libraries pretty much a standard:

cmake
make
make install and/or make package

?
Dsanduril is offline   Reply With Quote
Old 08-05-2020, 12:10   #7
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,053
Re: Issues with Raspberry Install

Yes, I can post the commands for RPi build in a day or so when I get to a computer. Almost exactly the same as Ubuntu.
transmitterdan is offline   Reply With Quote
Old 08-05-2020, 12:21   #8
Registered User
 
Dsanduril's Avatar

Join Date: Aug 2011
Location: Petersburg, AK
Boat: Outremer 50S
Posts: 2,950
Re: Issues with Raspberry Install

I'd appreciate that if you would. All the references I've found are a bit long-in-the-tooth and load unnecessary/out-of-date packages, etc.

I did get your deb up and running, big thanks for creating it.

There are a couple of plugins I'd like to look at, and being sure I can build O will go a long way to making sure I have all the dependencies needed to build the plugins.
Dsanduril is offline   Reply With Quote
Old 08-05-2020, 19:38   #9
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,053
Re: Issues with Raspberry Install

Short set of commands to set up and build OpenCPN on Raspberry Pi 4.

# Raspberry Pi 4 setup assuming you installed the full desktop image with recommended software

Code:
sudo apt-get -y 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 libarchive-dev liblzma-dev libexif-dev libelf-dev libsqlite3-dev bc bison flex libssl-dev python3 ddd htop

git clone https://github.com/opencpn/opencpn.git

cd opencpn && mkdir build && cd build

cmake -DOCPN_BUNDLE_TCDATA=ON -DOCPN_BUNDLE_GSHHS=CRUDE -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOCPN_USE_CRASHREPORT=OFF -DOCPN_ENABLE_PORTAUDIO=OFF -DOCPN_ENABLE_SYSTEM_CMD_SOUND=ON -DOCPN_FORCE_GTK3=OFF ..

make -sj4

sudo make install
transmitterdan is offline   Reply With Quote
Old 08-05-2020, 21:19   #10
Registered User
 
Dsanduril's Avatar

Join Date: Aug 2011
Location: Petersburg, AK
Boat: Outremer 50S
Posts: 2,950
Re: Issues with Raspberry Install

Thanks, much appreciated.

You've got a couple of extra packages at the back of your install list and a couple of cmake switches I haven't used, so I'll have to try those out.

On the make command I read somewhere that j should specify one more than your actual core count so I've been using 5. Now I'm going to have to break out a timer
Dsanduril is offline   Reply With Quote
Old 09-05-2020, 06:50   #11
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,053
Re: Issues with Raspberry Install

It depends on how much RAM you have. If you have 4GB then 5 or 6 is worth a try.
__________________

transmitterdan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Schaefer Roller Furling Install Issues LakeSuperior Construction, Maintenance & Refit 1 13-07-2016 19:39
Back to failure with raspberry pi and compiling jimseng OpenCPN 14 10-08-2012 07:28
Can Someone Help Compile on Raspberry Pi ? jimseng OpenCPN 11 06-07-2012 16:24
Raspberry PI compiles OpenCPN monstads OpenCPN 7 15-03-2012 12:41
The Perfect Platform for OpenCPN ? Raspberry Pi night0wl OpenCPN 10 08-09-2011 19:09

Advertise Here


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.