Difference between revisions of "Configuration and Building a stack"

From reSIProcate
Jump to: navigation, search
(building instructions for the library using autotools)
 
Line 1: Line 1:
Typically, we build Resiprocate as follows:
+
There are two ways to build the stack:
  
 +
* AutotoolsBuild
 +
* TraditionalBuild
  
[Go into the 'sip' directory]
+
The AutotoolsBuild is where we are headed (eventually) and basically works, but is rough around the edges. The tarballs are build using this technique.
 
+
The TraditionalBuild is the 'default' build that one gets with 'make' from a clean checkout.
<pre>
 
$ 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
 
</pre>
 
 
 
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:
 
<pre>
 
export WANT_AUTOCONF=2.5
 
export WANT_AUTOMAKE=1.8
 
</pre>
 

Revision as of 17:09, 2 December 2004

There are two ways to build the stack:

  • AutotoolsBuild
  • TraditionalBuild

The AutotoolsBuild is where we are headed (eventually) and basically works, but is rough around the edges. The tarballs are build using this technique. The TraditionalBuild is the 'default' build that one gets with 'make' from a clean checkout.