Bugzilla – Bug 818981
Stable samba4-devel missing
Last modified: 2013-10-07 21:22:12 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.32 (KHTML, like Gecko) Chrome/27.0.1425.0 Safari/537.32 SUSE/27.0.1425.0 We're trying to build sssd beta on 12.3 ./configure fails with configure: error: "Please install Samba 4 development libraries" Problem: we do not have Samba 4 development libraries. Please see the thread: http://lists.opensuse.org/opensuse/2013-05/msg00217.html Reproducible: Always Steps to Reproduce: 1.unpack the sssd-1.10.0beta1 tarball 2.build as per the instructions 3. Actual Results: ./configure fails Expected Results: The package is built. Packages installed: libacl-devel python-selinux autoconf make \ python-devel gdb sqlite3-devel libgnutls-devel binutils \ policycoreutils-python setools-libs selinux-policy \ setools-libs popt-devel libpcap-devel keyutils-devel \ libidn-devel libxml2-devel libacl-devel libsepol-devel \ libattr-devel zlib-devel gcc \ krb5-client openldap2-devel libopenssl-devel\ bind-utils bind-lib openldap-devel gettext libtool pcre-devel c-ares-devel \ dbus-devel libxslt docbook-style-xsl krb5-devel nspr-devel \ libxml2 pam-devel nss-devel libtevent python-devel \ libtevent-devel libtdb libtdb-devel libtalloc libtalloc-devel \ libldb libldb-devel popt-devel c-ares-devel check-devel \ doxygen libselinux-devel libsemanage-devel bind-utils libnl3-devel \ gettext-devel glib2-devel libdhash-devel libcollection-devel\ libini_config-devel openldap2-devel cyrus-sasl-devel libopenssl-devel\ libcares-devel krb5-config nss-shared-helper-devel dbus-1-devel\ docbook-xsl-stylesheets gcc make
Created attachment 538432 [details] config.log during the attempted build
If you examine config.log you'll see that configure is asking pkgconfig for ndr_nbt which isn't found. So you need to find out which package (if any) contains the file ndr_nbt.pc. One way to do so would be using zgrep on the file ARCHIVES.gz in the root of the DVD. But AFAICS, we don't have Samba4 packages in openSUSE 12.3. But a search on http://software.opensuse.org/search for samba4-devel (-devel packages usually contain .pc files) finds a package in home:jniltinho (if you click on 'Show unstable packages'). NOTE: For home repositories you should know if you can trust the owner as these packages have passed no official checks (other than those done during build of the package).
(In reply to comment #2) > If you examine config.log you'll see that configure is asking pkgconfig for > ndr_nbt which isn't found. So you need to find out which package (if any) > contains the file ndr_nbt.pc. One way to do so would be using zgrep on the file > ARCHIVES.gz in the root of the DVD. But AFAICS, we don't have Samba4 packages > in openSUSE 12.3. But a search on http://software.opensuse.org/search for > samba4-devel (-devel packages usually contain .pc files) finds a package in > home:jniltinho (if you click on 'Show unstable packages'). > > NOTE: For home repositories you should know if you can trust the owner as these > packages have passed no official checks (other than those done during build of > the package). Thanks Nothing supplies the ndr files. The only way to get them is to build Samba4, when they duly appear under /usr/local/samba/lib and /usr/local/samba/include. As you say, the other alternative is to use the unstable repo which builds sssd but produces a runtime error. But that's not what I'm asking for. I'm asking about the possibility of having a stable samba4-devel to bring us back into line and produce an sssd build which does not produce a runtime error, as e.g. building on Ubuntu. The point is that openSUSE used to be the reference for Samba packaging, always having the latest versions. I can build sssd out of the box using stable packages on the other major distros. We're willing to test anything you like for the samba4-devel.
As described by Philipp, Samba 4 is not officially packaged for openSUSE 12.3.
*** This bug has been marked as a duplicate of bug 794744 ***