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 11-05-2012, 11:04   #16
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: opencpn nothing happens Ubuntu 12.04?

I tested to install the same package as you on my 32 bit. I saw the same error message from Ubuntu Software center as you. The package, did however, install cleanly from the command line!!!

Find a command line and "cd" to the directory where the package is.
Code:
sudo dpkg -i opencpn_2.6 (+ hit TAB)
Thomas
cagney is offline   Reply With Quote
Old 11-05-2012, 14:23   #17
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,514
Re: opencpn nothing happens Ubuntu 12.04?

Thomas...

Any idea what is going on with the 12.04 package installer? Is it a problem with our package, really, or something else?

Dave
bdbcat is offline   Reply With Quote
Old 12-05-2012, 02:34   #18
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: opencpn nothing happens Ubuntu 12.04?

Quote:
Originally Posted by bdbcat View Post
Thomas...

Any idea what is going on with the 12.04 package installer? Is it a problem with our package, really, or something else?

Dave
Dave

For opencpn_2.6.1705-1_i386.deb (your package) the problem is that Ubuntu Software center is a wee bit more picky than dpkg. The reason for refusal to install goes something like this:
Quote:
The package doesn't provide a valid Installed Size control field.See Debian Policy 5.6.20.
For opencpn_2.6.1705-2_i386.deb (my package) both the Software center and dpkg agrees that it'a corrupted package. Why - I don't know, but it fits in with what you found out earlier about my package.
The produced binary works on my system. The problem lies in "make package" on my system. Upgrading and recompiling today, did not help.
The full error message is
Quote:
(Reading database ... 162953 files and directories currently installed.)
Unpacking opencpn (from .../opencpn_2.6.1705-3_i386.deb) ...
dpkg: error processing /home/thomas/opencpn_2.6.1705-3_i386.deb (--install):
corrupted filesystem tarfile - corrupted package archive
dpkg-deb (subprocess): data: internal gzip write error: Broken pipe
dpkg-deb (subprocess): failed in write on buffer copy for failed to write to pipe in copy: Broken pipe
dpkg-deb: error: subprocess <decompress> returned error exit status 2
I'm withdrawing opencpn_2.6.1705-2_i386.deb from the download page.

Thomas
cagney is offline   Reply With Quote
Old 12-05-2012, 04:21   #19
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,235
Re: OpenCPN Nothing Happens Ubuntu 12.04?

Dave, Thomas...
The biggest complaint from Lintian, which is now invoked by Ubuntu Software Center is that we install to /usr/local and not /usr. The rest are file/directory permissions we seem to set too loose and missing paperwork - I have almost killed all the errors locally - patch coming in a few minutes...

Pavel
nohal is online now   Reply With Quote
Old 12-05-2012, 04:27   #20
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 958
Re: opencpn nothing happens Ubuntu 12.04?

Quote:
Originally Posted by cagney View Post
I tested to install the same package as you on my 32 bit. I saw the same error message from Ubuntu Software center as you. The package, did however, install cleanly from the command line!!!

Find a command line and "cd" to the directory where the package is.
Code:
sudo dpkg -i opencpn_2.6 (+ hit TAB)
Thomas
hi thanks gave that a try. It installed but gives a serious error when it runs and aborts.

