diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-02-25 16:43:57 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-02-26 09:13:32 -0500 |
commit | 77454c07ba109a3ea6af0da86ba954b28b1fd02f (patch) | |
tree | 5e5be00f9b77c42e697617acb9fd695f7c6a0e58 /BUILD.txt | |
parent | c9f6d2795fde2f9bf80277d425df2b44bc860226 (diff) | |
download | sssd-77454c07ba109a3ea6af0da86ba954b28b1fd02f.tar.gz sssd-77454c07ba109a3ea6af0da86ba954b28b1fd02f.tar.xz sssd-77454c07ba109a3ea6af0da86ba954b28b1fd02f.zip |
Remove our copies of the samba libraries.
Packages are already available in debian unstable and will soon land in Fedora.
See BUILD.TXT for details.
We still keep libreplace as we still use its configure macros, until we find
time to extract only waht we need and have our own macros.
Diffstat (limited to 'BUILD.txt')
-rw-r--r-- | BUILD.txt | 30 |
1 files changed, 26 insertions, 4 deletions
@@ -2,6 +2,20 @@ Very Quick Guide to build sssd components ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Use the following instructions to build the libraries and the binaries. + +sssd depends on 4 libraries originated in the samba project: +talloc, tdb, tevent, ldb + +They are now available in major distribution development branches. + +If you have these libraries installed skip to <<Compiling sssd with system +installed libraries>> + +If you want to build them from source download the latest samba master branch +and use the following instructions + +Compiling libraries yourself +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTE: these instructions are temporary and will most likely change agt some point but so far the process I describe here is the best one to get something up and working while developing this project. @@ -17,10 +31,13 @@ its finally system library directory (ie build as user). I use the following steps to build all pieces. export LD_LIBRARY_PATH=/tmp/foo/lib -pushd talloc; ./autogen.sh && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd -pushd tdb; ./autogen.sh && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd -pushd tevent; ./autogen.sh && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd -pushd ldb; ./autogen.sh && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd +pushd lib/talloc; ./autogen.sh && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd +pushd lib/tdb; ./autogen.sh && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd +pushd lib/tevent; ./autogen.sh && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd +pushd source4/lib/ldb; ./autogen.sh && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd + +Compiling sssd using shared-build +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pushd server; ./autogen.sh && ./configure --with-shared-build-dir=/tmp/foo && make; popd At this point you can start testing the sssd daemon this way: @@ -31,7 +48,12 @@ export LD_LIBRARY_PATH=/tmp/foo/lib This will start the sssd daemon in interactive mode. +Compiling sssd with system installed libraries +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pushd server; ./autogen.sh && ./configure && make; popd +Compiling client libraries +~~~~~~~~~~~~~~~~~~~~~~~~~~ The nss and pam client doesn't need any dependency nor supports the shared-build option. |