0
我在安裝某些軟件包時遇到了以下配置錯誤。我使用ubantu 64位機器並安裝了免費半徑包,但錯誤仍然存在。配置:錯誤:「找不到freeradius標頭」
$:/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"
Thnaks,您的答覆,但libfreeradius-dev軟件包可......#的apt-get安裝libfreeradius-dev的 讀取軟件包列表...完成 大廈的依賴關係樹 讀取狀態信息...完成 libfreeradius-dev已經是最新版本了。 0升級,0新安裝,0刪除和617未升級。 – aloksinghk
如果您可以自己查找標題,則可以將這些目錄添加到以下環境變量中的一個(或全部):CPATH,C_INCLUDE_PATH,CPLUS_INCLUDE_PATH和OBJC_INCLUDE_PATH。 –