找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 6294|回复: 12

[radius] 安装Radius Manager/freeradius时出错,请问怎么解决?

[复制链接]
发表于 2011-4-25 14:25:56 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
安装radius manager/freeradius时出错,请问怎么解决?
环境CentOS+Nginx+Mysql+PHP+eAccelerator
  1. [root@vpn251 freeradius-server-2.1.8]# make
  2. gmake[1]: Entering directory `/root/Radius Manager/freeradius-server-2.1.8'
  3. Making all in src...
  4. gmake[2]: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src'
  5. gmake[3]: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src'
  6. Making all in include...
  7. gmake[4]: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src/include'
  8. gmake[4]: Nothing to be done for `all'.
  9. gmake[4]: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src/include'
  10. Making all in lib...
  11. gmake[4]: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src/lib'
  12. /root/Radius Manager/freeradius-server-2.1.8/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/root/Radius Manager/freeradius-server-2.1.8/src -c dict.c
  13. gmake[4]: /root/Radius: Command not found
  14. gmake[4]: *** [dict.lo] Error 127
  15. gmake[4]: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src/lib'
  16. gmake[3]: *** [common] Error 2
  17. gmake[3]: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src'
  18. gmake[2]: *** [all] Error 2
  19. gmake[2]: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src'
  20. gmake[1]: *** [common] Error 2
  21. gmake[1]: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8'
  22. make: *** [all] Error 2
  23. [root@vpn251 freeradius-server-2.1.8]# make install
  24. /root/Radius Manager/freeradius-server-2.1.8/install-sh -c -d -m 755 /usr/local/sbin
  25. make: /root/Radius: Command not found
  26. make: *** [install] Error 127
复制代码
routeros
发表于 2011-4-25 14:26:36 | 显示全部楼层
没安装GCC吧
routeros
回复

使用道具 举报

 楼主| 发表于 2011-4-25 15:15:32 | 显示全部楼层
本帖最后由 口觜亻尔 于 2011-4-25 15:21 编辑

回复 ai188 的帖子

哦,我用yum install gcc.在试,一样是报错.
routeros
回复

使用道具 举报

发表于 2011-4-25 16:09:31 | 显示全部楼层
本帖最后由 eshiwei 于 2011-4-25 16:10 编辑

yum -y install patch make gcc gcc-c++ autoconf kernel-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel

还会的话就是人品问题了,重装一下系统吧!
routeros
回复

使用道具 举报

 楼主| 发表于 2011-4-25 20:49:06 | 显示全部楼层

