代码改变世界

linux下编译飞鸽传书

2011-05-28 13:35  会被淹死的鱼  阅读(668)  评论(0编辑  收藏  举报

IP Messenger官网(日文):http://ipmsg.org/

英文主页:http://ipmsg.org/index.html.en

下载gnome2的版本,这个版本比较新

UNIX

GNOME2 IP Messenger by T.Kato (2008/10/27)

备份下载地址

飞鸽源代码:g2ipmsg-0.9.6.zip

1.编译源代码

首先阅读README文件,其中又这样一段

./configure --prefix=/usr --sysconfdir=/etc --enable-systray  \
   --with-ext-charcode=CP932

    You can specify ipmsg character code set on the network with 
    --with-ext-charcode option(Default:CP932). 
    e.g.: If you want to use simplified chainese character code set:
       ./configure --prefix=/usr --sysconfdir=/etc --enable-systray  \
       --with-ext-charcode=CP936

所以,我参照这个,输入下面的命令

./configure --prefix=/usr/local --sysconfdir=/etc --enable-systray  \
--with-ext-charcode=CP936

解释:

--with-ext-charcode=CP936 是为了支持简体中文
--enable-systray 是为了支持系统托盘图标

在configure过程中,提示缺少包,我这里缺少两个包
sudo apt-get install libpanel-applet2-dev libgnomeui-dev
之后就可以configure通过了
make
sudo make install
安装完成后,可以运行
g2ipmsg
sudo g2ipmsg
我这里直接运行g2ipmsg会报错,重启可能会解决问题,有一些权限问题。
sudo g2ipmsg是绝对可以使用的。
这个飞鸽是有声音的,和windows下的功能是一样的,用来还算不错。
iptux是另外一个兼容飞鸽协议的软件,用起来也不错。