Just the daemon (advanced)¶
1. Compile the dependencies¶
cd contrib mkdir native cd native ../bootstrap make
2. Compiling dring¶
cd ../../ ./autogen.sh ./configure make
3. Installing dring¶
1. Installing dependencies¶
Without a package manager
cd extras/tools ./bootstrap make export PATH=$PATH:/location/of/ring/daemon/extras/tools/build/bin
With a package manager (macports or brew)
- Install the following:
2. Compiling dependencies¶
cd contrib mkdir native cd native ../bootstrap make -j
3. Compiling the daemon¶
cd ../../ ./autogen.sh ./configure --without-dbus --prefix=<install_path> make
If you want to link against libringclient and native client easiest way is to
add to ./configure:
autopoint not found: When using Homebrew, autopoint is not found even when
gettext is installed, because symlinks are not created.
brew link --force gettext to fix it.
Clang compatibility (developers only)¶
It is possible to compile dring with Clang by setting CC and CXX variables to ‘clang’ and ‘clang++’ respectively when calling ./configure.
Currently it is not possible to use the DBus interface mechanism, and the interaction between daemon and client will not work; for each platform where dbus is not available the client should implement all the methods in the *_stub.cpp files.