当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]我的ubuntu无法上网啊,急急急.....
帖子发表于 : 2008-09-17 23:28 

注册: 2008-09-07 15:20
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
yaojun@yaojun-desktop:~$ sudo aptitude install build-essential
[sudo] password for yaojun:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
Initializing package states... 完成
Writing extended state information... 完成
Building tag database... 完成
The following NEW packages will be automatically installed:
dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev linux-libc-dev patch
The following NEW packages will be installed:
build-essential dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev
linux-libc-dev patch
0 packages upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/7934kB of archives. After unpacking 31.9MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... 完成
选中了曾被取消选择的软件包 linux-libc-dev。
(正在读取数据库 ... 系统当前总共安装有 88932 个文件和目录。)
正在解压缩 linux-libc-dev (从 .../linux-libc-dev_2.6.22-14.46_i386.deb) ...
选中了曾被取消选择的软件包 libc6-dev。
正在解压缩 libc6-dev (从 .../libc6-dev_2.6.1-1ubuntu9_i386.deb) ...
选中了曾被取消选择的软件包 libstdc++6-4.1-dev。
正在解压缩 libstdc++6-4.1-dev (从 .../libstdc++6-4.1-dev_4.1.2-16ubuntu2_i386.deb) ...
选中了曾被取消选择的软件包 g++-4.1。
正在解压缩 g++-4.1 (从 .../g++-4.1_4.1.2-16ubuntu2_i386.deb) ...
选中了曾被取消选择的软件包 g++。
正在解压缩 g++ (从 .../g++_4.1.2-9ubuntu2_i386.deb) ...
选中了曾被取消选择的软件包 patch。
正在解压缩 patch (从 .../p/patch/patch_2.5.9-4_i386.deb) ...
选中了曾被取消选择的软件包 dpkg-dev。
正在解压缩 dpkg-dev (从 .../dpkg-dev_1.14.5ubuntu16_all.deb) ...
选中了曾被取消选择的软件包 build-essential。
正在解压缩 build-essential (从 .../build-essential_11.3ubuntu1_i386.deb) ...
正在设置 linux-libc-dev (2.6.22-14.46) ...
正在设置 libc6-dev (2.6.1-1ubuntu9) ...
正在设置 patch (2.5.9-4) ...
正在设置 dpkg-dev (1.14.5ubuntu16) ...
正在设置 libstdc++6-4.1-dev (4.1.2-16ubuntu2) ...
正在设置 g++-4.1 (4.1.2-16ubuntu2) ...
正在设置 g++ (4:4.1.2-9ubuntu2) ...

