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 28-01-2018, 02:49   #1
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,988
Raspberry pi : Debian paquet as cmake, gettex, etc ...

Hello,

This concerns an installation on raspberry pi 3.

After installation, new, of debian stretch and after update and upgrade, I wanted to install cmake, gettext, and all the packages that are named in the ad-hoc page of the "user manual" OpenCPN to compile OpenCPN on raspberry.

Do nothing, impossible. The packages seem not to be present on the repository whose address is provided with Debian by the official website of raspberry. I tried, using Synaptic, to add various repositories. But without success concerning the packages I'm looking for.

Who can give me here the address of the depot where I will find the packages in question?

Thank you in advance.
Gilletarom is offline   Reply With Quote
Old 28-01-2018, 03:28   #2
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

Quote:
Originally Posted by Gilletarom View Post
Hello,

This concerns an installation on raspberry pi 3.

After installation, new, of debian stretch and after update and upgrade, I wanted to install cmake, gettext, and all the packages that are named in the ad-hoc page of the "user manual" OpenCPN to compile OpenCPN on raspberry.

Do nothing, impossible. The packages seem not to be present on the repository whose address is provided with Debian by the official website of raspberry. I tried, using Synaptic, to add various repositories. But without success concerning the packages I'm looking for.

Who can give me here the address of the depot where I will find the packages in question?

Thank you in advance.
Is this where you are looking for:

https://packages.debian.org/stretch/...cmake/filelist
verkerkbr is offline   Reply With Quote
Old 01-02-2018, 13:26   #3
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,988
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

Hello Verkerkbr
Quote:
Originally Posted by verkerkbr View Post
Pfuuuu .... I read this post and followed the link. And I forgot to come back to thank you .... Sorry for the delay.
Gilletarom is offline   Reply With Quote
Old 02-02-2018, 07:04   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

Any suggestions for improvement to the RPI Instructions here?
https://opencpn.org/wiki/dokuwiki/do...spberrypi_rpi2
rgleason is offline   Reply With Quote
Old 03-02-2018, 03:15   #5
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,988
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

Hello RGleason,

Thank you for the link. He points to the explanation for installing OpenCPN under raspi. But, that's not what I'm looking for.

I am looking to successfully compile OpenCPN under Debian with a raspi.

I read that it was necessary to use, partially, the method Ubuntu for which it is necessary to begin by installing these packages:$ 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 libarchive-dev liblzma-dev libexif-dev

Some are available here:
https://packages.debian.org/stable/devel:, with this version the Stretch, category main.

but, many of them do not seem to be there?

I guess we will have to wait for the situation to improve. Unless someone gives me the right deposit.
Gilletarom is offline   Reply With Quote
Old 03-02-2018, 04:09   #6
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

In the OpenCPN wiki are instructions how to install packages on Debian for Raspberry Pi. It works for me.

https://opencpn.org/wiki/dokuwiki/do...ing_linux:rpi2

edit: My RPi is running latest (not openplotter)

lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.3 (stretch)
Release: 9.3
Codename: stretch
transmitterdan is offline   Reply With Quote
Old 03-02-2018, 05:50   #7
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,988
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

Hello Transmitterdan, Hello All,
Quote:
Originally Posted by transmitterdan View Post
In the OpenCPN wiki are instructions how to install packages on Debian for Raspberry Pi. It works for me.
https://opencpn.org/wiki/dokuwiki/do...ing_linux:rpi2
edit: My RPi is running latest (not openplotter)
lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.3 (stretch)
Release: 9.3
Codename: stretch
If I do lsb_release -a, I have the same information as you.

That said, it is explained in the page about the compilation with a raspberry, that must be followed, too, the explanations contained in this other page:

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

And this second page starts with a list of packages that need to be installed. (list that I recalled in my previous post).

If I do dpkg -l, I get the list of packages installed on my raspberry.
And some of the packages I need to install are not in my list.

For example, I have "libbz2-1.0: armf", but I do not have "libbz2-dev".
For example, I have "libcairo2" but I do not have "libcairo2-dev"

