roundkat,

the good news is that pidgin builds with (nearly) no modifications on recent 
builds of opensolaris. after seeing your email and this post, i've sent you 
some easy-to-follow instructions. i'm also posting this on desktop-discuss 
since this might be something others want as well.

opensolaris is a terrific off-the-shelf desktop and server environment, but for 
those of us at fairly large enterprises, sametime access can be a must-have. 
luckily pidgin -- the default opensolaris IM client -- supports sametime quite 
nicely. unluckily sun never enabled it in their builds. :( so we'll have to 
rebuild it from source. here are some step-by-step instructions to get you 
going -- it really is terribly easy.

1. in order to enable sametime support within pidgin, we need to build two 
things: the open-source meanwhile library and pidgin itself.

2. but before we do any of this, we'll need to install some dependencies first. 
luckily sun provides just about everything you'll need. you will probably need 
the following packages:

   gcc-dev
   SUNWgnome-common-devel
   SUNWxorg-headers
   SUNWlibgc
   SUNWGlib
   SUNWgtk2
   SUNWpango
   SUNWsqlite3
   SUNWlibgcrypt
   SUNWgnu-gettext
   SUNWprd
   SUNWgnutls
   SUNWlxml
   SUNWgtkspell (if you want spell-checking support)
   SUNWzlib

3. you can either install them via the package manager or through the command 
line, like this:

   pfexec pkg install gcc-dev

4. once those are installed, download the source code for the meanwhile library:

   
http://sourceforge.net/projects/meanwhile/files/meanwhile/1.0.2/meanwhile-1.0.2.tar.gz/download

5. open a terminal session and go to the directory where your source was 
downloaded. gunzip/untar the archive and cd into the meanwhile directory:

   gunzip meanwhile-1.0.2.tar.gz;tar xvf meanwhile-1.0.2.tar
   cd meanwhile-1.0.2

6. next we'll build the meanwhile library. you'll want to choose in advance 
where you want the library to be installed. the most obvious place is /usr/lib, 
but you can change this to your liking via the GNU configure script. to build 
as i do....

   ./configure --prefix=/usr --disable-doxygen --disable-mailme
   gmake
   pfexec gmake install

7. after quite a lot of compiler and ginstall output, you should be done. if 
you're really paranoid, you can look in your /usr/lib now; you should see 
something like this:

   -rwxr-xr-x 1 eldee staff 572,158 2009-11-23 11:26 /usr/lib/libmeanwhile.a
   -rwxr-xr-x 1 eldee staff     836 2009-11-23 11:26 /usr/lib/libmeanwhile.la
   -rwxr-xr-x 1 eldee staff 431,372 2009-11-23 11:26 /usr/lib/libmeanwhile.so
   -rwxr-xr-x 1 eldee staff 431,372 2009-11-23 11:26 /usr/lib/libmeanwhile.so.1
   -rwxr-xr-x 1 eldee staff 431,372 2009-11-23 11:26 
/usr/lib/libmeanwhile.so.1.0.2

8. next we'll need to grab the pidgin source from pidgin.im. you can do all of 
this from the command-line. 'cd' to where you downloaded the meanwhile archive 
earlier and type:

   wget http://sourceforge.net/projects/pidgin/files/Pidgin/pidgin-2.6.4.tar.bz2
   bunzip2 -c pidgin-2.6.4.tar.bz2 | tar xv
   cd pidgin-2.6.4

9. now, pidgin has a ton of build options, including scripting support for 
perl, tcl, etc., as well as video support and protocols you've probably never 
heard of before. the configure options i use below turn off just about 
everything i can get away with since pidgin takes quite a while to build. you 
may or may not want that. to find out what options are available, just type 
'configure --help' without the quotes. but here is how i build it, again, 
mostly just to save compile time:

   ./configure --prefix=/usr --disable-nls --disable-sm 
--disable-startup-notification --disable-gtkspell --disable-screensaver 
--disable-farsight --disable-vv --disable-idn --disable-fortify --disable-perl 
--disable-tcl --disable-doxygen --disable-nm
   gmake
   pfexec gmake install

10. assuming all the dependencies were installed in step #2, pidgin should have 
compiled and installed cleanly. now do keep in mind that since we set the 
prefix to /usr, it will overwrite the opensolaris-installed pidgin 
(SUNWgnome-im-client) files. you can set the prefix to something else, 
uninstall SUNWgnome-im-client first, or just 'live with it.' have fun!

p.s.: for folks working within IBM-proper, you may have some problems with the 
default accounts.xml created during initial setup because of the way IBM's 
internal sametime servers work. if so, ping me directly and i can help out. big 
blue/lotus offers sametime clients for windows, mac os, and linux. one of these 
days we'll convince them to port a native client to opensolaris. ;) it's not as 
hard as you might think; it's based on the eclipse platform and java, so other 
environments wouldn't be terribly difficult to support if there was a demand 
for it.

-- eldee
(t/l 295-8943)
-- 
This message posted from opensolaris.org

Reply via email to