I wanted to compile gaim on my brand new macBook, however fink unstable only supplies a version 1.5 of GAIM.
Gaim is a multi-protocol instant messaging (IM) client for Linux, BSD, MacOS X, and Windows. It is compatible with AIM and ICQ (Oscar protocol), MSN Messenger, Yahoo!, IRC, Jabber, Gadu-Gadu, SILC, Novell GroupWise Messenger, Lotus Sametime, and Zephyr networks.
I already had a running version of GAIM 1.5 running, this means that X11 is running and libraries are installed. I can advice you this if you don't have much experiances with compiling programs, libraries etc.
Get a copy of the source of GAIM and extract it into a directory, I use ~/source/gaim-2.0.0beta3
To compile it add this to your .profile according to the fink manual:
export CFLAGS=-I/sw/includeLDFLAGS="-L/sw/lib
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CXXFLAGS
export ACLOCAL_FLAGS="-I /sw/share/aclocal
export PKG_CONFIG_PATH="/sw/lib/pkgconfig
note: If you did this from the shell restart your shell to make sure the FLAGS get's active.
Then create file CONFIGURE_GAIM file in the GAIM source directory with the following content:
export LDFLAGS="-L/sw/lib -bind_at_load -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,IOKit"
./configure \
--prefix=/sw \
--with-dbus-services=/sw/bin \
--disable-perl \
--mandir=/sw/share/man \
--disable-dependency-tracking \
--enable-gnutls=yes \
--enable-nss=no
Run ./CONFIGURE_GAIM
The output should read something like this:
gaim 2.0.0beta3
Build Protocol Plugins........ : yes
Protocols to link statically.. :
Protocols to build dynamically : irc jabber msn novell oscar simple yahoo zephyr
UI Library.................... : GTK+ 2.x
SSL Library/Libraries......... : GNUTLS
Build with Plugin support..... : yes Build with Mono support....... : no
Build with Perl support....... : no
Build with Tcl support........ : yes
Build with Tk support......... : yes
Build with Audio support...... : yes
Build with GtkSpell support... : yes
Build with DBUS support....... : no
Build with Cyrus SASL support. : no
Has you....................... : yes
Use kerberos 4 with zephyr.... : no
Use external libzephyr........ : no
Use XScreenSaver Extension.... : yes
Use X Session Management...... : yes
Use startup notification.......: yes
Print debugging messages...... : no
Gaim will be installed in /sw/bin.
Warning: You have an old copy of gaim at /sw/bin/gaim.
configure complete, now type 'make'
After this is succesfull, and also check if you have your NSS libraries installed, otherwise MSN doesn't work. Now type 'make' on the command line in the GAIM source directory, compilation should start and be successfull. When successfull enter 'sudo make install' After that you should have a version of GAIM 2.0.0 BETA 3 running! Remember GAIM needs libraries to work like X11, NSS etc... I had installed some of these, and some of where already installed when I was trying fink's version of GAIM version 1.5. So you might need to install libraries yourself, however during configuration the system will complain about it automaticly. For the fink project you can check here: fink.sourceforge.net good luck, Ries van Twisk www.rvantwisk.nl