And other packages are also missing from my installation.

I'm looking for a deposit at Debian, or somewhere else, where I'll find them.

Where are my repetitive questions? Who knows where to find all the packages in the list of packages that need to be installed?

Thank you in advance to the person who will know how to say it.
Gilletarom is offline   Reply With Quote
Old 03-02-2018, 07:03   #8
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Raspberry pi : Debian paquet as cmake, gettex, etc ...

Edit: Gil, sorry but I just run the apt-get command specified and it installs all required development packages. When you run the apt-get command do you get any errors? If so, post that here.
transmitterdan is offline   Reply With Quote
Old 03-02-2018, 08:41   #9
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,988
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

Hello Transmitterdan,
Quote:
Originally Posted by transmitterdan View Post
Edit: Gil, sorry but I just run the apt-get command specified and it installs all required development packages. When you run the apt-get command do you get any errors? If so, post that here.
Thank you for your service offer. I hope the attached file contains what you are requesting.

Here joined a txt file (put out ".doc". This file contains twice the same text, in French and in English.
Each part contains what appears if I do:

1- "sudo apt update"
2- "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 libarchive-dev liblzma-dev libexif-dev

Nota bene:
1- When you read the many lines that follow "Sudo apt update", you have the list of the repositories that I added in sources.list.

2- You can see in the "E" errors list that end the second part,all the packages that I can not install, since I do not have these packages in the repositories.
Attached Files
File Type: doc Gilletarom_Raspi-installation-erreurs.txt.doc (16.1 KB, 44 views)
Gilletarom is offline   Reply With Quote
Old 03-02-2018, 09:27   #10
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

I will look at this when I get back to my computer. I added no repositories to my RPi. Maybe that is the problem for you. All the development tools can be downloaded from the standard default repositories.
transmitterdan is offline   Reply With Quote
Old 03-02-2018, 09:36   #11
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

Gilletarom...

Please do this, and post output:

Code:
$sudo apt-cache policy libgtk2.0-dev libwxgtk3.0-dev
Dave
bdbcat is offline   Reply With Quote
Old 03-02-2018, 09:55   #12
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,988
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

Hello Dave,
Quote:
Originally Posted by bdbcat View Post
Gilletarom...
Please do this, and post output:
Code:
$sudo apt-cache policy libgtk2.0-dev libwxgtk3.0-dev
Dave
Out put :

libgtk2.0-dev
Installé : (aucun)
Candidat : (Aucun)
Table de version :
N: Impossible de trouver le paquet libwxgtk3.0-dev
N: Couldn't find any package by glob 'libwxgtk3.à-dev'
N: Impossible de trouver de paquet correspondant à l'expression rationnelle "libwxgtk3.0-dev"

So english version.

libgtk2.0-dev
Installed : (none)
Candidate: (None)
Version table:
N: Can not find package libwxgtk3.0-dev
N: Could not find any package by glob 'libwxgtk3.to-dev'
N: Unable to find a package matching the regexp "libwxgtk3.0-dev"
Gilletarom is offline   Reply With Quote
Old 03-02-2018, 10:11   #13
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

This is my output of apt-cache policy
Code:
pi@DanRPi:~/vfkaps_pi/build $ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://archive.raspberrypi.org/debian stretch/ui armhf Packages
     release o=Raspberry Pi Foundation,a=stable,n=stretch,l=Raspberry Pi Foundation,c=ui,b=armhf
     origin archive.raspberrypi.org
 500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
     release o=Raspberry Pi Foundation,a=stable,n=stretch,l=Raspberry Pi Foundation,c=main,b=armhf
     origin archive.raspberrypi.org
 500 http://mirrordirector.raspbian.org/raspbian stretch/rpi armhf Packages
     release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=rpi,b=armhf
     origin mirrordirector.raspbian.org
 500 http://mirrordirector.raspbian.org/raspbian stretch/non-free armhf Packages
     release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=non-free,b=armhf
     origin mirrordirector.raspbian.org
 500 http://mirrordirector.raspbian.org/raspbian stretch/contrib armhf Packages
     release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=contrib,b=armhf
     origin mirrordirector.raspbian.org
 500 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages
     release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=main,b=armhf
     origin mirrordirector.raspbian.org
Pinned packages:
pi@DanRPi:~/vfkaps_pi/build $
and for libwxgtk3.0-dev

Code:
pi@DanRPi:~/OpenCPN/build $ apt-cache policy libwxgtk3.0-dev
libwxgtk3.0-dev:
  Installed: 3.0.2+dfsg-4
  Candidate: 3.0.2+dfsg-4
  Version table:
 *** 3.0.2+dfsg-4 500
        500 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages
        100 /var/lib/dpkg/status
transmitterdan is offline   Reply With Quote
Old 03-02-2018, 10:29   #14
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

Gilletarom...

One more:

$sudo apt-cache policy

Dave
bdbcat is offline   Reply With Quote
Old 03-02-2018, 12:36   #15
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,988
Re: Raspberry pi : Debian paquet as cmake, gettex, etc ...

Quote:
Originally Posted by bdbcat View Post
Gilletarom...
One more:
$sudo apt-cache policy
Dave
French and English version texts, here below, are similar :

Fichiers du paquets :
100 /var/dpkg/status
500 http://archive.raspberry.org/debian stretch/ui armhf Packages
release o=Raspberry Pi Foundation, a=stable, n=stretch, l=raspberry Pi Foundation, c=ui, b=armhf
origin archive.raspberrypi.org.debian stretch armhf Packages
500 http://archive.raspberry.org/debian stretch/ui armhf Packages
release o=Raspberry Pi Foundation, a=stable, n=stretch, l=raspberry Pi Foundation, c=ui, b=armhf
origin archive.raspberrypi.org.debian stretch armhf Packages
500 Index of /bdbcat/opencpn/ubuntu xenial/main armhf Packages
release v=16.04, o=LP-PPA-bdbcat-opencpn, a=xenial, n=xenial, l=OpenCPN, c=main, b=armhf
origin ppa.launchpad.net
500 Index of /opencpn/opencpn/ubuntu xenial/main armhf Packages
release v=16.04, o=LP-PPA-opencpn-opencpn, a=xenial, n=xenial, l=OpenCPN, c=main, b=armhf
origin ppa.launchpad.net
Paquets épinglés :

---

Package files:
100 / var / dpkg / status
500 http://archive.raspberry.org/debian stretch / ui armhf Packages
release o = Raspberry Pi Foundation, a = stable, n = stretch, l = raspberry Pi Foundation, c = ui, b = armhf
origin archive.raspberrypi.org.debian stretch armhf Packages
500 http://archive.raspberry.org/debian stretch / ui armhf Packages
release o = Raspberry Pi Foundation, a = stable, n = stretch, l = raspberry Pi Foundation, c = ui, b = armhf
origin archive.raspberrypi.org.debian stretch armhf Packages
500 Index of /bdbcat/opencpn/ubuntu xenial / main armhf Packages
release v = 16.04, where o = LP-PPA-bdbcat-opencpn, a = xenial, n = xenial, l = OpenCPN, c = main, b = armhf
origin ppa.launchpad.net
500 Index of /opencpn/opencpn/ubuntu xenial / main armhf Packages
release v = 16.04, where o = LP-PPA-opencpn-opencpn, a = xenial, n = xenial, l = OpenCPN, c = main, b = armhf
origin ppa.launchpad.net
Packages pinned:
Gilletarom 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
opencpn windows cmake error ailton OpenCPN 1 09-08-2012 11:08
cmake -DCFLAGS="-O2 -march=native" ../ : WORKING ?? manuprenlair OpenCPN 2 11-06-2012 08:54
2.5.0: cmake error with language file: need help please manuprenlair OpenCPN 2 04-06-2012 08:41
CMake and Other Cross-Platform Issues bdbcat OpenCPN 22 10-06-2010 22:24
ownership, registrations, tax etc etc etc, (future boat owner) liquido Dollars & Cents 1 20-07-2008 05:00

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 - 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.