r11 - 02 Feb 2008 - 21:34:59 - RickMachYou are here: TWiki >  Documentation Web  > BuildingGPSTkUnderUnix

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.

  1. Ensure that prerequisites such as jam have been installed.
  2. Download the GPSTk source distribution.
  3. Extract the GPSTk tarball. For example, using GNU tar
    tar xvzf gpstk.tar.gz
  4. Change into the gpstk/dev directory (if using Subversion) or the gpstk/ directory (if using the tarball)and type
    jam
  5. To build the source documentation using doxygen:
    doxygen 
  6. 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.

  1. Ensure that prerequisites, except jam, have been installed.
  2. Download the GPSTk distribution.
  3. Extract the GPSTk tarball. For example, using GNU tar
    tar xvzf gpstk.tar.gz
  4. 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
  5. To build the library documentation using doxygen:
    doxygen 
  6. To install GPSTk as a system library in /usr/local, assume root privileges then execute
    make install
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r11 < r10 < r9 < r8 < r7 | More topic actions
 
WEBLOGOALT
This site is powered by the TWiki collaboration platformCopyright amp;© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback