Building and Installing in a UNIX-like Environment using Jam
This page describes build and installation under the following environments.
| Linux, AIX and Windows/Cygwin using gcc versions 3.3, 3.4, 4.0, 4.1 |
| Solaris using Sun Workshop 6 or Sun ONE Studio 8 |
For using in the
Gumstix embedded Linux device, see
http://docwiki.gumstix.org/GPSTk.
The following procedure will build and install the GPSTk.
- Ensure that prerequisites such as jam have been installed.
- Download the GPSTk source distribution.
- Extract the GPSTk tarball. For example, using GNU tar
tar xvzf gpstk.tar.gz
- Change into the gpstk/dev directory (if using Subversion) or the gpstk/ directory (if using the tarball)and type
jam
- To build the source documentation using doxygen:
doxygen
- To install GPSTk as a system library in /usr/local, assume root privileges then execute
jam install
To install to a different directory, define the environment variable PREFIX to point to the root of the installation.
Building and Installing in a UNIX-like Environment using GNU make
The following procedure will build and install the GPSTk using recent, standard GNU build tools. The build has been successfully tested using the following tools and
versions:
| autoconf (GNU Autoconf) 2.59 |
| GNU m4 1.4.2 |
| automake (GNU automake) 1.8.5 |
| autoconf (GNU Autoconf) 2.60 |
| openbsd 4.0 m4 |
| automake (GNU automake) 1.9.6 |
To check the version of the tool you are using, use the GNU standard version option. For example
autoconf --version
If you successfully build the GPSTk using other versions of the tools, or if you successfully build in a new environment, please let us know.
The following procedure will build and install the GPSTK.
- Ensure that prerequisites, except jam, have been installed.
- Download the GPSTk distribution.
- Extract the GPSTk tarball. For example, using GNU tar
tar xvzf gpstk.tar.gz
- Change into the gpstk/dev directory (if using Subversion) or the gpstk/ directory (if using the tarball) and execute these commands:
./autogen.sh
./configure
make
- To build the library documentation using doxygen:
doxygen
- To install GPSTk as a system library in /usr/local, assume root privileges then execute
make install