Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-03-2013, 09:23   #46
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,319
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

Lars , even a draft summary here, when you find the time between boat prep projects would be very helpful. Then get it into the Compiling documentation after some review/comments. Once again, thanks from all..
__________________

__________________
rgleason is online now   Reply With Quote
Old 03-03-2013, 10:44   #47
Registered User
 
larsed's Avatar

Join Date: Feb 2013
Location: Stockholm, Sweden
Boat: 1911, 6mR, 31 ft
Posts: 76
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

OK, I will, but first let me double-check a dependency-suggestion I've made for "non-full" Slackware-installations. -You see, me and my friend have used full installations since at least v.12 and it's somewhat difficult to predict what a "non-full" will include. We can only make a decent prediction, also having read nohals answer in another thread that at least doesn't contradict my suggestion.
I'll do what I can and will be back tomorrow!
Regards
Lars
__________________

__________________
larsed is offline   Reply With Quote
Old 04-03-2013, 08:15   #48
Registered User
 
larsed's Avatar

Join Date: Feb 2013
Location: Stockholm, Sweden
Boat: 1911, 6mR, 31 ft
Posts: 76
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

Hello again!
Having discussed the dependecies in a non-full Slackware installation with my friend and after that considered the matter thoroughly, i have come to the conclusion not to mention it. -The reason is that it is very uncommon, or unslackish, to make a non-full installation. Besides we recommend building some of the dependencies with Slackbuilds and the scripts from them normaly presumes a full install. -The possible discussion about dependencies in that kind of setup that might turn up as a result of presenting any suggestion is a one I personally have got neither time nor interest enough to participate in, iyswim (if you see what I mean). I will however post a msg to nohal and SethDart about it, if they should be interested.

So, here we go, without parachute or life-jacket:

