html tool

2012年11月23日星期五

local 通信工具(未完成)


1.本想setup 飞秋,但编译过程有问题,但在http://blog.fj18.com/post/146.html 中提示使用iptux  
try 了一下  [popexizhi:安装命令是sudo apt-get install iptux ]
ok 了 ,直接在 命令行中运行 iptux 就ok
2. next 继续 setup 飞秋
【当前问题】
参考http://blog.renren.com/share/325284763/7571475187
其中运行
5、编译
#./configure --enable-systray
这个应该是产生makefile 文件吧?!我猜测的啊,每次运行都提示
“checking for APPLET... configure: error: Package requirements (libpanelapplet-2.0) were not met:
No package 'libpanelapplet-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables APPLET_CFLAGS and APPLET_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

对 libpanelapplet-2.0 go了一下 ,
【try1】
http://blog.fj18.com/post/146.html
才找到这个iptux,3q
但是原文中提示的方法“sudo apt-get install libpanelappletmm-2.6-dev”

我的测试结果如下:

“popexizhi@popexizhi-Compaq-511:~/try-tool/g2ipmsg-0.9.6$ sudo apt-get install libpanelappletmm-2.6-dev

[sudo] password for popexizhi:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
E: 未发现软件包 libpanelappletmm-2.6-dev
E: 无法按照正则表达式 libpanelappletmm-2.6-dev 找到任何软件包

【try2】
http://www.mbsky.com/infoview/Article_11792.html
参考这个也是上面的“sudo apt-get install libpanelappletmm-2.6-dev”

好吧!看来要更新一下这个apt-get 的索引了,命令是什么?go一下去

【try 2.1】更新apt-get 的list
更新是提示错误

http://forum.ubuntu.org.cn/viewtopic.php?f=80&t=337013
中建议
代码:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

测试了一下,开始重新sudo apt-get update


update中提示如下

获取:20 http://cn.archive.ubuntu.com precise-updates/universe Translation-zh_CN [139 kB]
下载 17.5 MB,耗时 12秒 (1,351 kB/s)                                           
W: 无法下载bzip2:/var/lib/apt/lists/partial/cn.archive.ubuntu.com_ubuntu_dists_precise-updates_main_source_Sources  Hash 校验和不符
W: 无法下载 bzip2:/var/lib/apt/lists/partial/cn.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_source_Sources  Hash 校验和不符
E: Some index files failed to download. They have been ignored, or old ones used instead.

go 了一下,应该是自己使用默认的apt-get 源的问题,参考
http://romyli.iteye.com/blog/690242

其中
“sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份当前的源列表,以便日後需要时恢复)
”备份了一下,但是直接修改添加地址后,update 提示
"popexizhi@popexizhi-Compaq-511:~$ sudo apt-get update
E: 无法识别在源列表 /etc/apt/sources.list 里,第 59 行中的软件包类别“http://wiki.ubuntu.org.cn/index.php?title=Template:8.10source&variant=zh-cn”
E: 无法读取源列表。
"

又go了一下源使用的地址
http://blog.csdn.net/jiusifeng/article/details/7401041
这里到提供不少内容,但是效果要具体的测试了

×××××××××××××××××××××××××××××××××××××××××××××××
补充: sources.list 的文件格式
【参考:http://www.cnblogs.com/nodot/archive/2011/06/02/2068570.html

1. /etc/apt/sources.list文件的基本格式:

deb http://site.http.org/debian distribution section1 section2 section3
deb-src http://site.http.org/debian distribution section1 section2 section3

  deb 二进制程序包
  deb-src 原代码程序包

******************************************************

中途结束了update提示为

解决 E: 无法获得锁 /var/lib/apt/lists/lock - open (11 资源临时不可用) E: 无法对状态列表目录加锁

解决半办法:sudo rm /var/lib/apt/lists/lock
参考:http://hi.baidu.com/chunlei927/item/ecb9cb3ae9e67b5880f1a755

*****************************************************************
[go] apt-get 选择源list
http://www.siutung.org/post/180/
选择了
"## 台湾的官方源速度也相当不错,有时甚至快于内地的:
deb http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
"

再次安装提示如下:
"
sudo apt-get install libpanelappletmm-*
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
注意,根据正则表达式 libpanelappletmm-* 选中了 libpanelappletmm-2.6-1c2
注意,根据正则表达式 libpanelappletmm-* 选中了 libpanelappletmm-2.6-1
注意,根据正则表达式 libpanelappletmm-* 选中了 libpanelappletmm-2.6-dev
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
libpanelappletmm-2.6-1c2 : 依赖: libpanel-applet2-0 (>= 2.19.3) 但是它将不会被安装
libpanelappletmm-2.6-dev : 依赖: libgconfmm-2.6-dev (>= 2.10.0-3) 但是它将不会被安装
                           依赖: libgnomemm-2.6-dev (>= 2.10.0-1) 但是它将不会被安装
                           依赖: libpanel-applet2-dev (> 2.6.0) 但是它将不会被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。

"
换了3个源都提示上面的,想到几日前安装很多,就查了一下卸载吧
sudo apt-get remove libpanel-applet-4-0
【popexizhi】 库版本问题,安装的有冲突,卸载时,旧的基础库卸载多了,:) 系统挂了,再次安装os后,grub 文件覆盖出错了,好吧!grub 修复模式下,CD和USB的windows pe都引导不了了。找了个new pc ,go on.:)

[doing]
./configure --enable-systray

[错误提示]
"configure: error: GNU gettext tools not found; required for intltool ”
[go]http://blog.fj18.com/post/146.html
[doing]
sudo apt-get install intltool

安装 intltool 提示错误
[错误提示]
正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place
在处理时有错误发生:
qmail
qmail-run
E: Sub-process /usr/bin/dpkg returned an error code (1)





没有评论:

发表评论