4 OS/X 10.6, compile with gcc-4.0 rather than the default gcc that
7 CC=gcc-4.0 CXX=g++-4.0 ./configure
18 The default install location for GEOS is /usr/local.
20 Linux: Make sure that /usr/local/lib is added to /etc/ld.so.conf
21 Make sure that you run /sbin/ldconfig afterwards
23 Solaris: Make sure that /usr/local/lib is added to LD_LIBRARY_PATH
29 The simplest way to compile this package is:
32 1. `cd' to the directory containing the package's source code and type
33 `./configure' to configure the package for your system. If you're
34 using `csh' on an old version of System V, you might need to type
35 `sh ./configure' instead to prevent `csh' from trying to execute
38 Running `configure' takes awhile. While running, it prints some
39 messages telling which features it is checking for.
41 2. Type `make' to compile the package.
43 3. Optionally, type `make check' to run any self-tests that come with
46 4. Type `make install' to install the programs and any data files and
49 5. You can remove the program binaries and object files from the
50 source code directory by typing `make clean'. To also remove the
51 files that `configure' created (so you can compile the package for
52 a different kind of computer), type `make distclean'. There is
53 also a `make maintainer-clean' target, but that is intended mainly
54 for the package's developers. If you use it, you may have to get
55 all sorts of other programs in order to regenerate files that came
56 with the distribution.
62 Some systems require unusual options for compilation or linking that
63 the `configure' script does not know about. You can give `configure'
64 initial values for variables by setting them in the environment. Using
65 a Bourne-compatible shell, you can do that on the command line like
67 CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
69 Or on systems that have the `env' program, you can do it like this:
70 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
76 By default, `make install' will install the package's files in
77 `/usr/local/bin', `/usr/local/man', etc. You can specify an
78 installation prefix other than `/usr/local' by giving `configure' the
79 option `--prefix=PATH'.
85 `configure' recognizes the following options to control how it
89 Use and save the results of the tests in FILE instead of
90 `./config.cache'. Set FILE to `/dev/null' to disable caching, for
91 debugging `configure'.
94 Print a summary of the options to `configure', and exit.
99 Do not print messages saying which checks are being made. To
100 suppress all normal output, redirect it to `/dev/null' (any error
101 messages will still be shown).
104 Look for the package's source code in directory DIR. Usually
105 `configure' can determine that directory automatically.
108 Print the version of Autoconf used to generate the `configure'
112 Change the default installation location
114 `configure' also accepts some other, not widely useful, options.