Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-10-2010, 16:31   #1
Registered User

Join Date: Oct 2010
Location: Buenos Aires
Boat: Audax (Peterson 34)
Posts: 4
Compiling Under PowerPC - Missed libgps19

Hi,
I am trying to install opencpn under ubuntu 9.10 running on a ibook 900 Mhz G3 powerpc.
I can not find libgps19 for this processor, just for amd and intel.
I think the only way will be compile the library under my system, but I can not find the source for this library.
Does anybody know a link to find it? I know it is part of gpsd but where exactly is the place?
Regards
Adolfo
__________________

__________________
adolfogal is offline   Reply With Quote
Old 12-10-2010, 03:35   #2
Registered User

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

libgps is included in package gpsd:
GPSd — Put your GPS on the net!

Unfortunately Ubuntu does not ship ppc builds for this pachage:
Ubuntu -- Package Search Results -- gpsd
http://packages.ubuntu.com/search?su...words=libgps19

gpsd is optional, OpenCPN can talk directly with your GPS. You may not need gpsd to get it working, depends on your needs.

Regards
__________________

__________________
SethDart is offline   Reply With Quote
Old 12-10-2010, 20:15   #3
Registered User

Join Date: Oct 2010
Location: Buenos Aires
Boat: Audax (Peterson 34)
Posts: 4
Hi
Well, thank you for the answer. Because I found more other problems I decided to compile from source each component like gpsd, cmake and others.
First 2 are already compiled using lasst version. Now I have other error messages. I will try to resolve them.
I do not know how interesting could be powerpc-ubuntu for this project, and the noise I could generate. Just let me know.
Regards,
Adolfo
__________________
adolfogal is offline   Reply With Quote
Old 13-10-2010, 20:17   #4
Registered User

Join Date: Oct 2010
Location: Buenos Aires
Boat: Audax (Peterson 34)
Posts: 4
Well, I reach a street without exit for me.
[ 9%] Building CXX object CMakeFiles/S57ENC.dir/src/s52plib.cpp.o
/home/adolfo/opencpn/src/s52plib.cpp: In member function ‘int s52plib::dda_tri(wxPoint*, S52color*, render_canvas_parms*, render_canvas_parms*)’:
/home/adolfo/opencpn/src/s52plib.cpp:5436: error: impossible constraint in ‘asm’
make[2]: *** [CMakeFiles/S57ENC.dir/src/s52plib.cpp.o] Error 1
make[1]: *** [CMakeFiles/S57ENC.dir/all] Error 2
make: *** [all] Error 2

It means s52plib.cpp has an assembler routine which is for intel, and I am unable to translate this to powerpc assembler.

If anybody in the developer team can help me I could continue, but it needs more work to avoid asm calls and resolve in pure C.

Adolfo
__________________
adolfogal is offline   Reply With Quote
Old 14-10-2010, 05:00   #5
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,020
Adolfo,
this was discovered a couple of days ago in Make - Problems (Compiling)
Dave will probably have a look at it sometimes...

Pavel
__________________
nohal is offline   Reply With Quote
Old 14-10-2010, 13:56   #6
Registered User

Join Date: Oct 2010
Location: Buenos Aires
Boat: Audax (Peterson 34)
Posts: 4
OK and thank you Pavel.
Yes, I did not see that similar post. Dave answered to the other and could be a good improvement to be more portable the full system. I am sorry but I can not help on this.
I will keep waiting if Dave can correct this.
Thank you all.
Adolfo
__________________

__________________
adolfogal 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
Make - Problems (Compiling) schotenandi OpenCPN 2 10-10-2010 18:57
Compiling on Fedora 12 teejayevans OpenCPN 29 01-04-2010 01:34
Compiling OpenCPN on Fedora 12 inSaNo OpenCPN 9 08-12-2009 05:09



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:29.


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.