building MCabber on OS X

Just wanted to jot down some notes on what I had to do to get the XMPP console client MCabber to build from source on my MacBook Pro:

Note: If you run into any configure or make issues you may need to install some of the from-source tools I had already in place from my work to get Mozilla Firefox to build from source. I’ve covered that in detail on my Mozilla wiki page.

I used the current source tarball from the MCabber site - make sure you get the MCabber source tarball and also the Loudmouth library tarball.

Extract both into your favourite working/source tree setup

tar xf loudmouth-1.4.3+gitb5a9de5b.20100413.tar.bz2
tar xf mcabber-0.10.0.tar.bz2

Build the Loudmouth library. Note: I put all of my source installed libs into /opt that way I can set LDFLAGS and CPPFLAGS to point to anything non-OSX that i’ve installed.

cd loudmouth-1.4.3+gitb5a9de5b
./configure --prefix=/opt LDFLAGS="-L/opt/lib" CPPFLAGS="-I/opt/include" --with-ssl=openssl
make
sudo make install

Switch over to the MCabber directory and build it

cd mcabber-0.10.0
./configure --prefix=/Users/bear
make
make install

and that’s it - you now have a console XMPP Client!


Mentions