LEO*_*AYE 3 compiling make software-installation
这里的超级菜鸟。我可能正在尝试咀嚼超过我可以吞咽的量。我一周前才开始使用 Ubuntu
我正在运行最新的 Ubuntu 14,使用 BIND9(教程帮助设置了 DNS),并且我一直在与 FreeRadius 2.X 和现在的 3.X 进行斗争。
主要是我一直在遵循我发现的指南......
存储库只有 2.1.12,但我从他们的站点下载了 3.0.5 GZ 包。
2.1.12 太多了,长话短说……它不会正确重新安装(文件、目录丢失……PITA)
所以3.0.5,我解压后尝试安装,MAKE和CHECKINSTALL都失败了。谷歌未能查明为什么将“MAKE.INC.IN”重命名为“MAKE.INC”仍然会停止安装。有几个文件分散在以“IN”结尾的目录中,所以我认为这与包的压缩来源有关。此外,gEDIT 确认 MAKEFILE 正在调用 make.inc。我不知道为什么我无法安装软件包。由开发商说提供的安装说明来使用./configure
,make
和make install
也。
下面是我的 make install 和 make 的输出,两者都输出相同的“错误 10”
leonardo@consiglieri-DNS:~/Desktop/freeradius-server-3.0.5$ sudo make install
Makefile:10: *** Missing 'Make.inc' Run './configure [options]' and retry. Stop.
Run Code Online (Sandbox Code Playgroud)
检查安装,如果我手动将 make.inc.in 重命名为 make.inc:
Installing with make install...
========================= Installation results ===========================
scripts/boiler.mk:623: @abs_top_builddir@/main.mk: No such file or directory
make: *** No rule to make target `@abs_top_builddir@/main.mk'. Stop.
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
leonardo@consiglieri-DNS:~/Desktop/freeradius-server-3.0.5$
Run Code Online (Sandbox Code Playgroud)
文件列表...
leonardo@consiglieri-DNS:~/Desktop/freeradius-server-3.0.5$ ls -a
. autogen.sh configure debian INSTALL.rst main.mk mibs redhat suse
.. config.guess configure.ac doc install-sh Makefile missing scripts .travis.yml
acinclude.m4 config.log COPYRIGHT .gitattributes LICENSE Make.inc.in raddb share VERSION
aclocal.m4 config.sub CREDITS .gitignore m4 man README.rst src
Run Code Online (Sandbox Code Playgroud)
以下是我的输出./configure
:
leonardo@consiglieri-DNS:~/Desktop/freeradius-server-3.0.5$ sudo ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc needs -traditional... no
checking whether we are using SUNPro C... no
checking for ranlib... ranlib
checking if compiler is clang... no
checking for the compiler flag "-Qunused-arguments"... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether byte ordering is bigendian... no
checking for gmake... no
checking for make... /usr/bin/make
checking number of system cores... 2
checking for git... no
checking docdir... ${datadir}/doc/freeradius
checking logdir... ${localstatedir}/log/radius
checking radacctdir... ${logdir}/radacct
checking raddbdir... ${sysconfdir}/raddb
checking dictdir... ${datarootdir}/freeradius
checking for perl... /usr/bin/perl
checking for snmpget... no
configure: WARNING: snmpget not found - Simultaneous-Use and checkrad may not work
checking for snmpwalk... no
configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad may not work
checking for rusers... /usr/bin/rusers
checking for locate... /usr/bin/locate
checking for dirname... /usr/bin/dirname
checking for grep... (cached) /bin/grep
checking for _talloc in -ltalloc... no
checking for _talloc in -ltalloc in /usr/lib/i386-linux-gnu... no
checking for _talloc in -ltalloc in /usr/share/doc... no
checking for _talloc in -ltalloc in /usr/share/doc/libtalloc2... no
checking for _talloc in -ltalloc in /var/lib/dpkg/info... no
checking for _talloc in -ltalloc in /usr/local/lib... no
checking for _talloc in -ltalloc in /opt/lib... no
configure: WARNING: talloc library not found. Use --with-talloc-lib-dir=<path>.
configure: error: FreeRADIUS requires libtalloc
leonardo@consiglieri-DNS:~/Desktop/freeradius-server-3.0.5$
Run Code Online (Sandbox Code Playgroud)
小智 5
在运行之前,您还没有正确完成配置make
:
Makefile:10: *** Missing 'Make.inc' Run './configure [options]' and retry. Stop.
Run Code Online (Sandbox Code Playgroud)
由于这个原因,配置已被中断:
configure: WARNING: talloc library not found. Use --with-talloc-lib-dir=<path>.
configure: error: FreeRADIUS requires libtalloc
Run Code Online (Sandbox Code Playgroud)
这是从源代码构建自己的二进制文件的“缺点” - 您必须检查需要什么,查看一些编译选项以获得您可能需要的功能。还读取输出以防出现一些错误。
Deb 包将是更简单的方法 - 以旧版本为代价。
无论如何 - 现在你需要libtalloc
. 然而,您可能还需要更多的东西——您会在尝试再次配置和编译时看到。
祝你好运。
归档时间: |
|
查看次数: |
9531 次 |
最近记录: |