Code:
scott@scott-P5QC:~$ cd Downloads
scott@scott-P5QC:~/Downloads$ cd openbeta
scott@scott-P5QC:~/Downloads/openbeta$ sudo dpkg -i opencpn_2.6.1705-1_i386.deb [sudo] password for scott: 
(Reading database ... 414881 files and directories currently installed.)
Preparing to replace opencpn 2.6.1705 (using opencpn_2.6.1705-1_i386.deb) ...
Unpacking replacement opencpn ...
Setting up opencpn (2.6.1705) ...
scott@scott-P5QC:~/Downloads/openbeta$ opencpn
*** glibc detected *** opencpn: free(): invalid pointer: 0x08c070a0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x73e42)[0xb63a2e42]
/usr/lib/nvidia-current/tls/libnvidia-tls.so.295.40(+0x1d93)[0xb5e42d93]
opencpn(_ZN7MyFrameC1EP7wxFrameRK8wxStringRK7wxPointRK6wxSizel+0x57f)[0x810ba13]
opencpn(_ZN5MyApp6OnInitEv+0x2a35)[0x81215b3]
opencpn(_ZN12wxAppConsole10CallOnInitEv+0x18)[0x8124232]
/usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPw+0x78)[0xb7628f28]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb63484d3]
======= Memory map: ========
08048000-0840b000 r-xp 00000000 08:06 3015517    /usr/local/bin/opencpn
0840b000-08416000 rw-p 003c3000 08:06 3015517    /usr/local/bin/opencpn
08416000-0843b000 rw-p 00000000 00:00 0 
08b47000-099d5000 rw-p 00000000 00:00 0          [heap]
acd87000-acd9e000 r-xp 00000000 08:06 3017223    /usr/lib/i386-linux-gnu/libgps.so.20.0.0
acd9e000-acd9f000 r--p 00016000 08:06 3017223    /usr/lib/i386-linux-gnu/libgps.so.20.0.0
acd9f000-acda0000 rw-p 00017000 08:06 3017223    /usr/lib/i386-linux-gnu/libgps.so.20.0.0
acda0000-acda2000 rw-p 00000000 00:00 0 
acda2000-acde6000 r-xp 00000000 08:06 3015335    /usr/lib/i386-linux-gnu/libibus-1.0.so.0.401.0
acde6000-acde7000 r--p 00043000 08:06 3015335    /usr/lib/i386-linux-gnu/libibus-1.0.so.0.401.0
acde7000-acde8000 rw-p 00044000 08:06 3015335    /usr/lib/i386-linux-gnu/libibus-1.0.so.0.401.0
ace00000-ace06000 r-xp 00000000 08:06 4589021    /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
ace06000-ace07000 r--p 00005000 08:06 4589021    /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
ace07000-ace08000 rw-p 00006000 08:06 4589021    /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
ace08000-ace68000 rw-s 00000000 00:04 60981287   /SYSV00000000 (deleted)
ace68000-acfaf000 r-xp 00000000 08:06 3016900    /usr/lib/i386-linux-gnu/libxml2.so.2.7.8
acfaf000-acfb3000 r--p 00147000 08:06 3016900    /usr/lib/i386-linux-gnu/libxml2.so.2.7.8
acfb3000-acfb4000 rw-p 0014b000 08:06 3016900    /usr/lib/i386-linux-gnu/libxml2.so.2.7.8
acfb4000-acfb5000 rw-p 00000000 00:00 0 
acfb5000-acfed000 r-xp 00000000 08:06 3023067    /usr/lib/i386-linux-gnu/libcroco-0.6.so.3.0.1
acfed000-acfee000 ---p 00038000 08:06 3023067    /usr/lib/i386-linux-gnu/libcroco-0.6.so.3.0.1
acfee000-acff0000 r--p 00038000 08:06 3023067    /usr/lib/i386-linux-gnu/libcroco-0.6.so.3.0.1
acff0000-acff1000 rw-p 0003a000 08:06 3023067    /usr/lib/i386-linux-gnu/libcroco-0.6.so.3.0.1
acff1000-ad028000 r-xp 00000000 08:06 3016563    /usr/lib/i386-linux-gnu/librsvg-2.so.2.36.1
ad028000-ad029000 r--p 00036000 08:06 3016563    /usr/lib/i386-linux-gnu/librsvg-2.so.2.36.1
ad029000-ad02a000 rw-p 00037000 08:06 3016563    /usr/lib/i386-linux-gnu/librsvg-2.so.2.36.1
ad02a000-ad049000 r--s 00000000 08:06 3409952    /usr/share/mime/mime.cache
ad049000-ad057000 r-xp 00000000 08:06 4195703    /lib/i386-linux-gnu/libudev.so.0.13.0
ad057000-ad058000 r--p 0000e000 08:06 4195703    /lib/i386-linux-gnu/libudev.so.0.13.0
ad058000-ad059000 rw-p 0000f000 08:06 4195703    /lib/i386-linux-gnu/libudev.so.0.13.0
ad059000-ae6b2000 r--p 00000000 08:06 3670076    /usr/share/icons/hicolor/icon-theme.cache
ae6b2000-b2917000 r--p 00000000 08:06 3670073    /usr/share/icons/gnome/icon-theme.cache
b2917000-b2a00000 r--p 00000000 08:06 3673948    /usr/share/icons/Humanity/icon-theme.cache
b2a00000-b2a21000 rw-p 00000000 00:00 0 
b2a21000-b2b00000 ---p 00000000 00:00 0 
b2b07000-b2b4e000 r-xp 00000000 08:06 4195507    /lib/i386-linux-gnu/libdbus-1.so.3.5.8
b2b4e000-b2b4f000 r--p 00046000 08:06 4195507    /lib/i386-linux-gnu/libdbus-1.so.3.5.8
b2b4f000-b2b50000 rw-p 00047000 08:06 4195507    /lib/i386-linux-gnu/libdbus-1.so.3.5.8
b2b56000-b2b68000 rw-p 00000000 00:00 0 
b2b68000-b2b7d000 r-xp 00000000 08:06 3017432    /usr/lib/i386-linux-gnu/gvfs/libgvfscommon.so
b2b7d000-b2b7e000 r--p 00014000 08:06 3017432    /usr/lib/i386-linux-gnu/gvfs/libgvfscommon.so
b2b7e000-b2b7f000 rw-p 00015000 08:06 3017432    /usr/lib/i386-linux-gnu/gvfs/libgvfscommon.so
b2b7f000-b2ba8000 r-xp 00000000 08:06 3018575    /usr/lib/i386-linux-gnu/gio/modules/libgvfsdbus.so
b2ba8000-b2ba9000 r--p 00028000 08:06 3018575    /usr/lib/i386-linux-gnu/gio/modules/libgvfsdbus.so
b2ba9000-b2baa000 rw-p 00029000 08:06 3018575    /usr/lib/i386-linux-gnu/gio/modules/libgvfsdbus.so
b2baa000-b2bb5000 r--p 00000000 08:06 3673949    /usr/share/icons/Humanity-Dark/icon-theme.cache
b2bb5000-b2bb6000 ---p 00000000 00:00 0 
b2bb6000-b33b6000 rw-p 00000000 00:00 0 
b33b7000-b33db000 r--p 00000000 08:06 3670722    /usr/share/icons/ubuntu-mono-dark/icon-theme.cache
b33db000-b3432000 r--p 00000000 08:06 3934276    /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
b3432000-b3434000 r-xp 00000000 08:06 3022433    /usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
b3434000-b3435000 r--p 00001000 08:06 3022433    /usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
b3435000-b3436000 rw-p 00002000 08:06 3022433    /usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
b3436000-b3437000 r--s 00000000 08:06 927578     /var/cache/fontconfig/c05880de57d1f5e948fdfacc138775d9-le32d4.cache-3
b3437000-b343d000 r--s 00000000 08:06 922876     /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le32d4.cache-3
b343d000-b343f000 r--s 00000000 08:06 927549     /var/cache/fontconfig/99e8ed0e538f840c565b6ed5dad60d56-le32d4.cache-3
b343f000-b3445000 r--s 00000000 08:06 927507     /var/cache/fontconfig/a6d8cf8e4ec09cdbc8633c31745a07dd-le32d4.cache-3
b3445000-b3448000 r--s 00000000 08:06 927451     /var/cache/fontconfig/2cd17615ca594fa2959ae173292e504c-le32d4.cache-3
b3448000-b3449000 r--s 00000000 08:06 927407     /var/cache/fontconfig/e7071f4a29fa870f4323321c154eba04-le32d4.cache-3
b3449000-b344a000 r--s 00000000 08:06 927400     /var/cache/fontconfig/0d8c3b2ac0904cb8a57a757ad11a4a08-le32d4.cache-3
b344a000-b344e000 r--s 00000000 08:06 927383     /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-le32d4.cache-3
b344e000-b3455000 r--s 00000000 08:06 927381     /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-le32d4.cache-3
b3455000-b3460000 r--s 00000000 08:06 927374     /var/cache/fontconfig/04aabc0a78ac019cf9454389977116d2-le32d4.cache-3
b3460000-b3463000 r--s 00000000 08:06 927351     /var/cache/fontconfig/385c0604a188198f04d133e54aba7fe7-le32d4.cache-3
b3463000-b3464000 r--s 00000000 08:06 920345     /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-le32d4.cache-3
b3464000-b3467000 r--s 00000000 08:06 927340     /var/cache/fontconfig/8801497958630a81b71ace7c5f9b32a8-le32d4.cache-3
b3467000-b3489000 r--s 00000000 08:06 927320     /var/cache/fontconfig/365b55f210c0a22e9a19e35191240f32-le32d4.cache-3
b3489000-b348d000 r--s 00000000 08:06 927304     /var/cache/fontconfig/3047814df9a2f067bd2d96a2b9c36e5a-le32d4.cache-3
b348d000-b348e000 r--s 00000000 08:06 927299     /var/cache/fontconfig/56cf4f4769d0f4abc89a4895d7bd3ae1-le32d4.cache-3
b348e000-b348f000 r--s 00000000 08:06 927291     /var/cache/fontconfig/b9d506c9ac06c20b433354fa67a72993-le32d4.cache-3
b348f000-b3493000 r--s 00000000 08:06 927290     /var/cache/fontconfig/b47c4e1ecd0709278f4910c18777a504-le32d4.cache-3
b3493000-b3499000 r--s 00000000 08:06 927288     /var/cache/fontconfig/52f7bdb7ce746bfd7eaa1985bd9cfa93-le32d4.cache-3
b3499000-b34a6000 r--s 00000000 08:06 927261     /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-le32d4.cache-3
b34a6000-b34aa000 r--s 00000000 08:06 927225     /var/cache/fontconfig/3f7329c5293ffd510edef78f73874cfd-le32d4.cache-3
b34aa000-b3500000 r--s 00000000 08:06 927217     /var/cache/fontconfig/b80ce64a4bd0ac846cde5fbdd290c01c-le32d4.cache-3
b3500000-b3560000 rw-s 00000000 00:04 60948493   /SYSV00000000 (deleted)
b3560000-b3595000 r-xp 00000000 08:06 4587758    /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
b3595000-b3596000 r--p 00034000 08:06 4587758    /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
b3596000-b3597000 rw-p 00035000 08:06 4587758    /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
b3597000-b359d000 rw-p 00000000 00:00 0 
b359d000-b35c6000 r-xp 00000000 08:06 3016946    /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
b35c6000-b35c7000 r--p 00028000 08:06 3016946    /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
b35c7000-b35c8000 rw-p 00029000 08:06 3016946    /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
b35c8000-b35d0000 r-xp 00000000 08:06 3016936    /usr/lib/i386-linux-gnu/libltdl.so.7.3.0
b35d0000-b35d1000 r--p 00008000 08:06 3016936    /usr/lib/i386-linux-gnu/libltdl.so.7.3.0
b35d1000-b35d2000 rw-p 00009000 08:06 3016936    /usr/lib/i386-linux-gnu/libltdl.so.7.3.0
b35d2000-b35e3000 r-xp 00000000 08:06 3014768    /usr/lib/i386-linux-gnu/libtdb.so.1.2.9
b35e3000-b35e4000 r--p 00010000 08:06 3014768    /usr/lib/i386-linux-gnu/libtdb.so.1.2.9
b35e4000-b35e5000 rw-p 00011000 08:06 3014768    /usr/lib/i386-linux-gnu/libtdb.so.1.2.9
b35e5000-b35ed000 r-xp 00000000 08:06 3016944    /usr/lib/i386-linux-gnu/libvorbisfile.so.3.3.4
b35ed000-b35ee000 r--p 00007000 08:06 3016944    /usr/lib/i386-linux-gnu/libvorbisfile.so.3.3.4
b35ee000-b35ef000 rw-p 00008000 08:06 3016944    /usr/lib/i386-linux-gnu/libvorbisfile.so.3.3.4
b35ef000-b35fe000 r-xp 00000000 08:06 3018170    /usr/lib/i386-linux-gnu/libcanberra.so.0.2.5
b35fe000-b35ff000 r--p 0000e000 08:06 3018170    /usr/lib/i386-linux-gnu/libcanberra.so.0.2.5
b35ff000-b3600000 rw-p 0000f000 08:06 3018170    /usr/lib/i386-linux-gnu/libcanberra.so.0.2.5
b3600000-b3621000 rw-p 00000000 00:00 0 
b3621000-b3700000 ---p 00000000 00:00 0 
b3700000-b3701000 rw-p 00000000 00:00 0 
b3701000-b3707000 r-xp 00000000 08:06 3018346    /usr/lib/i386-linux-gnu/libogg.so.0.7.1
b3707000-b3708000 r--p 00005000 08:06 3018346    /usr/lib/i386-linux-gnu/libogg.so.0.7.1
b3708000-b3709000 rw-p 00006000 08:06 3018346    /usr/lib/i386-linux-gnu/libogg.so.0.7.1
b3709000-b370f000 rw-p 00000000 00:00 0 
b370f000-b3710000 r-xp 00000000 08:06 3016561    /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
b3710000-b3711000 r--p 00000000 08:06 3016561    /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
b3711000-b3712000 rw-p 00001000 08:06 3016561    /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
b3712000-b3714000 r--s 00000000 08:06 920505     /var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-le32d4.cache-3
b3714000-b3717000 r--s 00000000 08:06 920187     /var/cache/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-le32d4.cache-3
b3717000-b3721000 rw-p 00000000 00:00 0 
b3721000-b3726000 r-xp 00000000 08:06 3014959    /usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
b3726000-b3727000 r--p 00004000 08:06 3014959    /usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
b3727000-b3728000 rw-p 00005000 08:06 3014959    /usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
b3728000-b372e000 rw-p 00000000 00:00 0 
b372e000-b372f000 ---p 00000000 00:00 0 
b372f000-b3f2f000 rw-p 00000000 00:00 0 
b3f2f000-b3f37000 r--p 00000000 08:06 4195242    /home/scott/.config/dconf/user
b3f37000-b3f3e000 r-xp 00000000 08:06 3015015    /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
b3f3e000-b3f3f000 r--p 00006000 08:06 3015015    /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
b3f3f000-b3f40000 rw-p 00007000 08:06 3015015    /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
b3f40000-b3f68000 r--p 00000000 08:06 3410167    /usr/share/glib-2.0/schemas/gschemas.compiled
b3f68000-b3f73000 r-xp 00000000 08:06 4198692    /lib/i386-linux-gnu/libnss_files-2.15.so
b3f73000-b3f74000 r--p 0000a000 08:06 4198692    /lib/i386-linux-gnu/libnss_files-2.15.so
b3f74000-b3f75000 rw-p 0000b000 08:06 4198692    /lib/i386-linux-gnu/libnss_files-2.15.so
b3f75000-b3f7f000 r-xp 00000000 08:06 4198697    /lib/i386-linux-gnu/libnss_nis-2.15.so
b3f7f000-b3f80000 r--p 00009000 08:06 4198697    /lib/i386-linux-gnu/libnss_nis-2.15.so
b3f80000-b3f81000 rw-p 0000a000 08:06 4198697    /lib/i386-linux-gnu/libnss_nis-2.15.so
b3f81000-b3f97000 r-xp 00000000 08:06 4198688    /lib/i386-linux-gnu/libnsl-2.15.so
b3f97000-b3f98000 r--p 00015000 08:06 4198688    /lib/i386-linux-gnu/libnsl-2.15.so
b3f98000-b3f99000 rw-p 00016000 08:06 4198688    /lib/i386-linux-gnu/libnsl-2.15.so
b3f99000-b3f9b000 rw-p 00000000 00:00 0 
b3f9b000-b3fa2000 r-xp 00000000 08:06 4198689    /lib/i386-linux-gnu/libnss_compat-2.15.so
b3fa2000-b3fa3000 r--p 00006000 08:06 4198689    /lib/i386-linux-gnu/libnss_compat-2.15.so
b3fa3000-b3fa4000 rw-p 00007000 08:06 4198689    /lib/i386-linux-gnu/libnss_compat-2.15.so
b3fa4000-b3fa8000 r-xp 00000000 08:06 3015129    /usr/lib/i386-linux-gnu/libcanberra-gtk.so.0.1.8
b3fa8000-b3fa9000 r--p 00003000 08:06 3015129    /usr/lib/i386-linux-gnu/libcanberra-gtk.so.0.1.8
b3fa9000-b3faa000 rw-p 00004000 08:06 3015129    /usr/lib/i386-linux-gnu/libcanberra-gtk.so.0.1.8
b3faa000-b3fba000 r-xp 00000000 08:06 3016466    /usr/lib/liboverlay-scrollbar-0.2.so.0.0.16
b3fba000-b3fbb000 r--p 0000f000 08:06 3016466    /usr/lib/liboverlay-scrollbar-0.2.so.0.0.16
b3fbb000-b3fbc000 rw-p 00010000 08:06 3016466    /usr/lib/liboverlay-scrollbar-0.2.so.0.0.16
b3fbc000-b41bc000 r--p 00000000 08:06 3014804    /usr/lib/locale/locale-archive
b41bc000-b41c1000 rw-p 00000000 00:00 0 
b41c1000-b41c6000 r-xp 00000000 08:06 3016889    /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b41c6000-b41c7000 r--p 00004000 08:06 3016889    /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b41c7000-b41c8000 rw-p 00005000 08:06 3016889    /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b41c8000-b41ca000 r-xp 00000000 08:06 3015898    /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b41ca000-b41cb000 r--p 00001000 08:06 3015898    /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b41cb000-b41cc000 rw-p 00002000 08:06 3015898    /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b41cc000-b41cd000 rw-p 00000000 00:00 0 
b41cd000-b41e0000 r-xp 00000000 08:06 4198702    /lib/i386-linux-gnu/libresolv-2.15.so
b41e0000-b41e1000 ---p 00013000 08:06 4198702    /lib/i386-linux-gnu/libresolv-2.15.so
b41e1000-b41e2000 r--p 00013000 08:06 4198702    /lib/i386-linux-gnu/libresolv-2.15.so
b41e2000-b41e3000 rw-p 00014000 08:06 4198702    /lib/i386-linux-gnu/libresolv-2.15.so
b41e3000-b41e5000 rw-p 00000000 00:00 0 
b41e5000-b4202000 r-xp 00000000 08:06 4201384    /lib/i386-linux-gnu/libselinux.so.1
b4202000-b4203000 r--p 0001c000 08:06 4201384    /lib/i386-linux-gnu/libselinux.so.1
b4203000-b4204000 rw-p 0001d000 08:06 4201384    /lib/i386-linux-gnu/libselinux.so.1
b4204000-b4208000 r-xp 00000000 08:06 4199552    /lib/i386-linux-gnu/libuuid.so.1.3.0
b4208000-b4209000 r--p 00003000 08:06 4199552    /lib/i386-linux-gnu/libuuid.so.1.3.0
b4209000-b420a000 rw-p 00004000 08:06 4199552    /lib/i386-linux-gnu/libuuid.so.1.3.0Aborted (core dumped)
scott@scott-P5QC:~/Downloads/openbeta$
sdowney717 is offline   Reply With Quote
Old 12-05-2012, 05:41   #21
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,235
Re: OpenCPN Nothing Happens Ubuntu 12.04?

