drcom无法安装!(已解决)
时间:2009-11-15
来源:互联网
代码:
[ballakay@myhost drcom-pum-1.0 (2)]$ sudo make install make[1]: Entering directory `/home/ballakay/drcom-pum-1.0 (2)/src' make[1]: Leaving directory `/home/ballakay/drcom-pum-1.0 (2)/src' make[1]: Entering directory `/home/ballakay/drcom-pum-1.0 (2)/resource' make[1]: Leaving directory `/home/ballakay/drcom-pum-1.0 (2)/resource' :: Starting drcom kernel module. [DONE] Could not find add/remove init scripts to a runlevel utility This operation can not continue without it
解决办法:
就这句话:
代码:
## FIXME: ArchLinux has to del runlevel by hand. ## Edit /etc/rc.conf, and del "drcom" to the MODULES list: ## DAEMONS=(... drcom ...)
搞定了!!!!!!!!
上传的附件
drcom-pum-1.0-9.10.zip (100.7 KB, 4 次查看) |
作者: ballakay 发布时间: 2009-11-15
我们学校用的也是dr.com ,不过能有网页登录。
作者: cwjt 发布时间: 2009-11-16
试试drcom-client。http://sourceforge.net/projects/drcom-client/
作者: Speedx 发布时间: 2009-11-17
我也很郁闷 ,主要是/usr/src/linux-*arch 下的源代码不全,只有32M ,无法编译 ,我重新下了一个linux kernel 源码,重编译了一个内核, 然后在那个内核下进行以上工作应该可以编译通过
我不知道如何把系统默认的源代码下载下载,不用新新编译内核,谁 能告诉我呀
我不知道如何把系统默认的源代码下载下载,不用新新编译内核,谁 能告诉我呀
作者: jixiuf 发布时间: 2009-11-17
估计是这个脚本有问题:
代码:
#! /bin/bash ## ## drcom-client PUM v1.0, Python User Mode ## ## drunlevel ## install init script for drcom kernel module loaded at boot-up ## ## Copyright (c) 2009, drcom-client Team ## Author: Henry Huang <[email protected]> ## ## This program is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public ## License as published by the Free Software Foundation; either ## version 2.1 of the License, or (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. # ## You should have received a copy of the GNU General Public ## License along with this program; if not, write to the ## Free Software Foundation, Inc., 59 Temple Place - Suite 330, ## Boston, MA 02111-1307, USA. runlevels=35 system=unknown if [ -f /etc/redhat-release ]; then system=redhat util=$(type -p /sbin/chkconfig) elif [ -f /etc/SuSE-release ]; then system=suse util=$(type -p /sbin/chkconfig) elif [ -f /etc/debian_version ]; then system=debian util=$(type -p update-rc.d) elif [ -f /etc/gentoo-release ]; then system=gentoo util=$(type -p rc-update) ## FIXME: ArchLinux has to add/del runlevel by hand. elif [ -f /etc/arch-release ]; then system=archlinux else echo "$0: Unknown system" 1>&2 fi if [ -z $util ]; then echo Could not find add/remove init scripts to a runlevel utility 1>&2 echo This operation can not continue without it 1>&2 exit 1 fi fail() { echo "$1" exit 1 } addrunlevel() { if [ $system == "redhat" ] || [ $system == "suse" ]; then $util --del $1 >&/dev/null if $util -v &>/dev/null; then $util --level $runlevels $1 on || { fail "Cannot add $1 to run levels: $runlevels" } else $util $1 $runlevels || { fail "Cannot add $1 to run levels: $runlevels" } fi elif [ $system == "debian" ]; then # Debian does not support dependencies currently -- use argument $2 # for start sequence number and argument $3 for stop sequence number $util -f $1 remove >&/dev/null $util $1 defaults $2 $3 >&/dev/null elif [ $system == "gentoo" ]; then $util del $1 >&/dev/null $util add $1 default >&/dev/null ## FIXME: ArchLinux has to add runlevel by hand. ## Edit /etc/rc.conf, and add "drcom" to the MODULES list: ## DAEMONS=(... drcom ...) fi } delrunlevel() { if [ $system == "redhat" ] || [ $system == "suse" ]; then if $util --list $1 >& /dev/null; then $util --del $1 >& /dev/null || { fail "Cannot delete $1 from runlevels" } fi elif [ $system == "debian" ]; then $util -f $1 remove >&/dev/null elif [ $system == "gentoo" ]; then $util del $1 >&/dev/null fi ## FIXME: ArchLinux has to del runlevel by hand. ## Edit /etc/rc.conf, and del "drcom" to the MODULES list: ## DAEMONS=(... drcom ...) } usage() { echo "Usage: $0 {add|del} script" exit 1 } # Test for second argument test -z $2 && { usage } case "$1" in add) addrunlevel $2 $3 $4 ;; del) delrunlevel $2 ;; *) usage esac exit
作者: ballakay 发布时间: 2009-11-17
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28