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 17-01-2010, 13:12   #16
Registered User
 
sredna's Avatar

Join Date: Dec 2009
Location: Vester Skerninge, Danmark
Boat: Svendborg Senior DEN 38 Kate
Posts: 107
Code:
$ sudo kwrite --line 120 /usr/include/glib-2.0/gio/giotypes.h &
# Check that the line is correct ("typedef struct _GSocket 
 GSocket;")
# press CTRL + D, CTRL + S, ALT + TAB (comment out, save, switch to terminal) 
$ ./configure --prefix=/usr && make && sudo make install
# press ALT + TAB, CTRL + Z, CTRL + S, CTRL + Q (switch to kwrite, undo, save, quit)
You can substitute kate for kwrite, works the same but takes a bit longer to load.

I think the above problem is something else though, the error message from the gsocket problem mentions gsocket.
sredna is offline   Reply With Quote
Old 17-01-2010, 13:29   #17
Registered User
 
robsbots's Avatar

Join Date: Jan 2010
Location: Brightlingsea, Essex, UK
Boat: Unknown wooden sail boat in "restoration". 19ft. As yet to see the water.
Posts: 8
Spotted a problem :(

Hi Thomas.

Thanks for a very fast responce.

I am missing the giotypes.h file and the directory /gio/ as well but I have glib2 installed. Possibly Im missing the dev files ?


I have done a search of the entire system and the file is not present.

'yum info glib2' gives :-
name : glib2
arch : i386
ver : 2.14.6
release : 2.fc8
size : 2.8M
Repro : Installed
etc etc.......

Any ideas greatly appriciated
robsbots is offline   Reply With Quote
Old 17-01-2010, 13:31   #18
Registered User
 
robsbots's Avatar

Join Date: Jan 2010
Location: Brightlingsea, Essex, UK
Boat: Unknown wooden sail boat in "restoration". 19ft. As yet to see the water.
Posts: 8
Im currently using version 2.9.0 stright from wxWidgets
robsbots is offline   Reply With Quote
Old 17-01-2010, 13:40   #19
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
OK! Thats definitely one problem. OpenCPN is not ported to wxWidgets, 2.9.0. Try the "old" 2.8.10, or whatever the version is for the last stable release in the 2.8 series.

Thomas
cagney is offline   Reply With Quote
Old 17-01-2010, 13:42   #20
Registered User
 
robsbots's Avatar

Join Date: Jan 2010
Location: Brightlingsea, Essex, UK
Boat: Unknown wooden sail boat in "restoration". 19ft. As yet to see the water.
Posts: 8
Im on it. I'll report back soon.

Thanks guys.
robsbots is offline   Reply With Quote
Old 17-01-2010, 14:47   #21
Registered User
 
robsbots's Avatar

Join Date: Jan 2010
Location: Brightlingsea, Essex, UK
Boat: Unknown wooden sail boat in "restoration". 19ft. As yet to see the water.
Posts: 8
So close. I recompiled wxWidgets using the wxGTK2.8.10 package as suggested. did a make install then moved on to opencpn.

This time opencpn compiled and installed without errors BUT.......

When run I get the error 'opencpn: error while loading shared libraries: libwx_gtk2_richtext-2.8.so.0: cannot open shared object file: No such file or directory'

I must be so close.

I check again for the /usr/include/glib2/gio/ directory but it's still is not there. Don't know if this is related or even a problem.

Thanks again for your time guys.
robsbots is offline   Reply With Quote
Old 17-01-2010, 15:01   #22
Registered User
 
sredna's Avatar

Join Date: Dec 2009
Location: Vester Skerninge, Danmark
Boat: Svendborg Senior DEN 38 Kate
Posts: 107
Quote:
Originally Posted by robsbots View Post
When run I get the error 'opencpn: error while loading shared libraries: libwx_gtk2_richtext-2.8.so.0: cannot open shared object file: No such file or directory'

I check again for the /usr/include/glib2/gio/ directory but it's still is not there. Don't know if this is related or even a problem.

Thanks again for your time guys.
The giotypes.h file is not used by openCPN, it is just in the way for compiling.

The missing library may be just a missing symlink, try listing /usr/lib/libwx_gtk2_richtext.so* to see if it is there.

I have

Code:
/usr/lib/libwx_gtk2u_richtext-2.8.so -> /usr/lib/libwx_gtk2u_richtext-2.8.so.0.6.0
/usr/lib/libwx_gtk2u_richtext-2.8.so.0  -> /usr/lib/libwx_gtk2u_richtext-2.8.so.0.6.0
/usr/lib/libwx_gtk2u_richtext-2.8.so.0.6.0*
If the symlinks are missing, just add them.

Anders
sredna is offline   Reply With Quote
Old 17-01-2010, 15:52   #23
Registered User
 
robsbots's Avatar

Join Date: Jan 2010
Location: Brightlingsea, Essex, UK
Boat: Unknown wooden sail boat in "restoration". 19ft. As yet to see the water.
Posts: 8
Step by step....

Step by step Im getting there. Had to make a load of simlinks. Now I have a new problem.

Code:
[root@linuxbox ~]# opencpn
opencpn: /usr/lib/libwx_base_xml-2.8.so.0: version `WX_2.8' not found (required by opencpn)
opencpn: /usr/lib/libwx_base_net-2.8.so.0: version `WX_2.8' not found (required by opencpn)
opencpn: /usr/lib/libwx_gtk2_adv-2.8.so.0: version `WX_2.8' not found (required by opencpn)
opencpn: /usr/lib/libwx_gtk2_core-2.8.so.0: version `WX_2.8' not found (required by opencpn)
opencpn: /usr/lib/libwx_base-2.8.so.0: version `WX_2.8' not found (required by opencpn)
The simlinks I generated are similar to the following.

libwx_base_xml-2.8.so.0 linked from file libwx_baseu_xml-2.8.so.0.5.0

I notice that the origional file has a .so.0.5.0 extention where as my link has a .so.0 extention.

Could this be a problem ?
robsbots is offline   Reply With Quote
Old 17-01-2010, 20:29   #24
Registered User
 
sredna's Avatar

Join Date: Dec 2009
Location: Vester Skerninge, Danmark
Boat: Svendborg Senior DEN 38 Kate
Posts: 107
That is beyond me Did you install wxgtk from a fedora package? And if not, is there one you can use?
sredna is offline   Reply With Quote
Old 18-01-2010, 09:19   #25
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Unfortunately, the symlink commands may not have been correct.
There are two different versions with and without unicode
libwx_gtk2_richtext
libwx_gtk2u_richtext

I'm not sure, but I suspect that the problem boils down to how wxGtk is configured before compiling.
Try to configure wxGTK with --enable-unicode.

Thomas
cagney is offline   Reply With Quote
Old 19-01-2010, 09:34   #26
Registered User

Join Date: Jan 2010
Location: Philippines
Boat: Robert 35 Centre Cockpit
Posts: 65
George's whishlist for Linux OpenCPN

Well there has certainly been a big interest in linux and Ubuntu OpenCpn demonstrated by the response to my forum post. I think it is fascinating that Linux is now the second version of OpenCPN and Macintosh is third. I sense a huge rise in the way Open-source is coming of age.

Some one asked what kind of Bluetooth GPS i conected to Ubutu. It was a Qstarz 51 Channel. i have writen a small segment on connecting a bluetooth GPS in the OpenCPN.com help file.

I was thinking the other day what are the things i would like to do with OpenCPN and what would be new features I would like to see in the Linux version.

So here is my wish list .

I would like to see all maps and charts for the world made open source and available for OpenCPN. USA has done this but Australia and others lag far behind.

I would like to configure AIS via a microphone in cable on my laptop. I already have a modified scanner that i used to run Aismon in windows.
Has any one seen a easy "how to" on how to do Ais soundcard for ubuntu Linux with OpenCPN.

it would be just awesome if gnu aismon could be built into Opencpn as a option. So all you had to do was pick the mcrophione in option in AIS choices.

I would love auto downloading of grib files . Ie you just put in web address and Opencpn regularly polls the site for new gribs.

I too find the information at the bottom of OpenCPN to small and would like to have the option of making speed etc font larger.

thanks for the replies .o your ideas.
yachtmanforfun is offline   Reply With Quote
Old 19-01-2010, 09:56   #27
Registered User
 
idpnd's Avatar

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
Quote:
Originally Posted by yachtmanforfun View Post
I would like to configure AIS via a microphone in cable on my laptop. I already have a modified scanner that i used to run Aismon in windows.
Has any one seen a easy "how to" on how to do Ais soundcard for ubuntu Linux with OpenCPN.

it would be just awesome if gnu aismon could be built into Opencpn as a option. So all you had to do was pick the mcrophione in option in AIS choices.
This has been done here; full integration could be discussed?

Quote:
Originally Posted by yachtmanforfun View Post
I would love auto downloading of grib files . Ie you just put in web address and Opencpn regularly polls the site for new gribs.

I too find the information at the bottom of OpenCPN to small and would like to have the option of making speed etc font larger.

thanks for the replies .o your ideas.
You could actually implement this yourself via saildocs by automatically "pinging" them with request emails to have gribs sent to your grib folder.. Otherwise, zygrib-style downloading would be nice but is rather tricky to implement, e.g. zygrib use a dedicated server for this.

Re: the status line, lots of people seem to find it too big for their netbook monitors, perhaps some codesavy person could find the variables within the code and publish those for customisation similar to the chart colour variables..
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 25-01-2010, 03:10   #28
Registered User

Join Date: Dec 2009
Posts: 7
I'm using Ubuntu 9.10 and when downloaded, my packet installer gives me the following error: wrong architecture 'i386'
I believe I'm using something 64 bit [sorry very noob]...
How can I solve this? Thanks.
crienoloog is offline   Reply With Quote
Old 25-01-2010, 03:43   #29
Registered User
 
idpnd's Avatar

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
You will have to compile the programme for your platform, instructions here
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 25-01-2010, 04:07   #30
Registered User

Join Date: Dec 2009
Posts: 7
Instructions don't work
- error: program 'cvs' can be found in 'cvs' and 'cvsnt'
I then downloaded the sourcecode manual on desktop [also in crienoloog folder]
then cd opencpn_$(date +%m-%d-%y_%H.%M%p)_cvs
- error: could not find map...

sorry I know I am not technical but if something doesn't compute, I'm lost here...
crienoloog is offline   Reply With Quote
Reply

Tags
linux, opencpn, ubuntu


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
Improved GNUAIS (AISMON for Linux) hackoon OpenCPN 24 14-07-2013 08:34
Linux Grib Viewer cagney Navigation 13 20-05-2010 17:51
Linux based Navigation Software for the eepc and XO laptop Barco Software Marine Electronics 36 03-09-2008 00:45
Anyone know of any boat Design Software for Linux ? steveh000 Construction, Maintenance & Refit 1 27-11-2007 06:56
linux or xp uncle_fred Navigation 7 21-08-2006 17:03

Advertise Here


All times are GMT -7. The time now is 16:00.


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.