AutotoolsBuild

From reSIProcate
Revision as of 17:09, 2 December 2004 by Alan (talk | contribs) (Building with the autotools)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To build reSIProcate using the 'autotools' build system, build Resiprocate as follows:


[Go into the 'sip' directory]

$ sh ./use-autotools.sh
$ sh ./autogen.sh
$ mkdir compile
$ cd compile
$ ../configure {config options}

# OR (for example)

$ ../configure -C --enable-shared --enable-ipv6 --enable-data-local-size=16 --disable-elog
$ make

Note: there are usually errors in the test subdirectories when compiling. These do not affect the building of the library, but they have not been fixed just yet. Note: there may be problems building DUM since DUM development has been outpacing autotools maintenance of the DUM subdir.

This method builds the libraries in sip/compile/resiprocate/.libs

This autotools installation is *not* yet suited for doing a *make install* target.


If the machine your're building on has several versions of autotools, set the following environment variables first:

export WANT_AUTOCONF=2.5
export WANT_AUTOMAKE=1.8