Делаю (пытаюсь) настроить Samba по вот этой статье http://www.samba.org.ua/articles/?section=11&articleid=49 для авторизации доменных пользователей, но фактически застрял на сборке pam_smb.
Пробовал версии 1.1.7 и 1.1.6, при выполнении ./configure в обоих случаях выдает следующее:
root@mopsLinux:/home/ya/pam_smb# ./configure
creating cache ./config.cache
Will compile with encrypted password support
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether the C compiler (gcc -O2 ) works... yes
checking whether the C compiler (gcc -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for shadow.h... yes
checking for security/pam_appl.h... yes
checking for unistd.h... yes
checking for security/pam_modules.h... yes
checking for LOG_AUTHPRIV... yes
checking for main in -lcrypt... yes
checking for working const... yes
checking system version (for dynamic loading)... ./configure: line 1379: syntax error near unexpected token `('
./configure: line 1379: ` case `(ac_space=' '; set) 2>&1` in'
Я не очень опытный, поэтому решил что подобные вопросы надо в разделе для начинающих задавать. Может подскажете что не так и как решить . Обычно программы другие ставились и конфигурились без проблем, а тут вот те раз. Зарание всем спасибо за ответы.
Собственно интересует что означает сама по себе ошибка вида:
syntax error near unexpected token `('
из-за чего она может быть и как сделать что бы ее устранить. В то, что в скриптах pam_smb есть синтаксические ошибки я как то не очень верю, но если так, то как изменить эту строку. Спасибо.