Linux系统下rstatd的安装问题
先下载了一个rstatd.tar.gz16:03:08 (16.0 KB/s) - `rstatd.tar.gz' saved
然后解压
$ tar xzvf rstatd.tar.gz
rpc.rstatd/
rpc.rstatd/config.h.in
rpc.rstatd/CVS/
rpc.rstatd/CVS/Repository
rpc.rstatd/CVS/Root
rpc.rstatd/CVS/Entries
rpc.rstatd/COPYING
rpc.rstatd/Makefile.am
rpc.rstatd/rsysinfo.1
rpc.rstatd/rup.c
rpc.rstatd/rsysinfo.c
rpc.rstatd/rup.1
rpc.rstatd/rstatd.8
rpc.rstatd/rstat_main.c
rpc.rstatd/rpc.rstatd.8
rpc.rstatd/stamp-h.in
rpc.rstatd/aclocal.m4
rpc.rstatd/configure
rpc.rstatd/configure.in
rpc.rstatd/rstat.x
rpc.rstatd/Makefile.in
rpc.rstatd/INSTALL
rpc.rstatd/mkinstalldirs
rpc.rstatd/missing
rpc.rstatd/rstat_proc.c
rpc.rstatd/README
rpc.rstatd/install-sh
没有什么问题,然后进入rpc.rstatd目录
$ cd rpc.rstatd/
然后开始配置
$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing //查了下资料,正常情况下这些应该都found,不知道我的为什么都missing了
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc) works... yes
checking whether the C compiler (gcc) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for sys/ioctl.h... yes
checking for syslog.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for ANSI C header files... yes
checking return type of signal handlers... void
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
这之后再安装就出现ERROR了,谁安装过知道这是怎么回事么。。。 按如下顺序安装一下三个包,应该能解决你这个问题
(1)rsh-0.17-14.i386.rpm
(2)rsh-server-0.17-14.i386.rpm
(3)rpc.rstatd-4.0.1.tar.gz
1.安装rsh,和rsh-server两个服务包。
a. 卸载rsh
rpm –q rsh----------查看版本号
rpm -e 版本号---------卸载该版本。
b.安装
rpm –ivh rsh-0.17-14.i386.rpm rsh-server-0.17-14.i386.rpm
这两个包在我的目录下有共享。
2.下载并安装rstatd
gunzip rpc.rstatd-4.0.1.tar.gz
Tar –cvf rpc.rstatd-4.0.1.tar.
./configure ---配置
make ---编译
make install ---安装
rpc.rstatd ---启动rstatd进程 安装好后,启用时请注意权限问题,rpc.rstatd进程,貌似只能用root才可以正常启动 :funk: :funk: :funk: :funk: :funk:
页:
[1]