HOWTO compile pidgin with spelling (gtkspell) support on OpenSolaris
I assume you already know howto install gcc
You'll need some additional tools to compile pidgin
1) pkg install SUNWgnu-gettext
2) pkg install SUNWperl-xml-parser
3) pkg install SUNWgnome-common-devel
4) pkg install SUNWxorg-headers
5) Sorry this was has been approved by Sun ARC team (thanks guys) but not integrated yet.. Don't hold your breath for a speedy entry.. So meanwhile. here's the quick-n-dirty from source approach to getting gtkspell (you want spell checking right?)
from a terminal where you normally compile all your favorite code
wget http://gtkspell.sourceforge.net/download/gtkspell-2.0.14.tar.gz
tar xvfz gtkspell-2.0.14.tar.gz
cd gtkspell-2.0.14
./configure --prefix=/usr --disable-gtk-doc
make
pfexec make install
Readers Note: you could also pass --disable-gtkspell to the pidgin configure script, but it's up to you..
6) I personally don't care about meanwhile support so add --disable-meanwhile --disable-nm to your pidgin config.. the --disable-nm is for NetworkManager which isn't (thankfully) included with OpenSolaris
7) If you don't want this nasty little compile error [1] which I may if have time confirm has a bug report.. otherwise.. --disable-perl and forget
8) For those who are obsessed (like me) with having sane one-handed tab navigation here's my alt+1 alt+2 "fix" patch Feel free to steal and try pidgin-2.5.0$ patch -p0 < ../codestrom-rekeymappings.diff at your own risk
Finally try your configure script
# ./configure --prefix=/usr --disable-meanwhile --disable-nm --disable-perl
Some additional notes that I'll write about later, but for the overly curious..
#1 pkg info SUNWxwinc should give me the metadata info about the package and tell me it's not installed
#2 Missing some file and have no idea which package it's in ?
# pkg search -r x11.pc
#3 Not sure if you even have that file on your sytem.. take a look at my slocate script/hack 'solution'
# Solaris employee Note: Don't disable QQ.. it's the most popular protocol in China..
[1]
perl-common.c: In function `create_sv_ptr':
perl-common.c:46: warning: cast from pointer to integer of different size
perl-common.c: In function `purple_perl_ref_object':
perl-common.c:129: warning: cast to pointer from integer of different size
perl-common.c: In function `execute_perl':
perl-common.c:187: warning: dereferencing type-punned pointer will break strict-aliasing rules
perl-common.c: In function `purple_perl_data_from_sv':
perl-common.c:385: warning: cast to pointer from integer of different size
perl-common.c:386: warning: cast to pointer from integer of different size
perl-common.c:387: warning: cast to pointer from integer of different size
perl-common.c:388: warning: cast to pointer from integer of different size
perl-common.c:389: warning: cast to pointer from integer of different size
perl-common.c:390: warning: cast to pointer from integer of different size
perl-common.c:391: warning: cast to pointer from integer of different size
perl-common.c:393: warning: cast to pointer from integer of different size
perl-common.c:394: warning: cast to pointer from integer of different size
perl-common.c: In function `purple_perl_sv_from_vargs':
perl-common.c:526: warning: cast from pointer to integer of different size
perl-common.c:602: warning: cast from pointer to integer of different size