[OpenSource_GPS] How to compile and run gpsrvr 2.00 ?
Clifford Kelley
cwkelley at earthlink.net
Mon Dec 4 18:46:19 PST 2006
An HTML attachment was scrubbed...
URL: http://lists.psas.pdx.edu/pipermail/opensource_gps/attachments/20061204/27a8623c/attachment.htm
-------------- next part --------------
Assuming you have Linux Kernel 2.6 or higher installed follow these steps.
If you want to be a developer (only administrators are allowed to commit to CVS) complete
steps A, B, and C.
Start with step C if you just want to work with the latest release
A. To set up an account on Sourceforge at www.sourceforge.net
Send an email to the osgps project administrator to be added as a developer
B. To install cvs on your computer
Create a directory to work in called OSGPS:
mkdir OSGPS
Install CVS
cvs -z3 -d:ext:yourname at cvs.sourceforge.net:/cvsroot/osgps co -P osgps
To setup CVS to use ssh type:
export CVS_RSH=ssh
To update your directory from CVS type:
cvs -z9 update -P
C. To set up your computer to run OSGPS
If you do not have access to the CVS archive download the latest release from sourceforge (the .tar file)
compile the program and the driver by typing:
make
and then to install the driver:
make install
If you have made changes to the driver you will need to uninstall the current driver so that the new version can be installed:
rmmod gp2021km ( no need to add the .ko ) and then install the new driver
When you unload and then reload the driver the permissions
on the device files revert back to root only so you have to chmod them everytime
you reload the driver (unless you reboot each time).
chmod gps/*:root:users:0666
chmod gps:root:users:0755
You can confirm the driver is installed by typing:
lsmod | less
To start the userland program type:
./gpsrcvr
More information about the opensource_gps
mailing list