Patch that should hopefully solve the Ubuntu complaints is at https://github.com/nohal/OpenCPN/com...c1dd582b.patch
To build a package that passes the lintian check:
Code:
cmake -DPREFIX=/usr ..
sudo make package
What's puzzling is that it looks like cmake is not able to produce a functining deb on (my incarnation of) Precise at all - During installation dpkg/USC complain about corrupted tarfile being part of the package - looks like tar version mismatch between system tar and debian tools - lintian also says it does not know "SCHILY.fflags". Will keep looking

Pavel
nohal is online now   Reply With Quote
Old 12-05-2012, 09:23   #22
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,235
Re: OpenCPN Nothing Happens Ubuntu 12.04?

UPDATE: Looks like cmake 2.8.7 distributed in Precise is broken once again and we are not the only affected: https://bugs.launchpad.net/ubuntu/+s...ke/+bug/997994
Tried to create the package with locally built cmake 2.8.8 and it (after solving gtk include problems similar to what was happening last time when Canonical moved the includes around) produced a working DEB.

Pavel
nohal is online now   Reply With Quote
Old 13-05-2012, 04:05   #23
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OpenCPN Nothing Happens Ubuntu 12.04?

Testing further.
I compiled 1705 on a virtual XUbuntu 11.10, available here http://opencpn.org/ocpn/downloads/be...705-3_i386.deb.
This package installed on 12.04 software center without any problems at all.
So, a lot of problems seems to be caused by compiling on 12.04.

