Здравствуйте!!!
Помогите разобраться с OpenLDAP.
>Здравствуйте!!!
>Помогите разобраться с OpenLDAP.
Здравствуйте. Вот пока вы говорите, мы вам уже помогаем! :)
Здрасте всем!!!Cтавлю pam_ldap 1.7.6 на FreeBSD 5.4 отконфигурил, деляю make так он мне вот что пишет:
"Makefile", line 277: Need an operator
make: fatal errors encountered -- cannot contineПосмотрел я в Makefile эту строчку
Сначало идет оглавление переменной:
113:
DEP_FILES= .deps/md5.P .deps/pam_ldap.P277:
-include $(DEP_FILES)Что за оператор ему нужен и где его взять?
>Здрасте всем!!!
>
>Cтавлю pam_ldap 1.7.6 на FreeBSD 5.4 отконфигурил, деляю make так он мне
> вот что пишет:
>"Makefile", line 277: Need an operator
>make: fatal errors encountered -- cannot contine
>
>Посмотрел я в Makefile эту строчку
>Сначало идет оглавление переменной:
>113:
>DEP_FILES= .deps/md5.P .deps/pam_ldap.P
>
>277:
>-include $(DEP_FILES)
>
>Что за оператор ему нужен и где его взять?
А из портов собрать не пробовали?cd /usr/ports/security/pam_ldap && make && make install
Да вот от туда и ставлю.
он его конфигурит, начинает собирать но с ошибками в pam_ldap.c начиная со строки 2597 доходит до 3716 и отрубается
>Да вот от туда и ставлю.
>он его конфигурит, начинает собирать но с ошибками в pam_ldap.c начиная со
>строки 2597 доходит до 3716 и отрубается$ pwd
/usr/ports/security/pam_ldap
$ make
===> Vulnerability check disabled, database not found
===> Extracting for pam_ldap-1.7.8
=> Checksum OK for pam_ldap-178.tar.gz.
===> Patching for pam_ldap-1.7.8
===> Applying FreeBSD patches for pam_ldap-1.7.8
===> pam_ldap-1.7.8 depends on executable: gmake - found
===> pam_ldap-1.7.8 depends on shared library: ldap-2.2.7 - found
===> Configuring for pam_ldap-1.7.8
creating cache ./config.cache
checking host system type... i386-unknown-freebsd5.4
checking target system type... i386-unknown-freebsd5.4
checking build system type... i386-unknown-freebsd5.4
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -O -pipe ) works... yes
checking whether the C compiler (cc -O -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for a BSD compatible install... /usr/bin/install -c
checking for security/pam_appl.h... yes
checking for security/pam_misc.h... no
checking for security/pam_modules.h... yes
checking for pam/pam_appl.h... no
checking for pam/pam_misc.h... no
checking for pam/pam_modules.h... no
checking for des.h... no
checking for crypt.h... no
checking for lber.h... yes
checking for ldap.h... yes
checking for ldap_ssl.h... no
checking for sasl/sasl.h... yes
checking for sasl.h... no
checking for main in -ldl... no
checking for main in -lpam... yes
checking for main in -lresolv... no
checking for main in -lcrypt... yes
checking for main in -lnsl... no
checking for gethostbyname... yes
checking for main in -llber... yes
checking for main in -lldap... yes
checking for ldap_init... yes
checking for ldap_get_lderrno... no
checking for ldap_set_lderrno... no
checking for ldap_parse_result... yes
checking for ldap_memfree... yes
checking for ldap_controls_free... yes
checking for ldap_set_option... yes
checking for ldap_get_option... yes
checking for ldapssl_init... no
checking for ldap_start_tls_s... yes
checking for ldap_pvt_tls_set_option... yes
checking for ldap_initialize... yes
checking for ldap_sasl_bind... yes
checking for ldap_sasl_interactive_bind_s... yes
checking for gethostbyname_r... no
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 3
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
===> Building for pam_ldap-1.7.8
cc -DHAVE_CONFIG_H -DLDAP_REFERRALS -DLDAP_DEPRECATED -DPIC -D_REENTRANT -I/usr/local/include -O -pipe -Wall -fPIC -c pam_ldap.c
pam_ldap.c: In function `_do_sasl_interaction':
pam_ldap.c:1806: warning: assignment discards qualifiers from pointer target type
pam_ldap.c:1812: warning: assignment discards qualifiers from pointer target type
pam_ldap.c: In function `_pam_ldap_get_session':
pam_ldap.c:2604: warning: passing arg 3 of `pam_get_data' from incompatible pointer type
pam_ldap.c: In function `pam_sm_open_session':
pam_ldap.c:3263: warning: passing arg 3 of `pam_get_data' from incompatible pointer type
pam_ldap.c: In function `pam_sm_chauthtok':
pam_ldap.c:3329: warning: passing arg 3 of `pam_get_data' from incompatible pointer type
pam_ldap.c:3340: warning: passing arg 3 of `pam_get_data' from incompatible pointer type
pam_ldap.c:3482: warning: passing arg 3 of `pam_get_data' from incompatible pointer type
pam_ldap.c:3642: warning: long int format, int arg (arg 4)
pam_ldap.c:3642: warning: long int format, int arg (arg 4)
pam_ldap.c: In function `pam_sm_acct_mgmt':
pam_ldap.c:3723: warning: passing arg 3 of `pam_get_data' from incompatible pointer type
cc -DHAVE_CONFIG_H -DLDAP_REFERRALS -DLDAP_DEPRECATED -DPIC -D_REENTRANT -I/usr/local/include -O -pipe -Wall -fPIC -c md5.c
cc -O -pipe -Wall -fPIC -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o pam_ldap.so -shared pam_ldap.o md5.o -lldap -llber -lcrypt -lpamНе вижу ни одной ошибке при сборке из портов.
Попробуйте обновить порты.