Hallo,
Dan-Valentin Soare
Danke für die Hilfe und Unterstützung
- aber laut .build.log wird openldap-devel installiert (habe openldap2-devel in spec Datei eingetragen und installiert ist auch):
[...]
warning: /etc/HOSTNAME created as /etc/HOSTNAME.rpmnew installing openldap2-2.2.6-34 warning: group ldap does not exist - using root warning: group ldap does not exist - using root warning: user ldap does not exist - using root warning: group ldap does not exist - using root warning: user ldap does not exist - using root warning: group ldap does not exist - using root Updating etc/sysconfig/openldap... installing openldap2-devel-2.2.6-34
Diese Warnung ist nur für den Betrieb von OpenLDAP wichtig, da im Startscript der Prozess an User ldap Group ldap übergeben wird.
# norootforbuild # neededforbuild db db-devel kerberos-devel-packages openssl openssl-devel opie pam-devel openldap2 openldap2-devel openldap2-client
Das betrifft jetzt zwar nicht dein built Problem, aber openldap-clients werden für cyrus-sasl nicht benötigt, da dieses Paket nur ldapsearch etc. und slapadd etc. enthält. [...]
%build %{suse_update_config -f config} %{suse_update_config -f saslauthd/config} # has old libtool macros (and nothing else) # rm -f acinclude.m4 # libtoolize --force # cyrus-sasl2 does not work, when using newer libtool aclocal -I cmulocal -I config automake autoheader autoconf cd saslauthd autoconf
Es wundert mich, daß SuSE noch autoconf benötigt. Das wird eigentlich nur noch benötigt, wenn CVS Abzüge benutzt werden. Das fertige tar Paket von CMU enthält bereits configure, Makefile und libtools. Wobie ich allerdings gestehen muß, daß die libtools von cmu ziemlich krank sind.
cd - export CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS" export CPPFLAGS="-I/usr/include/heimdal -I/usr/include" ./configure --libdir=%{_libdir} \ --with-plugindir=%{_libdir}/sasl2 \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=%{_mandir} \ --with-saslauthd=/var/run/sasl2/ \ --enable-pam \ --enable-sample \ --enable-login \ --enable-gssapi \ --enable-krb4=no \ --with-ldap make sasldir=%{_libdir}/sasl2
Meine configure Flags sehen etwas anders aus: ,----[ cyrus-sasl configure ] | !/bin/bash | /usr/bin/env CPPFLAGS="-I/usr/include/heimdal" \ | ./configure \ | --disable-checkapop \ | --disable-otp \ | --enable-gssapi \ | --enable-ldapdb \ | --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib \ | --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include \ | --without-saslauthd \ | --with-gss_impl=heimdal \ | --with-ldap=/usr/local `---- Beachte besonders das Flag --with-gss_impl=heimdal und die Pfadangabe für LDAP. Ich benutze kein saslauthd sondern stattdessen ldapdb. [...] An den Ausgaben kann ich nichts erkennen, daß dazu führende könnte, saslauthd nicht mit ldap Unterstützung zu bauen -Dieter -- Dieter Klünter | Systemberatung http://www.dkluenter.de GPG Key ID:01443B53