1.準備工作
環境 :CentOS Linux release 7.9.2009 源碼:sssd-1.16.5.tar.gz
2. 預安裝依賴
yum install libtdb-devel libldb-devel c-ares-devel glib2-deve
3.問題處理
1. can't find xml catalog
yum install docbook-style-xsl check-devel
2.
systemd/sd-daemon.h: No such file or directory
yum install systemd-devel
3.You must have the cifsidmap header installed to build the idmap plugin.
yum install cifs-utils-devel
4.
Please install libsmbclient development libraries.
yum install libsmbclient-devel
5.
Cannot determine Samba's idmap interface version, please use --with-smb-idmap-interface-version
yum install samba-winbind
6.You must have the header file http_parser.h installed to build sssd
yum install http-parser-devel
參考:
yumdownloader --sources sssd
rpmbuild -ba rpmbuild/SPECS/sssd.spec