[root@vpn251 freeradius-server-2.1.8]# yum -y install patch make gcc gcc-c++ autoconf kernel-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-develLoaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.twaren.net
* extras: ftp.twaren.net
* rpmforge: fr2.rpmfind.net
* updates: ftp.twaren.net
Setting up Install Process
Package patch-2.5.4-31.el5.i386 already installed and latest version
Package 1:make-3.81-3.el5.i386 already installed and latest version
Package gcc-4.1.2-50.el5.i386 already installed and latest version
Package gcc-c++-4.1.2-50.el5.i386 already installed and latest version
Package autoconf-2.59-12.noarch already installed and latest version
Package kernel-devel-2.6.18-238.9.1.el5.i686 already installed and latest version
Package libjpeg-6b-37.i386 already installed and latest version
Package libjpeg-devel-6b-37.i386 already installed and latest version
Package 2:libpng-1.2.10-7.1.el5_5.3.i386 already installed and latest version
Package 2:libpng-devel-1.2.10-7.1.el5_5.3.i386 already installed and latest version
Package freetype-2.2.1-28.el5_5.1.i386 already installed and latest version
Package freetype-devel-2.2.1-28.el5_5.1.i386 already installed and latest version
Package libxml2-2.6.26-2.1.2.8.el5_5.1.i386 already installed and latest version
Package libxml2-devel-2.6.26-2.1.2.8.el5_5.1.i386 already installed and latest version
Package zlib-1.2.3-3.i386 already installed and latest version
Package zlib-devel-1.2.3-3.i386 already installed and latest version
Package glibc-2.5-58.el5_6.2.i686 already installed and latest version
Package glibc-devel-2.5-58.el5_6.2.i386 already installed and latest version
Package glib2-2.12.3-4.el5_3.1.i386 already installed and latest version
Package glib2-devel-2.12.3-4.el5_3.1.i386 already installed and latest version
Package bzip2-1.0.3-6.el5_5.i386 already installed and latest version
Package bzip2-devel-1.0.3-6.el5_5.i386 already installed and latest version
Package ncurses-5.5-24.20060715.i386 already installed and latest version
Package ncurses-devel-5.5-24.20060715.i386 already installed and latest version
Package curl-7.15.5-9.el5_6.2.i386 already installed and latest version
Package curl-devel-7.15.5-9.el5_6.2.i386 already installed and latest version
Package e2fsprogs-1.39-23.el5_5.1.i386 already installed and latest version
Package e2fsprogs-devel-1.39-23.el5_5.1.i386 already installed and latest version
No package krb5 available.
Package krb5-devel-1.6.1-55.el5_6.1.i386 already installed and latest version
Package libidn-0.6.5-1.1.i386 already installed and latest version
Package libidn-devel-0.6.5-1.1.i386 already installed and latest version
Package openssl-0.9.8e-12.el5_5.7.i686 already installed and latest version
Package openssl-devel-0.9.8e-12.el5_5.7.i386 already installed and latest version
Nothing to do
[root@vpn251 freeradius-server-2.1.8]# make
gmake[1]: Entering directory `/root/Radius Manager/freeradius-server-2.1.8'
Making all in src...
gmake[2]: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src'
gmake[3]: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src'
Making all in include...
gmake[4]: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src/include'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src/include'
Making all in lib...
gmake[4]: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src/lib'
/root/Radius Manager/freeradius-server-2.1.8/libtool --mode=compile gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/root/Radius Manager/freeradius-server-2.1.8/src -c dict.c
gmake[4]: /root/Radius: Command not found
gmake[4]: *** [dict.lo] Error 127
gmake[4]: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src/lib'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8'
make: *** [all] Error 2

[root@vpn251 freeradius-server-2.1.8]#

大哥,俺试了.还是不行哦. 在帮我看看
routeros
回复

使用道具 举报

 楼主| 发表于 2011-4-26 11:30:06 | 显示全部楼层
等了两天了,有人知道是什么原因吗?
routeros
回复

使用道具 举报

发表于 2011-4-26 15:28:12 | 显示全部楼层
装完CENTOS之后,用官方的教程直接安装,没有任何问题,重装试试
routeros
回复

使用道具 举报

发表于 2011-4-26 15:52:41 | 显示全部楼层
厉害啊,这样都不行,我不是说了重装一下操作系统吗?记得勾上  development tools 哦!
routeros
回复

使用道具 举报

 楼主| 发表于 2011-4-27 04:26:07 | 显示全部楼层
eshiwei 发表于 2011-4-26 15:52
厉害啊,这样都不行,我不是说了重装一下操作系统吗?记得勾上  development tools 哦!

我的天啊,重装是件痛苦的事情啊!~~
routeros
回复

使用道具 举报

 楼主| 发表于 2011-4-28 15:23:35 | 显示全部楼层
回复 eshiwei 的帖子

rpm -qa|grep  httpd
rpm -e httpd
rpm -qa|grep mysql
rpm -e mysql
rpm -qa|grep php
rpm -e php

yum -y remove httpd
yum -y remove php
yum -y remove mysql-server mysql
yum -y remove php-mysql

yum -y install yum-fastestmirror
yum -y remove httpd
yum -y update

#Synchronization time
rm -rf /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

yum install -y ntp
ntpdate -d cn.pool.ntp.org
date

#Disable SeLinux
if [ -s /etc/selinux/config ]; then
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
fi

for packages in patch make gcc gcc-c++ gcc-g77 flex bison file libtool libtool-libs autoconf kernel-devel libjpeg libjpeg-devel libpng libpng-devel libpng10 libpng10-devel gd gd-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glib2 glib2-devel bzip2 bzip2-devel libevent libevent-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel vim-minimal nano fonts-chinese gettext gettext-devel ncurses-devel gmp-devel pspell-devel unzip;
do yum -y install $packages; done
routeros
回复

使用道具 举报

发表于 2011-5-1 15:13:08 | 显示全部楼层
估计还是GCC的问题……
routeros
回复

使用道具 举报

发表于 2011-5-9 10:17:05 | 显示全部楼层
不错!都是高手!
routeros
回复

使用道具 举报

发表于 2011-5-9 14:23:43 | 显示全部楼层
下载安装包,doc目录里面的PDF文件 http://bbs.routerclub.com/forum. ... &extra=page%3D1
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-11-6 00:28 , Processed in 0.076858 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表