It runs fine as well on 12.04 except for gps. There is a conflict between using libgps19 for compiling and libgps20 for running.
If gpsd is backward compatible, then this is an OpenCPN problem.

If you only uses gps for OpenCPN there is no need for gpsd.
Direct connection to /dev/ttyUSB0 was refused. The problem here, was that a normal user did not belong to the "dialout" group in my XUbuntu 12.04 installation. I have never had that problem with (K)Ubuntu, or at least it was a long time ago.

I'm using BU353, and switching to direct connection also means that the mode must be switched from "sirf" to "Nmea" on the gps. This is slightly more complicated now, when gpsd is auto started on USB connection.
Follow the instructions in the wiki.

Thomas
cagney is offline   Reply With Quote
Old 13-05-2012, 04:29   #24
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 958
Re: OpenCPN Nothing Happens Ubuntu 12.04?

Cagney, I installed that latest deb from cmd line but gives an error

Code:
scott@scott-P5QC:~/Downloads/openbeta$ sudo dpkg -i opencpn_2.6.1705-3_i386.deb [sudo] password for scott: 
(Reading database ... 414881 files and directories currently installed.)
Preparing to replace opencpn 2.6.1705 (using opencpn_2.6.1705-3_i386.deb) ...
Unpacking replacement opencpn ...
Setting up opencpn (2.6.1705) ...
scott@scott-P5QC:~/Downloads/openbeta$ opencpn
opencpn: error while loading shared libraries: libtinyxml.so.2.6.2: cannot open shared object file: No such file or directory
scott@scott-P5QC:~/Downloads/openbeta$
I also tried software center and got an error first time. Then installed from cmdline. Then tried software center again and installed with no error but still gives an error when trying to start.

