Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-06-2010, 08:06   #76
Registered User

Join Date: Jun 2010
Posts: 4
i understand, thank you anyway
the problem is that the 32 bite package don't run on amd64, so I'll wait for your packages, no hurry...
thanks again.
__________________

__________________
asdont is offline   Reply With Quote
Old 05-07-2010, 03:48   #77
Registered User
 
HamishB's Avatar

Join Date: Jan 2010
Location: New Zealand
Posts: 286
Quote:
Originally Posted by antonm View Post
New Debian package is available against the latest released version of OpenCPN 2.1.624.
...
Will recheck what is left for official inclusion.
let me know if I can be of any help, hamish_b yahoo com.


regards,
Hamish
__________________

__________________
HamishB is offline   Reply With Quote
Old 05-07-2010, 06:37   #78
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,249
Quote:
Originally Posted by asdont View Post
i understand, thank you anyway
the problem is that the 32 bite package don't run on amd64, so I'll wait for your packages, no hurry...
thanks again.
Try this corrected version of the opencpn.org package
Unzip it first!
Thomas
__________________
cagney is offline   Reply With Quote
Old 05-07-2010, 15:14   #79
Registered User

Join Date: Jun 2010
Posts: 4
ok,
the new package works fine.
thanks everybody
as
__________________
asdont is offline   Reply With Quote
Old 13-07-2010, 03:00   #80
Registered User
 
HamishB's Avatar

Join Date: Jan 2010
Location: New Zealand
Posts: 286
Hi, fyi the "Installed-Size" is coming out wrong. It's being reported in bytes instead of kilobytes.

opencpn_2.1.624a-1_i386.deb downloaded from SouceForge


thanks,
Hamish
__________________
HamishB is offline   Reply With Quote
Old 26-07-2010, 22:33   #81
Registered User

Join Date: Dec 2009
Location: Ocean Grove Aus
Boat: adams 40
Posts: 70
What gps src file am I missing?

Attempting to compile build 726 on ubuntu 9.04
Seems I am missing a gps header somewhere as I cannot find any ref to 'satellites_visible' per quotebox
Not in :- ocpn src tree, gpsd.h, gps.h etc

I'm using the Geany editor which is good to search objects (as strings) in a particular directory. However is there any better open source IDE in which you can track down object definitions from the editor, particulary when they are external to source tree.

