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
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.
First, as for the other distributions, uninstall any previous installation:
bash-4.2# removepkg opencpn
Building opencpn in Slackware with src2pkg:
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:
--enable-graphics_ctx \ # add this.
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# src2pkg opencpn-3.2.0.tar.gz
the package goes to /tmp
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.
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.