marxby
February 4th, 2005, 05:14 PM
This document (brief as it is) is intended to help the average joe install Meanwhile and the Gaim-Meanwhile plugin, which will allow you to connect to a Lotus Sametime server with Gaim. As there was not an appropriate package I tried installing it on my own, which was a wee bit of a headache, so I thought I better write it out.
I am running Hoary 5.04, without anything TOO odd installed...
1) Download meanwhile and gaim-meanwhile from the Meanwhile SourceForge site (http://meanwhile.sourceforge.net/download/)
2) Extract the archives to a temporary folder.
dave@DaveD:~ $ mkdir Packages
dave@DaveD:~ $ tar xzvf meanwhile-0.3.tar.gz Packages/
dave@DaveD:~ $ tar xzvf gaim-meanwhile-1.0.2.tar.gz Packages/
3) First, configure and compile Meanwhile. I use the prefix "/usr" because the Gaim plugins are installed in /usr/lib/gaim.
dave@DaveD:~ $ cd Packages/meanwhile-0.3
dave@DaveD:~ $ ./configure --prefix=/usr
dave@DaveD:~ $ make
At this point I ran into a little problem. Namely, this error:
In file included from session.c:10:
mw_debug.h:12:1: "g_debug" redefined
In file included from /usr/include/glib-2.0/glib.h:52,
from session.c:3:
/usr/include/glib-2.0/glib/gmessages.h:138:1: this is the location of the previous definition
make[1]: *** [libmeanwhile_la-session.lo] Error 1
Thanks to the nice gents over in the Gentoo forums (http://forums.gentoo.org), I discovered the fix was to modify the src/mw_debug.h file and change the lines
#define g_debug(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
#define g_info(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
to read
#ifndef g_debug
#define g_debug(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
#endif
#ifndef g_info
#define g_info(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
#endif
After changing these lines, I was able to rerun make without any issues.
4) Next, install Meanwhile.
dave@DaveD:~ $ make install
5) Now, we must compile and install Gaim-Meanwhile. First, enter that directory:
cd ~/Packages/gaim-meanwhile-1.0.2
6) Next, configure and compile Gaim-Meanwhile. Again, use the proper prefix.
dave@DaveD:~ $ ./configure --prefix=/usr
dave@DaveD:~ $ make
I ran into a number of issues with missing libraries, all of which I was able to find and install through Synaptic.
7) Now, install the plugin.
dave@DaveD:~ $ sudo make install
8) Before you get excited and fire up Gaim, I found that I had to run ldconfig before Gaim properly recognized my plugin.
dave@DaveD:~ $ sudo ldconfig
That's it! Fire up Gaim and give it a whirl. If you still find that the plugin isn't loading, run Gaim in debug mode to see if it gives any errors about the plugin:
dave@DaveD:~ $ gaim -dn
You are looking for a line similar to this:
plugins: probing /usr/lib/gaim/libmwgaim.la
plugins: probing /usr/lib/gaim/libmwgaim.so
Enjoy...
I am running Hoary 5.04, without anything TOO odd installed...
1) Download meanwhile and gaim-meanwhile from the Meanwhile SourceForge site (http://meanwhile.sourceforge.net/download/)
2) Extract the archives to a temporary folder.
dave@DaveD:~ $ mkdir Packages
dave@DaveD:~ $ tar xzvf meanwhile-0.3.tar.gz Packages/
dave@DaveD:~ $ tar xzvf gaim-meanwhile-1.0.2.tar.gz Packages/
3) First, configure and compile Meanwhile. I use the prefix "/usr" because the Gaim plugins are installed in /usr/lib/gaim.
dave@DaveD:~ $ cd Packages/meanwhile-0.3
dave@DaveD:~ $ ./configure --prefix=/usr
dave@DaveD:~ $ make
At this point I ran into a little problem. Namely, this error:
In file included from session.c:10:
mw_debug.h:12:1: "g_debug" redefined
In file included from /usr/include/glib-2.0/glib.h:52,
from session.c:3:
/usr/include/glib-2.0/glib/gmessages.h:138:1: this is the location of the previous definition
make[1]: *** [libmeanwhile_la-session.lo] Error 1
Thanks to the nice gents over in the Gentoo forums (http://forums.gentoo.org), I discovered the fix was to modify the src/mw_debug.h file and change the lines
#define g_debug(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
#define g_info(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
to read
#ifndef g_debug
#define g_debug(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
#endif
#ifndef g_info
#define g_info(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
#endif
After changing these lines, I was able to rerun make without any issues.
4) Next, install Meanwhile.
dave@DaveD:~ $ make install
5) Now, we must compile and install Gaim-Meanwhile. First, enter that directory:
cd ~/Packages/gaim-meanwhile-1.0.2
6) Next, configure and compile Gaim-Meanwhile. Again, use the proper prefix.
dave@DaveD:~ $ ./configure --prefix=/usr
dave@DaveD:~ $ make
I ran into a number of issues with missing libraries, all of which I was able to find and install through Synaptic.
7) Now, install the plugin.
dave@DaveD:~ $ sudo make install
8) Before you get excited and fire up Gaim, I found that I had to run ldconfig before Gaim properly recognized my plugin.
dave@DaveD:~ $ sudo ldconfig
That's it! Fire up Gaim and give it a whirl. If you still find that the plugin isn't loading, run Gaim in debug mode to see if it gives any errors about the plugin:
dave@DaveD:~ $ gaim -dn
You are looking for a line similar to this:
plugins: probing /usr/lib/gaim/libmwgaim.la
plugins: probing /usr/lib/gaim/libmwgaim.so
Enjoy...