BUILD.txt revision 82cbd7901b0bc12ecfc1d247e7e1ecaa3bda2368
432ee743a5f1c5688c73446b5977b06ed97fb67cJulian KornbergerVery Quick Guide to build sssd components
ee5342a8882c2fc7631fcffb5497e6597747887cTim Reddehase~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cbb18f95cb8354f0c3fb44ba5134dadc7ad6b2ecJulian Kornberger
cbb18f95cb8354f0c3fb44ba5134dadc7ad6b2ecJulian KornbergerUse the following instructions to build the libraries and the binaries.
cbb18f95cb8354f0c3fb44ba5134dadc7ad6b2ecJulian KornbergerNOTE: these instructions are temporary and will most likely change agt some
ee5342a8882c2fc7631fcffb5497e6597747887cTim Reddehasepoint but so far the process I describe here is the best one to get something up
432ee743a5f1c5688c73446b5977b06ed97fb67cJulian Kornbergerand working while developing this project.
ee5342a8882c2fc7631fcffb5497e6597747887cTim Reddehase
432ee743a5f1c5688c73446b5977b06ed97fb67cJulian KornbergerEach library and the sssd service have a --with-shared-build-dir configure option
ee5342a8882c2fc7631fcffb5497e6597747887cTim Reddehasethat is useful to build the libraries so that you can build all pieces before
432ee743a5f1c5688c73446b5977b06ed97fb67cJulian Kornbergerinstalling each library as a dependency.
ee5342a8882c2fc7631fcffb5497e6597747887cTim ReddehaseIf you just want to make a development build you can provide a temporary
432ee743a5f1c5688c73446b5977b06ed97fb67cJulian Kornbergerdirectory where libraries are installed during the build process in a way that
ee5342a8882c2fc7631fcffb5497e6597747887cTim Reddehaselet each dependent library find them without having to install each binary into
432ee743a5f1c5688c73446b5977b06ed97fb67cJulian Kornbergerits finally system library directory (ie build as user).
I use the following steps to build all pieces.
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 events; ./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 server; ./autogen.sh && ./configure --with-shared-build-dir=/tmp/foo && make; popd
At this point you can start testing the sssd daemon this way:
export LD_LIBRARY_PATH=/tmp/foo/lib
cd server
./sbin/sssd -i
This will start the sssd daemon in interactive mode.
The nss_client doesn't need any dependency nor supports the shared-build option.
pushd nss_client; ./autogen.sh && ./configure && make; popd
Now you have to copy libnss_sss* into /lib (or /lib64) and add the 'sss' traget
to nsswitch.conf passwd database
~~~~~
Simo.