Building of OpenCPN in Slackware.
Using the build process (cmake/make/#make package) for the other distributions described leads in Slackware up to a *.tar.gz
You can probably install that if you want to, I have not tried.
You can though build a Slackware package using src2pkg, that's what the sketch below is about.
-Please note that Slackware, unlike Debian-apt-get, Fedora-yum and OpenSuSE-zypper, does not solve dependencies.
You have to take care of that yourself and build and install the packages in correct order.
Concerning the Slackbuilds below, we present them in that order.
I use "Code" below, just to get the tabs right.

Code:
First, as for the other distributions, uninstall any previous installation:
bash-4.2# removepkg opencpn

Building opencpn in Slackware with src2pkg:
Dependencies:
Provided a full Slackware installation* (the ordinary "Slackware way" and presumed by the scripts from Slackbuilds.org):
Install src2pkg from start [src2pkg.net] -> Index of /amigolinux/download/src2pkg/
After installation it takes you through a guided setup, default values are usually good enough.

Then build and install:
Either: 	gpsd tinyxml wxPython portaudio		from Slackbuilds.org**
Or better:     	gpsd tinyxml libmspack portaudio wxGTK	from Slackbuilds.org
If you choose wxGTK you must edit the Slackbuildscript for wxGTK and add --enable-graphics_ctx
under .configure according to the following:

./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --enable-shared \
  --enable-graphics_ctx \      # add this.
  --enable-mediactrl \
  --with-opengl \
  --${_do_unicode}able-unicode \
  --build=$ARCH-slackware-linux

Get the current beta sourcecode by
bash-4.2$ git clone git://github.com/OpenCPN/OpenCPN.github
or as the stable is released:
bash-4.2$ git clone -b release32_stable https://github.com/OpenCPN/OpenCPN.git

You'll get the directory OpenCPN. Change the name of the directory to it's version number (you can read it from
OpenCPN/VERSION.cmake) opencpn-3.2.0 (current version-number)
pack it to a .tar.gz
bash-4.2$ tar czf opencpn-3.2.0.tar.gz opencpn-3.2.0/

Go superuser and use src2pkg
bash-4.2$ su
Password:

bash-4.2# src2pkg opencpn-3.2.0.tar.gz
the package goes to /tmp

Install it:
bash-4.2# installpkg /tmp/opencpn-3.2.0-x86_64-1.txz

In XFCE it goes to Applications Menu "Education".
________________________________________________________________
**/wxPython -ca 20MB- is a heavy package and includes among other things python-bindings that are not needed by OpenCPN.
wxGTK -ca 4MB- is -according to Slackbuilds.org a part of wxPython and conflict if both are installed. See wxGTK-README. 
WxGTK + libmspack are enough for OpenCPN provided the Slackbuildscript is edited as suggested above.
Well, that's all.

Regards

Lars

PS. The next two months I'll be pretty busy with my yacht down at the yard, so I can perhaps not participate in any heavier discussion about this description. But I will look in from time to time. DS.
__________________
larsed is offline   Reply With Quote
Old 05-03-2013, 09:41   #49
Registered User
 
larsed's Avatar

Join Date: Feb 2013
Location: Stockholm, Sweden
Boat: 1911, 6mR, 31 ft
Posts: 76
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

PS. After I raised my eyes from the dektop and looked around; About the stable versions: Instead of the renaming and packing things above you might as well get the source from sourceforge. DS.
__________________
larsed is offline   Reply With Quote
Old 19-03-2013, 10:10   #50
Registered User

Join Date: Mar 2013
Location: Le Bono, Brittany, France
Boat: Northshore, Southerly 110, 10.30m
Posts: 49
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74 (solved)

Hello,

I maintain a version of OpenCPN for openSUSE in the official development repos.

I keep there for 12.1 12.2 a,d 12.3 a version of the last stable with all languages and plugins as well as the last beta and the daily build without plugins.

See software.opensuse.org:

The last stable version (current 3.2.0) is at Application:Geo:OpenCPN

It should install with one click with all dependencies solved.
Let me know if there is any issue.

Dominig
__________________
dominig is offline   Reply With Quote
Old 21-03-2013, 03:35   #51
Registered User
 
larsed's Avatar

Join Date: Feb 2013
Location: Stockholm, Sweden
Boat: 1911, 6mR, 31 ft
Posts: 76
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

Thank You very much for letting me know Dominig!

For the moment I'm struggling with the bugs in OpenSuSE12.3, but I will surely look in to it!

The review/comments concerning building OpenCPN in Slackware did, as it seems, not turn up. I guess there were not so many "traditional Linux fans" among the sailors in this forum after all?

Regards

Lars
__________________
larsed is offline   Reply With Quote
Old 21-03-2013, 09:49   #52
Registered User

Join Date: Mar 2013
Location: Le Bono, Brittany, France
Boat: Northshore, Southerly 110, 10.30m
Posts: 49
Re: Installing OpenCPN 3.2.0 in OpenSUSE 12.2_x86 (official repo)

Hi,

I maintain a version of OpenCPN in the openSUSE official repos Application:Geo:OpenCPN. See ...
https://build.opensuse.org/project/s...AGeo%3AOpenCPN

This version can be installed with a simple 1-Ckick install (with Firefox) from openSUSE Web site or the following link.
http://software.opensuse.org/ymp/App...&query=OpenCPN

I in the stable (current is 3.2.0) I have packaged all the languages and plugins. I hope to have fixed all the dependency errors in such a way that it install in one go on a basic xfce openSUSE default install. I also install gpds which is often needed to support low cost USB gps.

If you find bug in the install, please let me know. I will correct it.

Dominig
__________________
dominig is offline   Reply With Quote
Old 08-02-2017, 12:16   #53
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,319
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

@Larsed
Current state of the page:
https://opencpn.org/wiki/dokuwiki/do...g_on_slackware

We can give you editor access to correct it.
__________________
rgleason is online now   Reply With Quote
Old 09-02-2017, 03:52   #54
Registered User
 
larsed's Avatar

Join Date: Feb 2013
Location: Stockholm, Sweden
Boat: 1911, 6mR, 31 ft
Posts: 76
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

@rgleason
That really was a quick reply! Thank You!
..it was quick in more than one way though.

I had already noted the state opencpn.org, checked this forum how frequent questions about Slackware were, and PM:ed Pavel before I yesterday wrote those lines in Slackware 14.2 - plugin compile probs.. As You can see in that post I also noted some flaws concerning SuSE. But in correcting them I would never want to bypass SethDart (who I assume is responsible for the SuSE links?) or give appropriate credit to Dominig!

The problem is not to correct the flaws, but the necessity to do it, and the consequenses: among those the maintenance. My wish is to discuss those questions before I do anything. A discussion that I would prefer keeping outside this forum. -Perhaps You could read in my PS to the post above a question if this not is an Ubuntu and Fedora forum? Beside Windows and OS X.

But again R, thank You for Your fast and encouraging reply! You are exactly as kind as I remembered

Lars
__________________
larsed is offline   Reply With Quote
Old 10-02-2017, 04:27   #55
Registered User
 
larsed's Avatar

Join Date: Feb 2013
Location: Stockholm, Sweden
Boat: 1911, 6mR, 31 ft
Posts: 76
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

@rgleason

Of course You cannot understand my personal reasons for hesitating, since I do not explain them explicitly. On the other hand I've said that I will not discuss them in an open thread concerning SuSE-12.2 (a thread that went wild) or Slackware plugins. It would be inappropriate.

But if I put it like this:
I would never suggest anyone a solution that I haven't tried myself and was sure was working.
As for Slackware I've decided to stick with 14.0 till further (among else because of the stability of the glibc-2.15).
And as for SuSE, if I remember right, three years ago, in discussion with SethDart, we together found a defect in the building instructions that was corrected and I made a suggestion concerning the dependencies. -The flaws I noted the other day was just concerning the installation description and where to find the packages.

I cannot commit myself to intallations of current Slackware's or openSUSE's just to keep the OpenCPN manuals up to date.

So, on the subject of documentation maintenance
Concerning Slackware, why don't You ask paulha57 and/or slackerson? And for openSUSE: dominig?

Best regards
Lars
__________________
larsed is offline   Reply With Quote
Old 10-02-2017, 06:09   #56
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,319
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

A search of the OpenCPN Wiki on Opensus

https://opencpn.org/wiki/dokuwiki/do...ch&id=OpenSUSE

Under Installation:

Mention of Opensuse on the Fedora page.
https://opencpn.org/wiki/dokuwiki/do...ation:fedora&s[]=opensuse

Under Installation - Linux: https://opencpn.org/wiki/dokuwiki/do...lation:linux&s[]=opensuse

Under Developer Guide:
Compling Linux see Fedora, Centos and OpenSUSE
https://opencpn.org/wiki/dokuwiki/do...piling_linux&s[]=opensuse

Under Developer Guide Compile on Slackware
https://opencpn.org/wiki/dokuwiki/do...piling_linux&s[]=opensuse

What is this site? https://en.opensuse.org/OpenCPN

Dominig states

Quote:
I maintain a version of OpenCPN in the openSUSE official repos Application:Geo:OpenCPN. See ...
https://build.opensuse.org/project/s...AGeo%3AOpenCPN

This version can be installed with a simple 1-Ckick install (with Firefox) from openSUSE Web site or the following link.
http://software.opensuse.org/ymp/App...&query=OpenCPN

I in the stable (current is 3.2.0) I have packaged all the languages and plugins. I hope to have fixed all the dependency errors in such a way that it install in one go on a basic xfce openSUSE default install. I also install gpds which is often needed to support low cost USB gps.
I would like some direction with regard to keeping these pages current (or simply deletion). We have been asked to change the links several times. Is this the final one?
Thank you.
__________________
rgleason is online now   Reply With Quote
Old 28-02-2017, 05:17   #57
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,319
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

How is this going? Are any changes needef to the several pages on the wiki?
If the instructions are wrong perhaps they should be deleted?
__________________
rgleason is online now   Reply With Quote
Old 04-03-2017, 06:07   #58
Registered User
 
larsed's Avatar

Join Date: Feb 2013
Location: Stockholm, Sweden
Boat: 1911, 6mR, 31 ft
Posts: 76
Smile Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

Well, I've started prepairing my 106 y.o. yacht for launching, and that is my major concern right now

I PM:ed nohal about these matters a month ago and still haven't got any reply. Do You know if he has retired?
nohal was the one I mainly dicussed with while writing the compiling guide for Slackware. SethDart the one I mainly had contact with discussing the compiling guide for OpenSuSE.

The pages concerned are only
1. the installing stable OpenCPN in OpenSuSE (I guess, but do not know, SethDart has written what it says today, because it refers to a french OpenSuSE site?)
2. the compiling OpenCPN for Slackware.

The instructions, as they read today -or at least in february- are not wrong!
But they could be simplified. -And as I've said before, I hesitate doing that without contact with the developers I discussed with when I initially wrote them, in 2013/14.

Regards
Lars
__________________
larsed is offline   Reply With Quote
Old 04-03-2017, 08:38   #59
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,319
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

Lance Pavel is quite busy these days but does very occasionally add his counsel.
If you feel comfortable I'd go ahead and make the changes.
__________________
rgleason is online now   Reply With Quote
Old 04-03-2017, 08:39   #60
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,319
Re: Installing OpenCPN in OpenSUSE 12.2_x86-74

Lars that is 106 years old? Wow? Can you add a photo to the editors gallery on the wiki? Id love to see it.
__________________

__________________
rgleason is online now   Reply With Quote
Reply

Tags
opencpn

Thread Tools
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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 14:11.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.