nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Viking GPS for FreeBSD

This is a discussion on Viking GPS for FreeBSD within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; VIKING 0.1.0 -- Gnome GPS/mapping software! http://viking.sourceforge.net/ Installing on FreeBSD 6.0: Viking is supposed to run on any Unix-style OS ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Linux answers from nixCraft.


All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-29-2006, 05:35 PM
Junior Member
User
 
Join Date: Apr 2006
Location: Canmore, AB CANADA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sawback
Default Viking GPS for FreeBSD

VIKING 0.1.0 -- Gnome GPS/mapping software!
http://viking.sourceforge.net/

Installing on FreeBSD 6.0:

Viking is supposed to run on any Unix-style OS (and even a windows binary is available). I had problems installing Viking 0.1.0 on FreeBSD 6.0, but these problems were easily solved. Here's a how-to.

1. The viking source uses malloc.h instead of stdlib.h. To fix this, cd tothe src directory (viking-0.1.0/src) , and create a small script in that directory containing the following:

for fl in *; do
mv $fl $fl.old
sed 's/stdlib.h/stdlib.h/g' $fl.old > $fl
rm -f $fl.old
done


Save this with a filename such as sr.sh in the src directory, and then type:

sh sr.sh

This script will replace malloc.h with libstd.h in the source. If you don't do this you'll get an error from gmake telling you to make the switch.

2. At this point you can follow the instructions as given (pretty much) in INSTALL, except that you must use 'gmake' instead of 'make':

gmake
cp viking /usr/local/bin # as root)
cp ../viking-remote /usr/local/bin # optional)
rehash


... and presto, now you can run viking!
Reply With Quote
  #2 (permalink)  
Old 04-29-2006, 06:02 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 700
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Cool I will try it sometime later may tomorrow.

Thanks for sharing with us
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #3 (permalink)  
Old 04-29-2006, 07:11 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 5
tom is on a distinguished road
Default

I am not BSD user but VIKING looks good to me. May be I will try it out on Linux
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off



All times are GMT +5.5. The time now is 01:34 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38