view INSTALL @ 423:cd4d91188530

Updated information for FreeBSD
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 24 Jun 2009 14:33:57 +0900
parents 6b69942ecadb
children
line wrap: on
line source

This package now uses CMake (cmake.org) to handle the build burden. You'll need the cmake tool in order 
to generate the Makefiles for your platform. You can also select which extensions must be built.

Building in a separate directory is recommended:
mkdir build
cd build
cmake ../
make

You can enable the unary tests by doing:
cmake -DSkip_Tests:BOOL=OFF ../
make
make tests

Note: instead of passing options on the command line, you can edit the CCmakeCache.txt file
or use a CMake front-end (cmake-gui)

Note that there are dependencies on some external tools that may not be enforced by the configure script.
On Ubuntu Intrepid, the following packages were required:
 gcc make flex bison libsctp1 libsctp-dev cmake

On FreeBSD the following packages were required:
 cmake flex bison
Then the cmake command had to look like:
 cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ...

make install would probably install some files in your system but... at your own risks!
(never tested yet!)


You can also configure which extensions to build with CMake:
NoExtensions:BOOL=OFF    (or the following are ignored)
BUILD_APP_TEST:BOOL=ON
BUILD_RT_ANY:BOOL=ON
BUILD_RT_DEBUG:BOOL=ON
BUILD_RT_DEFAULT:BOOL=ON
BUILD_SAMPLE:BOOL=ON
BUILD_SEC_NOSEC:BOOL=ON
BUILD_SEC_TLS_GNUTLS:BOOL=OFF

You can enable early debug messages in waaad (before command line is parsed) with:
Waaad_Early_Debug:BOOL=ON

You can change the default configuration file name:
DEFAULT_CONF_FILE:STRING=/path/to/some/waaad.conf

"Welcome to our mercurial repository"