I've recently downloaded g2ipmsg (IP Messenger for Ubuntu 11.10). However - this comes not as an installable package as previous ubuntu versions.
Thus I think I need to compile it. This application needs gtk so I've installed libgtk2.0-dev
using Synaptic Package Manager.
Now when I run ./configure
command it gives me the following error.
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.
Where can I find the path for PKG_CONFIG_PATH?
This is what I have done so far:
I've installed libxml-parser-perl, libgnomeui-dev, gettext, intltool according to the post Installing IP messenger on Ubuntu linux but could not find the package libpanel-applet2-dev.
Then I even tried to install libpanelappletmm-2.6-dev and libpanelappletmm-2.6-1c2 but could not find this packages
but still get the same error
configure: error: Package requirements (libpanelapplet-2.0) were not met
There are lot of problems with g2ipmsg in ubuntu, specially there are lot of problems during file transfer.
Instead of installing Ip messanger using wine or g2ipmsg use Iptux.
Its perfectly compatible with Ip Messanger.
Installing Iptux
sudo apt-get install iptux
When you see an error message like that from
pkg-config
("No package 'foo' found"), that means that the filefoo.pc
cannot be found bypkg-config
. The usual reason for this is that you don't have the package which provides this file installed, so you should search either usingapt-file
or on packages.ubuntu.com for it. In this specific case however, you'll get no results because the old GNOME 2 panel applets have all been removed.If you pass
--disable-applet
to./configure
, you should be able to get past this step.The package
g2ipmsg
is available in the repositories - v0.9.6 for all versions of ubuntu except for oneiric. Thus to install in versions prior to oneiric or for 12.04 and above:g2ipmsg
However its not available in Oneiric (11.10) because it doesnt compile under oneiric due to the changes to Gnome-Panel and the dependency on the gnome-2 applet libraries.
You could compile and install to produce this result in gnome-classic (no-effects)
Note - when the application starts - it starts minimised to the gnome-panel. For some reason, in Unity, this application does not appear - probably the minimised application is not directly visible in the Unity panel.
To get the application to work under Unity you need to enable the old sys-tray:
Then logout and login before searching for g2ipmsg in Dash
I've compiled and added this to my PPA. If you wish to compile this yourself, then instructions are below.
Install from PPA
to run g2ipmsg
how to compile
Note - if you are compiling 64bit - then the package name will end in amd64.deb
Linked Question:
A basic method for going through the dependencies of a piece of software you are trying to build from the source is as follows:
Try to compile the code until it complains, then look at the error message and try to figure out what the missing package may be called
Use the command
apt-cache search <string>
to help you locate the packages you need - the shorter the<string>
, the better chances of finding matching package names/descriptionsThe packages you need to install are almost always named
lib...-dev
in Ubuntu/Debian; install the relevant package listed byapt-cache
usingsudo apt-get install <package-name>
and go back to step 1So for instance, if you're looking for the "libpanelapplet" package, running
apt-cache search libpanel
will return:of which
libpanel-applet-4-dev
should contain the development headers you are looking for. (Note: the above output is on Precise, the version in Oneiric might have a different name.)You can install iptux. it links with the windows system ipmsg and add those list also