opencpn: error while loading shared libraries: libtinyxml.so.2.6.2: cannot open shared object file: No such file or directory
sdowney717 is offline   Reply With Quote
Old 13-05-2012, 04:38   #25
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 958
Re: OpenCPN Nothing Happens Ubuntu 12.04?

run this "sudo apt-get install libtinyxml2.6.2"

ok I installed the missing package and opencpn runs.
I still dont get any gps data
And I get a libgps mismatch error when starting or selecting libgps in opencpn.
xgps is working

Quote:
[172084.380033] usb 7-1: new full-speed USB device number 3 using uhci_hcd
[172084.568143] cypress 7-1:1.0: DeLorme Earthmate USB converter detected
[172084.569134] usb 7-1: DeLorme Earthmate USB converter now attached to ttyUSB0
scott@scott-P5QC:~/Downloads/openbeta$
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2012-05-13 07:42:52.png
Views:	180
Size:	246.9 KB
ID:	40976  
sdowney717 is offline   Reply With Quote
Old 23-07-2012, 05:22   #26
Registered User

Join Date: Jul 2012
Posts: 3
Re: OpenCPN Nothing Happens Ubuntu 12.04?

I'm out cruising and needed a workaround to get OpenCPN running properly on Ubuntu 12.04. After a couple of hours of messing around I found that uninstalling GPSD and libgps20, grabbing the previous versions from the repositories and using them instead did the job.

