Ok. Here goes. I am a returning linux user, and although I am still quite newbie at this, I've managed to bypass the problems people here are mentioning when they are trying to compile gtk, nicotine, or other related software on their linux box(es). After an hour of trying various stuff, I managed to get the app to work, so here are some tips that could help you if you have experienced similar problems.
download the following stuff:
atk-1.6.0
glib-2.4.0
gtk+-2.4.0.
pango-1.4.0
psyco-1.2
pygtk-2.0.0
and of course, latest nicotine source file
I did the following under 'root', so if it doesnt work for you under a normal account, try doing this with your su acc.
Steps:
compile glib-2.4.0
% gzip -cd glib-2.4.0.tar.gz | tar xvf - # unpack the sources
% cd glib-2.4.0 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build GLIB
[ Become root if necessary ]
% rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h
% make install
compile atk-1.6.0
compile pango1.4.0
you might start experiencing problems here, like the following:
checking for GLIB - version >= 2.4.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error:
*** Glib 2.4.0 or better is required. The latest version of
this is due to the fact that the pkgconfig looks for the file glib-2.0.pc in either /usr/lib/pkgconfig dir *OR* /usr/lib/pkgconfig dir. So check where you have that file and check what is in it. You should see headers in there, that tell you what version it is, and just simply select the one with the newer version in it(if both are same, thats ok). Now, most likely, you will only have one .pc file in /usr/lib/pkgconfig (after compiling glib succesfully without --prefix=<dir>). Make sure that the following lines are in the file ~/.profile
export LDFLAGS="-L/usr/local/lib"
export LD_LIBRARY_PATH=/usr/local/lib
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
logout,login
Ok. Now make sure you got a copy of that above-mentioned .pc file in /usr/local/lib/pkgconfig *AND* in /usr/lib/pkgconfig
Now you should be able to compile gtk+-2.4.0. If the compiling still misbehaves, make a copy of atk.pc (found in /usr/lib/pkgconfig) and put it into /usr/local/lib/pkgconfig (cp /usr/lib/pkgconfig/atk.pc /usr/local/pkgconfig)
---Nicotine users read on---
OK. Now you should have gtk, glib and atk compiled on your box. Nicotine also requires pango-1.4.0 to be installed. Same procedure as above. You also need psyco-1.2 and pygtk-2.0.0
I had no problems compiling psyco, but i did encounter a problem when trying to compile pygtk. To bypass it, use ./configure --prefix=/usr
That should compile it succesfully. Now you can compile Nicotine using python and it works! Well, it did for me. If you encounter any problems regarding this, please email me and I will try to help you or advise you what to do.
p.s.: i did all this on Slackware 9.1 dist.