Mcabber WikiMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

Building mcabber from Mercurial

From Mcabber Wiki

A short explanation on how to use Mercurial to keep up-to-date with the latest development version of mcabber. More info on Mercurial can be found on http://www.selenic.com/mercurial/wiki/.

Contents

Download

First, clone the Mercurial reporitory:

% hg clone http://www.lilotux.net/~mikael/mcabber/hg/ mcabber-hg

Prepare

Go into the mcabber directory, and build the configure script (you will need the autotools software installed):

% cd mcabber-hg/mcabber
% ./autogen.sh

Note: If you have the following error: "warning: macro `XXX' not found in library" then you may need to copy the corresponding m4 files from macros/missing/ to macros/ or install the appropriate system packages. For example, if you get this error:

aclocal:configure.ac:139: warning: macro `AM_PATH_LIBGCRYPT' not found in library

You might need to install the libgcrypt-devel package (or your system's equivalent).

Now you can use the configure script, as usual. You can use --enable-hgcset to add the Mercurial changeset to mcabber's version string.

% ./configure --enable-hgcset

If you want to install in your own home-directory instead of system-wide, append --prefix=$HOME:

% ./configure --enable-hgcset --prefix=$HOME

Compile

To compile the source code, run:

% make

And to install it (you will probably need to be root to do this if you are doing a system-wide installation):

% make install

Update

If you want to update mcabber source code later, just pull from the repository, update and compile again:

% hg pull -u
% make
% make install

Retrieved from "http://wiki.mcabber.com/index.php/Building_mcabber_from_Mercurial"

This page has been accessed 1,109 times. This page was last modified 18:55, 8 December 2007.


Find
Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
Bug reports
More...