The only thing to watch thereafter is that Ubuntu will keep trying to reinstall the latest versions of GPSD and libgps when running the update manager, so one has to prevent it from doing so manually.
Sailfettler is offline   Reply With Quote
Old 24-07-2012, 07:09   #27
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,514
Re: OpenCPN Nothing Happens Ubuntu 12.04?

Sailfettler....

I would like to investigate further.

Do you say that O on Ubuntu 12.04 with standard(12.04) gpsd does not work? If so, more detail please.

What version of OpenCPN? Where downloaded from?
Output from

Code:
$gpsd -V
Logfile?

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 24-07-2012, 09:14   #28
Registered User

Join Date: Jul 2012
Posts: 3
Re: OpenCPN Nothing Happens Ubuntu 12.04?

Hi Dave,

There have been developments since I posted that. The upshot is that I now have the latest OpenCPN update (3.0.2) with the libgps20 and the latest gpsd and everything is working happily together.

I was on OpenCPN 2.5.0-2, which worked with libgps19 and corresponding gpsd. Then OpenCPN 3.0.0, which didn't work with either libgps19 or 20.

A happy ending - hats off to the team.

Jim
Sailfettler is offline   Reply With Quote
Old 24-07-2012, 09:44   #29
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,514
Re: OpenCPN Nothing Happens Ubuntu 12.04?

Jim....

OK, great news. I see no other gpsd problems with O 3.0.2, at least so far,
(except maybe on Macintosh, and we are working that now)...
Thanks
Dave
bdbcat is offline   Reply With Quote
Reply

Tags
opencpn


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


Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 05:10.


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.