口觜亻尔 发表于 2011-4-25 14:25:56

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

安装Radius Manager/freeradius时出错,请问怎么解决?
环境CentOS+Nginx+Mysql+PHP+eAccelerator# make
gmake: Entering directory `/root/Radius Manager/freeradius-server-2.1.8'
Making all in src...
gmake: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src'
gmake: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src'
Making all in include...
gmake: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src/include'
gmake: Nothing to be done for `all'.
gmake: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src/include'
Making all in lib...
gmake: 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: /root/Radius: Command not found
gmake: *** Error 127
gmake: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src/lib'
gmake: *** Error 2
gmake: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src'
gmake: *** Error 2
gmake: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src'
gmake: *** Error 2
gmake: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8'
make: *** Error 2
# make install
/root/Radius Manager/freeradius-server-2.1.8/install-sh -c -d -m 755 /usr/local/sbin
make: /root/Radius: Command not found
make: *** Error 127

ai188 发表于 2011-4-25 14:26:36

没安装GCC吧

口觜亻尔 发表于 2011-4-25 15:15:32

本帖最后由 口觜亻尔 于 2011-4-25 15:21 编辑

回复 ai188 的帖子

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

eshiwei 发表于 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

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

口觜亻尔 发表于 2011-4-25 20:49:06

eshiwei 发表于 2011-4-25 16:09 static/image/common/back.gif
yum -y install patch make gcc gcc-c++ autoconf kernel-devel libjpeg libjpeg-devel libpng libpng-deve ...

# 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
# make
gmake: Entering directory `/root/Radius Manager/freeradius-server-2.1.8'
Making all in src...
gmake: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src'
gmake: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src'
Making all in include...
gmake: Entering directory `/root/Radius Manager/freeradius-server-2.1.8/src/include'
gmake: Nothing to be done for `all'.
gmake: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src/include'
Making all in lib...
gmake: 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: /root/Radius: Command not found
gmake: *** Error 127
gmake: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src/lib'
gmake: *** Error 2
gmake: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src'
gmake: *** Error 2
gmake: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8/src'
gmake: *** Error 2
gmake: Leaving directory `/root/Radius Manager/freeradius-server-2.1.8'
make: *** Error 2
#

大哥,俺试了.还是不行哦.:lol 在帮我看看

口觜亻尔 发表于 2011-4-26 11:30:06

等了两天了,有人知道是什么原因吗?:Q

lintuorder 发表于 2011-4-26 15:28:12

装完CENTOS之后,用官方的教程直接安装,没有任何问题,重装试试

eshiwei 发表于 2011-4-26 15:52:41

厉害啊,这样都不行,我不是说了重装一下操作系统吗?记得勾上development tools 哦!

口觜亻尔 发表于 2011-4-27 04:26:07

eshiwei 发表于 2011-4-26 15:52 static/image/common/back.gif
厉害啊,这样都不行,我不是说了重装一下操作系统吗?记得勾上development tools 哦!

我的天啊,重装是件痛苦的事情啊!~~:')

口觜亻尔 发表于 2011-4-28 15:23:35

回复 eshiwei 的帖子

rpm -qa|grephttpd
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

jt00278 发表于 2011-5-1 15:13:08

估计还是GCC的问题……

hadky 发表于 2011-5-9 10:17:05

不错!都是高手!

lintuorder 发表于 2011-5-9 14:23:43

下载安装包,doc目录里面的PDF文件 http://bbs.routerclub.com/forum.php?mod=viewthread&tid=46963&extra=page%3D1
页: [1]
查看完整版本: 安装Radius Manager/freeradius时出错,请问怎么解决?