Configuration and Building a stack

From reSIProcate
Revision as of 11:07, 2 December 2004 by Rjsparks (talk | contribs) (building instructions for the library using autotools)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Typically, we build Resiprocate as follows:

[Go into the 'sip' directory]

$ sh ./
$ 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