path: root/BUILD.txt
diff options
authorSimo Sorce <>2009-02-25 16:43:57 -0500
committerSimo Sorce <>2009-02-26 09:13:32 -0500
commit77454c07ba109a3ea6af0da86ba954b28b1fd02f (patch)
tree5e5be00f9b77c42e697617acb9fd695f7c6a0e58 /BUILD.txt
parentc9f6d2795fde2f9bf80277d425df2b44bc860226 (diff)
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')
1 files changed, 26 insertions, 4 deletions
diff --git a/BUILD.txt b/BUILD.txt
index 6034e7b45..f93c64b8a 100644
--- a/BUILD.txt
+++ b/BUILD.txt
@@ -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; ./ && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd
-pushd tdb; ./ && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd
-pushd tevent; ./ && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd
-pushd ldb; ./ && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd
+pushd lib/talloc; ./ && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd
+pushd lib/tdb; ./ && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd
+pushd lib/tevent; ./ && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd
+pushd source4/lib/ldb; ./ && ./configure --with-shared-build-dir=/tmp/foo && make shared-build; popd
+Compiling sssd using shared-build
pushd server; ./ && ./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; ./ && ./configure && make; popd
+Compiling client libraries
The nss and pam client doesn't need any dependency nor supports the
shared-build option.