View Single Post
  #20   Report Post  
posted to rec.boats.cruising
JohnF JohnF is offline
external usenet poster
 
First recorded activity by BoatBanter: Jul 2010
Posts: 28
Default gps receiver and software for netbook chartplotter

Bruce in Bangkok wrote:
If anyone else is also interested but having trouble with the
linux version, follow up here and then I'll report any progress I
eventually make to get it working.


What Linux do you have? I ask as I installed OpenCPN on at least two
systems - Fedora and Ubuntu with no problems I can remember.


Slackware 12.1 and 12.2 (I tried booting partitions with both).
Current is 13.1, but I haven't needed that (yet).
To begin with, I tried the OpenCPN-2.1.624a-1_i386.deb package,
first using alien http://packages.debian.org/unstable/source/alien
to convert .deb--.tar.gz, and then using tar on the resulting tarball.
That placed an executable image in /usr/local/bin/opencpn and lots
of other stuff in /usr/local/etc. But it wouldn't run without
the wxwidgets library, which I then had to build from sources
available at http://sourceforge.net/projects/wxwindows/ .
But that's version 2.9 and OpenCPN wanted 2.8 or later.
So I made a mess of symlinks as opencpn complained about each
missing lib, but after finishing that it finally started complaining
opencpn: /lib/libwx_baseu_net-2.8.so.0: version `WXU_2.8' not
found (required by opencpn)
for each symlinked lib.
I gave up on the .deb package and tried building from
OpenCPN-2.1.624a-Source.tar.gz sources. First I needed to build
a version of cmake (cmake-2.8.2.tar.gz) it liked, but then
the generated Makefile apparently added some unrecognized compiler
flags which I cavalierly manually edited out (don't recall exactly
what and I subsequently rm'ed the build directory which I'd have
to reconstruct to quote the errors exactly). Then the compiler
reported some source errors, which may or may not be related
to what I'd done. At this point I ran out of time to look into the
..cpp sources (I do know C and C++ pretty well).
So I gave up for the time being, and will probably just install
the windows OpenCPN-210_setup.exe file, which I suppose will work
without a hitch. But thanks for the Fedora and Ubuntu report,
which gives me confidence it's doable once I can figure out how.
--
John Forkosh ( mailto: where j=john and f=forkosh )