Linux / UNIX Tech Support Forum
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. |
|
|||||||
| 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. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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! |
| Sponsored Links | ||
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|