正在设置 build-essential (11.3ubuntu1) ...
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
Reading extended state information
Initializing package states... 完成
Writing extended state information... 完成
Building tag database... 完成
yaojun@yaojun-desktop:~$ cd /home/yaojun/Desktop/drcom
bash: cd: /home/yaojun/Desktop/drcom: No such file or directory
yaojun@yaojun-desktop:~$ cd /home/yaojun/桌面/drcom
yaojun@yaojun-desktop:~/桌面/drcom$ make
make -C drcomc
make[1]: Entering directory `/home/yaojun/桌面/drcom/drcomc'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o drcomc.o drcomc.c
gcc drcomc.o -o drcomc
make[1]: Leaving directory `/home/yaojun/桌面/drcom/drcomc'
make -C drcomd
make[1]: Entering directory `/home/yaojun/桌面/drcom/drcomd'
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o drcomd.o drcomd.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o daemon.o daemon.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o cleanup.o cleanup.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o dialog.o dialog.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o handle.o handle.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o init.o init.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o keepalive.o keepalive.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o login.o login.c
login.c: In function ‘drcom_login’:
login.c:50: warning: unused parameter ‘timeout’
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o logout.o logout.c
logout.c: In function ‘drcom_logout’:
logout.c:34: warning: unused parameter ‘timeout’
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o md5.o md5.c
md5.c:131:36: warning: use of C99 long long integer constant
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o misc.o misc.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o passwd.o passwd.c
passwd.c: In function ‘drcom_passwd’:
passwd.c:32: warning: unused parameter ‘timeout’
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o readconf.o readconf.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o watchport.o watchport.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o getaddr.o getaddr.c
gcc -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic -I/home/yaojun/桌面/drcom/include -O2 -c -o log.o log.c
log.c: In function ‘dbg’:
log.c:34: warning: unused parameter ‘format’
gcc -lm -lpthread drcomd.o daemon.o cleanup.o dialog.o handle.o init.o keepalive.o login.o logout.o md5.o misc.o passwd.o readconf.o watchport.o getaddr.o log.o -o drcomd
make[1]: Leaving directory `/home/yaojun/桌面/drcom/drcomd'
make -C kmod
make[1]: Entering directory `/home/yaojun/桌面/drcom/kmod'
make -C /lib/modules/2.6.22-14-generic/build M=/home/yaojun/桌面/drcom/kmod modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/yaojun/桌面/drcom/kmod/init.o
CC [M] /home/yaojun/桌面/drcom/kmod/proc.o
CC [M] /home/yaojun/桌面/drcom/kmod/proto.o
/home/yaojun/桌面/drcom/kmod/proto.c: In function ‘init_hijack’:
/home/yaojun/桌面/drcom/kmod/proto.c:453: warning: assignment from incompatible pointer type
/home/yaojun/桌面/drcom/kmod/proto.c:454: warning: assignment from incompatible pointer type
/home/yaojun/桌面/drcom/kmod/proto.c: In function ‘cleanup_hijack’:
/home/yaojun/桌面/drcom/kmod/proto.c:461: warning: comparison of distinct pointer types lacks a cast
/home/yaojun/桌面/drcom/kmod/proto.c:462: warning: assignment from incompatible pointer type
LD [M] /home/yaojun/桌面/drcom/kmod/drcom.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/yaojun/桌面/drcom/kmod/drcom.mod.o
LD [M] /home/yaojun/桌面/drcom/kmod/drcom.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: Leaving directory `/home/yaojun/桌面/drcom/kmod'
yaojun@yaojun-desktop:~/桌面/drcom$ sudo make install
make -C drcomc install
make[1]: Entering directory `/home/yaojun/桌面/drcom/drcomc'
mkdir -p /usr/local/bin/
install -m 755 drcomc /usr/local/bin/
make[1]: Leaving directory `/home/yaojun/桌面/drcom/drcomc'
make -C drcomd install
make[1]: Entering directory `/home/yaojun/桌面/drcom/drcomd'
mkdir -p /usr/local/bin/
install -m 700 drcomd /usr/local/bin/
make[1]: Leaving directory `/home/yaojun/桌面/drcom/drcomd'
make -C kmod install
make[1]: Entering directory `/home/yaojun/桌面/drcom/kmod'
make -C /lib/modules/2.6.22-14-generic/build M=/home/yaojun/桌面/drcom/kmod modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
Building modules, stage 2.
MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make -C /lib/modules/2.6.22-14-generic/build M=/home/yaojun/桌面/drcom/kmod modules_install
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
INSTALL /home/yaojun/桌面/drcom/kmod/drcom.ko
DEPMOD 2.6.22-14-generic
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
/sbin/depmod -a 2.6.22-14-generic
make[1]: Leaving directory `/home/yaojun/桌面/drcom/kmod'
[: 17: /etc/drcom.conf: unexpected operator
====================================

Do Not Forget To Edit /etc/drcom.conf

====================================
yaojun@yaojun-desktop:~/桌面/drcom$ sudo gedit /etc/drcom.conf
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.7

yaojun@yaojun-desktop:~/桌面/drcom$ CD
bash: CD: command not found
yaojun@yaojun-desktop:~/桌面/drcom$ cd
yaojun@yaojun-desktop:~$ sudo drcom
sudo: drcom: command not found
yaojun@yaojun-desktop:~$ cd /home/yaojun/桌面/drcom
yaojun@yaojun-desktop:~/桌面/drcom$ sudo drcomd
yaojun@yaojun-desktop:~/桌面/drcom$ drcomc login
Login failed
Reason: 0
yaojun@yaojun-desktop:~/桌面/drcom$ cd
yaojun@yaojun-desktop:~$ drcomc login
Login failed
Reason: 0
yaojun@yaojun-desktop:~$ sudo gedit /etc/drcom.conf
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.7

yaojun@yaojun-desktop:~$ drcomc login
Login failed
Reason: 0
yaojun@yaojun-desktop:~$ drcomc logout
Logout failed
Reason: 3
yaojun@yaojun-desktop:~$ sudo gedit /etc/drcom.conf
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.7

yaojun@yaojun-desktop:~$ sudo drcomd
drcomd: Bind failed: Address already in use
yaojun@yaojun-desktop:~$ drcomc login
Login failed
Reason: 0


谁能帮帮我????


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译