[QUOTE
e@e-laptop:~/opencpn/build$ cmake ../
...
-- GPSD Library support: enabled
-- Found gps: /usr/lib/libgps.so
-- Building with libgps includes
...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/e/opencpn/build

e@e-laptop:~/opencpn/build$ make
Scanning dependencies of target NMEA0183
[ 0%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea.cpp.o
/home/e/opencpn/src/nmea.cpp: In constructor ‘NMEAWindow::NMEAWindow(int, wxFrame*, const wxString&, const wxString&, wxMutex*)’:
/home/e/opencpn/src/nmea.cpp:305: error: aggregate ‘version_t check_version’ has incomplete type and cannot be defined
...
/home/e/opencpn/src/nmea.cpp:535: error: ‘struct gps_data_t’ has no member named ‘satellites_visible’
make[2]: *** [CMakeFiles/NMEA0183.dir/src/nmea.cpp.o] Error 1

......
e@e-laptop:~/opencpn$ grep -inr 'satellites_visible' /home/e/opencpn/
/home/e/opencpn/src/nmea.cpp:535: ThreadPositionData.nSats = data->satellites_visible;
......
e@e-laptop:/usr/include$ grep -in 'satellites_visible' gps.h
e@e-laptop:/usr/include$ grep -in 'satellites_visible' gpsd.h

Installed are:- gpsd libgps19 libgps-dev

Note my version of ubuntu only has libgps18 installed so I installed deb file v19 and seems ok by following:
...
e@e-laptop:~/opencpn/build$ apt-cache dump | grep 'libgps19'
Package: libgps19

[/QUOTE]

Thanks

Phil
__________________
otya is offline   Reply With Quote
Old 26-07-2010, 23:15   #82
Registered User
 
HamishB's Avatar

Join Date: Jan 2010
Location: New Zealand
Posts: 286
due to a gpsd API version mismatch, see Moving to GPSD-NG: a Guide for Client Developers

Ubuntu 9.04 shipped a version of gpsd with the old protocol, the new Ubuntu 10.04 ships a version of gpsd with the new one.
__________________
HamishB is offline   Reply With Quote
Old 01-08-2010, 17:41   #83
Registered User

Join Date: Dec 2009
Location: Ocean Grove Aus
Boat: adams 40
Posts: 70
Quote:
Originally Posted by HamishB View Post
....the new Ubuntu 10.04 ships a version of gpsd with the new one.
I tried recompiling gpsd for my 9.04 system but another dependency arose. It need an updated lib6. Seeing this I knew the game was up so I have now reluctantly download 10.4 and in process of reinstalling. That part is easy but it means all the apps will also need updating too which means further dnloads.

Thanks again Hamish (I sent a 'thanks' via the forum button -seems it goes only by PM)
__________________
otya is offline   Reply With Quote
Old 01-08-2010, 18:02   #84
Registered User
 
HamishB's Avatar

Join Date: Jan 2010
Location: New Zealand
Posts: 286
Quote:
Originally Posted by otya View Post
I tried recompiling gpsd for my 9.04 system but another dependency arose. It need an updated lib6. Seeing this I knew the game was up so I have now reluctantly download 10.4 and in process of reinstalling. That part is easy but it means all the apps will also need updating too which means further dnloads.
for the record, it should build from source with older versions of libc6 just fine.
(the GNU standard C library)

if you try and install binary packages they will require the versions of the library that they were built with.

Don't feel too bad about the updating to 10.04, it's a long-term-service release so you will have some years worth of support updates for it, you get a faster firefox, etc. so in the long run not wasted effort at all.

Quote:
Thanks again Hamish (I sent a 'thanks' via the forum button -seems it goes only by PM)
no worries, thanks for the thanks,


Hamish
__________________
HamishB is offline   Reply With Quote
Old 07-08-2010, 02:53   #85
Registered User

Join Date: Aug 2010
Location: Phuket, Thailand
Boat: S/Y Philkade, 122ft dubois cutter
Posts: 5
connecting a USB GPS on Open CPN for Mac

Hi everyone,

I am new to this forum as well as newly converted to Mac (after so many years of windows...)
I have just installed the MAC version of Open CPN (downloaded from Open CPN website), works find to me since I intend to use it only as a backup. I have already a Nobeltec system as well as a Garmin on board my sail boat.
My question is what do I need to do to connect a USB GPS to Open CPN on my MacBook Pro.
I apologize in advance if this subject has already been discussed in this forum but I could not find it.
Thanks to any one who could help me on that.
__________________
aquamarine is offline   Reply With Quote
Old 31-08-2010, 23:54   #86
Registered User
 
HamishB's Avatar

Join Date: Jan 2010
Location: New Zealand
Posts: 286
building .deb on ubuntu lucid

Hi,

I am trying to build OpenCPN-2.1.624a-Source on Ubuntu 10.04 (Lucid) using the debian/ dir from DebianGIS svn trunk.

I'm getting this error when I run "debuild binard" to make the .deb:

Code:
~/dev/opencpn/OpenCPN-2.1.624a-Source$ debuild binary
[...]
dh  binary
   dh_shlibdeps
dpkg-shlibdeps: error: no dependency information found for /usr/lib/libGL.so.1 (used by debian/opencpn/usr/bin/opencpn).
dh_shlibdeps: dpkg-shlibdeps -Tdebian/opencpn.substvars debian/opencpn/usr/bin/opencpn returned exit code 2
make: *** [binary] Error 9
debuild: fatal error at line 1322:
couldn't exec fakeroot debian/rules:
but,
Code:
$ ls -l /usr/lib/libGL.so.1
lrwxrwxrwx 1 root root 15 2010-07-30 22:09 /usr/lib/libGL.so.1 -> libGL.so.256.35

any ideas?

thanks,
Hamish
__________________
HamishB is offline   Reply With Quote
Old 01-09-2010, 03:11   #87
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 335
cmake

Hi,

Why not using CMake with current git code ? It should work (at least it works for me)
Code:
$ mkdir build
$ cd build
$ cmake -DPREFIX=/usr ../
$ make package
will create both .deb & .rpm for i386 arch

PS : You may need to use cmake > 2.8.1 due to bugs in previous version regarding package build
__________________
SethDart is offline   Reply With Quote
Old 01-09-2010, 09:40   #88
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,249
The Gnu tool-chain, is no longer maintained in the Git repository. The CVS repository is no longer updated. The "official" way, after the 2.1.0 release, is to use Git & cmake.
I guess that these changes are behind your problems.
Thomas
__________________
cagney is offline   Reply With Quote
Old 04-09-2010, 22:12   #89
Registered User
 
HamishB's Avatar

Join Date: Jan 2010
Location: New Zealand
Posts: 286
Quote:
Originally Posted by SethDart View Post
Why not using CMake with current git code ?
sure I could custom build it locally, but part of the purpose of the exercise is to test/prep/improve the "official" debian packaging infrastructure + scripts so that opencpn can get into debian+ubuntu as an official package, so others can benefit from it too.

the next deadline is the ubuntu 10.10 freeze, once we have something working we can push it to UbuntuGIS's repo for wider testing.


anyway the libGL problem is apparently all due to ubuntu's non-free nvidia and ati video driver packages which, if installed, set up their own /etc/ld.so.conf.d/gl_conf symlink alternative to elbow their way in front of the Free mesa versions in the ld lib path, but that kinda breaks the packaging system's(?) shared lib web of deps and so the package building fails. the 'solution' is to build the .deb on a clean install, or live-helper/fakeroot/livedvd. As a path of least damage I'll do it by installing the main livedvd onto a kvm virtual machine and building my local package in there.


thanks,
Hamish
__________________
HamishB is offline   Reply With Quote
Old 05-09-2010, 15:44   #90
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Hamish....

What is the code freeze date on Ubuntu 10.10? Maybe we can push ocpn V2.2 into that distribution? There are some meaningful changes and bug fixes to ocpn coming soon.

Thanks
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Build on Win32 Thorac OpenCPN 108 13-06-2011 06:56
OpenCPN bdbcat OpenCPN 1343 19-09-2009 16:59
OpenCPN with BSB v4 selkie Navigation 4 03-08-2009 12:32



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 02:55.


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.