소스에서 CentOS 7에 NTP를 설치하고 구성하는 방법은 무엇입니까? (/ntp_crypt.h 오류 포함)

소스에서 CentOS 7에 NTP를 설치하고 구성하는 방법은 무엇입니까? (/ntp_crypt.h 오류 포함)

최신 NTP .tar.gz 파일의 압축을 풀었습니다. gcc 컴파일러와 libcap devel을 설치했습니다. 다양한 플래그와 옵션을 사용하여 ./configure 명령을 실행합니다. make check를 실행했는데 오류가 발견되었습니다. 종료 상태는 2입니다. 0만 있으면 오류가 없음을 의미합니다. 출력에서 다음을 볼 수 있습니다.

../../include/ntp_crypt.h:23:2: error: #error AUTOKEY should be defined only if OPENSSL is.  #error AUTOKEY should be defined only if OPENSSL is.

../../include/ntp_crypt.h:24:14: error: expect '=', ',' ';', 'asm' or '__attribute__' before ' token invalidsyntax: AUTOKEY should be defined only if OPENSSL is.

../../include/ntp_crypto.h:27:25: fatal error: openssl/evp.h: No such file or directory #include "openssl/evp.h"

make install 명령을 사용하여 NTP를 설치할 수 있도록 이 오류를 어떻게 수정합니까?

관련 정보