Installation guide

Installation from source

First make sure you fullfill the LicqRequirements. Then download the version you're interested in from LicqDownload, unpack the tarball and change into the new directory.

tar jxf licq-<version>.tar.bz2
cd licq-<version>

Then follow the instructions for "Installation using the latest SVN" below, starting at

./configure --prefix=/path/where/to/install

Installation using the latest SVN

If you want to be up to date and use the bleeding edge version of Licq, you might want to check out the current subversion source. For this to work you need subversion, a recent gcc/g++ installation, automake, autoconf and basic development headers for the libc, stdlibc++, X11 and qt (see LicqRequirements). Then just type:

svn co http://svn.licq.org/svn/trunk/licq licq

Then go into the licq directory and type:

make -f Makefile.cvs

If you receive an error like this:

*** Building Makefile templates (step one)
Makefile.am:5: AM_GNU_GETTEXT in `configure.in' but `intl' not in SUBDIRS
automake: Makefile.am: AM_GNU_GETTEXT in `configure.in' but `ALL_LINGUAS' not
defined

check, whether you have installed any old versions of automake. Remove them, and you'll be able to build the makefile. Now continue:

./configure --prefix=/path/where/to/install
make && make install

Then change into plugins/qt-gui or some other GUI plugin directory and repeat the above commands:

cd plugins/qt-gui
make -f Makefile.cvs
./configure --prefix=/path/where/to/install
make && make install

If you want kde-support, append '--with-kde' to the configure line above. You need the KDE header files for this, obviously.

This is only the quickstart. To enable SSL and/or GPG, you have to have OpenSSL or gpgme installed.

Common errors when compiling from source

Remember to also build a GUI plugin, like the qt-gui. Otherwise licq won't start.

If you see errors like

In file included from ewidgets.cpp:1447:
ewidgets.moc: In member function `virtual bool CLicqMessageBox::qt_invoke(int, QUObject*)':
ewidgets.moc:597: error: `slot_clickOk' undeclared (first use this function)
ewidgets.moc:597: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[2]: *** [ewidgets.lo] Error 1

it might very well be, that you have to do a "make clean" before running "make". This cleans up the moc files generated by Qt.

Also remember to run "make -f Makefile.cvs" and "configure" once in a while, because they are also being changed during the development process.