[devel] BINH: nss-ldapd 0.5; q: krb5 version

Michael Shigorin =?iso-8859-1?q?mike_=CE=C1_osdn=2Eorg=2Eua?=
Чт Дек 27 22:07:51 MSK 2007


	Здравствуйте.
При попытке сборки свежевышедшего nss-ldapd-0.5 (см. тж. #13656)
наткнулся на некоторые проблемы с высыпанием, содержащим намёки
на gss/krb5; поскольку в спеке было %def_disable krb5, включил.
Опять высыпалось[1] (неудивительно -- включавшиеся ключики в 0.5
как раз были выкинуты за ненадобностью и разницы не делали).

Судя по логу[2], не хватает некоторых заголовков:

Подумалось: а не старый ли у нас керберос?  На сайте проекта:

* Current release: krb5-1.6.3
* Maintenance release: krb5-1.5.4 

В сизифе 1.5.1.

PS: ежели кому не лень -- поможите собрать:
http://paq.osdn.org.ua/~mike/nss-ldapd/nss-ldapd-0.5-alt1.src.rpm

Пока отправляю в сизиф собирающуюся 0.4.1 -- судя по рассылкам,
полезно as is; пакет приспосабливал gns@ и явно на скору руку
(и на том спасибо) -- Url: и Source: там битые:
http://paq.osdn.org.ua/~gns/nss-ldapd/nss-ldapd-0.4.1-alt0.1.src.rpm

Автору отписал.

--- [1]
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -pthread -pipe -Wall -O2 -march=athlon -mtune=athlon-xp -c myldap.c
myldap.c: In function 'myldap_entry_free':
myldap.c:159: warning: implicit declaration of function 'ldap_value_free'
myldap.c: In function 'do_bind':
myldap.c:359: warning: implicit declaration of function 'ldap_simple_bind_s'
myldap.c: In function 'myldap_session_check':
myldap.c:507: warning: implicit declaration of function 'ldap_unbind'
myldap.c: In function 'myldap_search':
myldap.c:759: warning: implicit declaration of function 'ldap_abandon'
myldap.c: In function 'myldap_get_values':
myldap.c:1035: warning: implicit declaration of function 'ldap_get_values'
myldap.c:1035: warning: assignment makes pointer from integer without a cast
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -pthread -pipe -Wall -O2 -march=athlon -mtune=athlon-xp -c pagectrl.c
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -pthread -pipe -Wall -O2 -march=athlon -mtune=athlon-xp -c cfg.c
cfg.c: In function 'parse_krb5_ccname_statement':
cfg.c:340: error: 'OM_uint32' undeclared (first use in this function)
cfg.c:340: error: (Each undeclared identifier is reported only once
cfg.c:340: error: for each function it appears in.)
cfg.c:340: error: expected ';' before 'minor_status'
cfg.c:370: warning: implicit declaration of function 'gss_krb5_ccache_name'
cfg.c:370: error: 'minor_status' undeclared (first use in this function)
cfg.c:370: error: 'GSS_S_COMPLETE' undeclared (first use in this function)
make[2]: *** [cfg.o] Error 1
---

--- [2]
checking gssldap.h usability... no
checking gssldap.h presence... no
checking for gssldap.h... no
checking gsssasl.h usability... no
checking gsssasl.h presence... no
checking for gsssasl.h... no
checking gssapi/gssapi_krb5.h usability... no
checking gssapi/gssapi_krb5.h presence... no
checking for gssapi/gssapi_krb5.h... no
checking gssapi.h usability... no
checking gssapi.h presence... no
checking for gssapi.h... no
---

-- 
 ---- WBR, Michael Shigorin <mike на altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/



Подробная информация о списке рассылки Devel