wiki:BuildingOnUnixWithAutotools

Version 4 (modified by mloskot, 14 years ago) ( diff )

Restructured autotools instructions

Building on Unix with Autotools

The following instructions are dedicated to users of Unix-like systems (Linux, Mac OS X, Solaris, *BSD, etc.)

Requirements

  • Decent C++ compiler and C++ Standard Library, GNU GCC 4.x or later recommended
  • Download the latest source code release or checkout from SVN trunk.

Configure

Note, if you are building GEOS downloaded from SVN, you need to have Autotools available in your system, so you can first generate ./configure script using the following command:

$ ./autogen.sh

Now, run configuration script:

$ ./configure

For more details about configuration options run:

./configure --help

Build

$ make

Test

$ make check

Install

$ make install
Note: See TracWiki for help on using the wiki.