Skip to content

Instantly share code, notes, and snippets.

@steelywing
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steelywing/251ceb67c1c7f72160a0 to your computer and use it in GitHub Desktop.
Save steelywing/251ceb67c1c7f72160a0 to your computer and use it in GitHub Desktop.
gpsd build build from source (CentOS 6.5)

Install

  • Download and extract
  • Refer INSTALL and build.txt in gpsd source
  • yum install gcc
  • yum install ncurses ncurses-devel
  • yum install python-devel
  • Install scons
  • Run scons in gpsd source folder
  • Run scons check
  • Run scons install
  • Run scons udev-install if need USB hotplug support

Install as service

cd <gpsd source folder>
cp packaging/rpm/gpsd.init /etc/init.d/gpsd
chmod 755 /etc/init.d/gpsd
cp packaging/rpm/gpsd.sysconfig /etc/sysconfig/gpsd
chmod 644 /etc/sysconfig/gpsd
chkconfig gpsd on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment