安装某个软件包时出现以下配置错误。我正在使用ubuntu 64位机器并安装了自由半径包但错误仍然存在。
$:/tmp/rlm_protobuf-freeradius-2.1.x$ sudo ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for curl-config... /usr/bin/curl-config
checking for curl >= 7.18.2... yes
checking CURL_CFLAGS...
checking CURL_LIBS... -L/usr/lib/x86_64-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking freeradius-devel/radius.h usability... no
checking freeradius-devel/radius.h presence... no
checking for freeradius-devel/radius.h... no
checking freeradius-devel/radiusd.h usability... no
checking freeradius-devel/radiusd.h presence... no
checking for freeradius-devel/radiusd.h... no
configure: error: "freeradius headers not found"
答案 0 :(得分:0)
尝试从存储库安装libfreeradius-dev软件包。
答案 1 :(得分:0)
autoconf脚本用于位于FreeRADIUS源树的src / modules /目录中的模块。为了使它正常工作,你应该将rlm_protobuf移动到src / modules /然后运行主FreeRADIUS配置脚本。