如何安装即时消息应用程序 IP Messenger?

Sea*_*ock 8 command-line gtk instant-messaging 11.10 environment-variables

我最近下载了g2ipmsg(Ubuntu 11.10 的 IP Messenger)。但是 - 这不像以前的 ubuntu 版本那样是可安装的包。

因此我想我需要编译它。此应用程序需要 gtk,因此我libgtk2.0-dev使用 Synaptic Package Manager 进行安装。

现在,当我运行./configure命令时,它给了我以下错误。

检查 APPLET... 配置:错误:未满足包要求 (libpanelapplet-2.0):

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.
Run Code Online (Sandbox Code Playgroud)

在哪里可以找到 PKG_CONFIG_PATH 的路径?

这是我到目前为止所做的:

我已经根据在 Ubuntu linux 上安装 IP 信使一文安装了 libxml-parser-perl、libgnomeui-dev、gettext、intltool, 但找不到软件包 libpanel-applet2-dev。

然后我什至尝试安装 libpanelappletmm-2.6-dev 和 libpanelappletmm-2.6-1c2 但找不到这个包

但仍然得到同样的错误

configure: error: Package requirements (libpanelapplet-2.0) were not met


ubuntu下g2ipmsg有很多问题,特别是文件传输的时候问题很多。

使用 Iptux 代替使用 wine 或 g2ipmsg 安装 Ip messanger。

它与 Ip Messanger 完美兼容。

安装 Iptux sudo apt-get install iptux

Iai*_*ane 5

当您看到来自pkg-config("No package 'foo' found")的错误消息时,这意味着该文件foo.pc无法通过pkg-config. 通常的原因是你没有安装提供这个文件的包,所以你应该使用apt-file或 在 packages.ubuntu.com 上搜索它。但是,在这种特定情况下,您不会得到任何结果,因为旧的 GNOME 2 面板小程序已全部删除。

如果传递--disable-applet./configure,您应该能够通过这一步。


fos*_*dom 5

该软件包g2ipmsg在存储库中可用 - v0.9.6 适用于所有版本的 ubuntu,除了 oneiric。因此,要安装在 oneiric 或 12.04 及更高版本之前的版本中:

g2ipmsg 安装 g2ipmsg

然而,它在 Oneiric (11.10) 中不可用,因为由于对 Gnome-Panel 的更改和对 gnome-2 小程序库的依赖,它不能在 oneiric 下编译。

您可以编译并安装以在 gnome-classic 中生成此结果(无效果)

在此处输入图片说明

注意 - 当应用程序启动时 - 它开始最小化到 gnome 面板。出于某种原因,在 Unity 中,此应用程序不会出现 - 可能最小化的应用程序在 Unity 面板中不直接可见。

要使应用程序在 Unity 下运行,您需要启用旧的系统托盘:

gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
Run Code Online (Sandbox Code Playgroud)

然后在Dash中搜索g2ipmsg之前注销并登录

我已经编译并将其添加到我的 PPA 中。如果你想自己编译它,那么说明如下。

从 PPA 安装

sudo add-apt-repository ppa:fossfreedom/g2ipmsg
sudo apt-get update
sudo apt-get install g2ipmsg
Run Code Online (Sandbox Code Playgroud)

运行 g2ipmsg

  1. 如果您使用的是Gnome-Classic界面,那么 G2ipmsg 将在附件菜单选项中找到
  2. 如果您正在使用的Gnome壳牌随后在搜索活动g2ipmsg和应用程序将在屏幕上的系统托盘通知区域(右下角)启动最小化。您需要将鼠标移动到该区域以使应用程序图标可见。我的建议是使用系统托盘扩展使应用程序图标在屏幕右上角始终可见。有关这些区域以及如何安装扩展的更多信息,请参阅下面的链接答案
  3. 如果您使用 Unity/Unity 2D,您将需要手动启用系统托盘区域,以便应用程序在屏幕右上角的指示器区域旁边区域启动。

如何编译

  • 获取资源:
cd ~/下载
wget https://launchpad.net/ubuntu/+archive/primary/+files/g2ipmsg_0.9.6%2Bdfsg.orig.tar.gz
wget https://launchpad.net/ubuntu/+archive/primary/+files/g2ipmsg_0.9.6%2Bdfsg-1.1.diff.gz
  • 现在安装一些先决条件和库
sudo apt-get install build-essential devscripts cdbs debhelper autotools-dev libgnomeui-dev libgstreamer0.10-dev libxml-parser-perl libssl-dev
  • 然后解压并修补源
 tar zxvf g2ipmsg_0.9.6+dfsg.orig.tar.gz
 gunzip g2ipmsg_0.9.6+dfsg-1.1.diff.gz
 patch -p0 < g2ipmsg_0.9.6+dfsg-1.1.diff
Run Code Online (Sandbox Code Playgroud)
  • 编译创建 deb 包
cd g2ipmsg-0.9.6+dfsg/
解构 -us -uc
  • 安装 deb 包
光盘..
须藤 dpkg -i g2ipmsg_0.9.6+dfsg-1.1_i386.deb

注意 - 如果您正在编译 64 位 - 那么包名将以amd64.deb 结尾


相关问题:

  1. 如何打开已经最小化到托盘的aMSN?