2013-06-05 57 views
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" 

回答

0

嘗試從存儲庫安裝libfreeradius-dev包。

+0

Thnaks,您的答覆,但libfreeradius-dev軟件包可......#的apt-get安裝libfreeradius-dev的 讀取軟件包列表...完成 大廈的依賴關係樹 讀取狀態信息...完成 libfreeradius-dev已經是最新版本了。 0升級,0新安裝,0刪除和617未升級。 – aloksinghk

+0

如果您可以自己查找標題,則可以將這些目錄添加到以下環境變量中的一個(或全部):CPATH,C_INCLUDE_PATH,CPLUS_INCLUDE_PATH和OBJC_INCLUDE_PATH。 –

0

autoconf腳本旨在用於位於FreeRADIUS源碼樹的src/modules /目錄中的模塊。爲了正常工作,您應該將rlm_protobuf移動到src/modules /中,然後運行FreeRADIUS主腳本配置腳本。