[Momonga-devel.ja:01819] nss_ldapが出来なかった件


ども、SIVAです。

nss_ldapが1台のマシンはできたのですが、もう1台では出来なかったので
ちょっと見比べてみたのですが、cyrus-sasl1-develが入っているかいない
かで症状が変わっていました。
出来なかったマシンでは
cyrus-sasl-2.1.13-1m
cyrus-sasl-devel-2.1.13-1m
cyrus-sasl1-1.5.28-9m
cyrus-sasl1-devel-1.5.28-8m
が、出来るマシンではcyrus-sasl1-devel-1.5.28-8mが無く上の3本だけの
状態でした。

nss_ldaのビルドで nss_ldap/BUILD/nss_ldap-209内のconfigureで
checking for sasl.h... yes になることで
---------------------
gcc -DHAVE_CONFIG_H -I/home/siva/momonga/pkgs/nss_ldap/BUILD/nss_ldap
-209/db-instroot/include -D_REENTRANT -I/home/siva/momonga/pkgs/nss_ld
ap/BUILD/nss_ldap-209/db-instroot/include -O2 -march=i586 -funroll-loops
-fomit-frame-pointer -ffast-math -fstack-protector -fPIC -Wall -fPIC -c
ldap-nss.c
ldap-nss.c: In function `do_bind':
ldap-nss.c:1465: warning: `defaults' might be used uninitialized in this function
ldap-nss.c: In function `do_sasl_interact':
ldap-nss.c:3429: `sasl_interact_t' undeclared (first use in this function)
ldap-nss.c:3429: (Each undeclared identifier is reported only once
ldap-nss.c:3429: for each function it appears in.)
ldap-nss.c:3429: `interact' undeclared (first use in this function)
ldap-nss.c:3429: syntax error before ')' token
ldap-nss.c:3431: `SASL_CB_LIST_END' undeclared (first use in this function)
ldap-nss.c:3433: `SASL_CB_USER' undeclared (first use in this function)
/usr/include/bits/socket.h: At top level:
ldap-nss.c:21: warning: `rcsId' defined but not used
make: *** [ldap-nss.o] Error 1
---------------------
このようにエラーとなってしまうようです。

問題はないと言えば問題ではないのですが、このような症状があると言うこ
とで。

ではでは
-- 
Akira Shibata <cipher@xxxxxxxxxxxxxxxx>