ошибка при запуске ./configure установка Kerberos v5 - PullRequest
0 голосов
/ 22 апреля 2020

Я пытаюсь установить Kerberos на Ubuntu 18.04. как указано в руководстве по этой ссылке , указано следующее:

  1. cd /u1/krb5-1.3/src
  2. . / configure
  3. make

когда я запускаю . / Configuration он проверяет некоторые зависимости, но не может найти res_search

это журналы на моем терминал:

configure: creating cache ./config.cache
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ANSI C... none needed
Looking for ././config
configure: adding extra warning flags for gcc
built in krb4 support
checking which version of com_err to use... krb5
checking which version of subsystem package to use... krb5
checking for an ANSI C-conforming const... yes
checking for gethostbyname... yes
checking for socket... yes
checking if DNS Kerberos lookup support should be compiled in... yes
checking for res_search... no
checking for res_search in -lresolv... no
configure: error: Cannot find resolver support routine res_search in -lresolv.

две последние строки делают эту команду неудачной.

что мне делать?

спасибо.

1 Ответ

0 голосов
/ 23 апреля 2020

Как сказал @Mat, версия была старая и последняя версия kerberos в порядке.

...