Back

Up

Next

A.5. Installing Libidn for Jabberd 2

Libidn provides necessary string manipulation functionality for Jabberd 2. Prior to Jabberd 2 stable 3, libidn was included with the Jabberd 2 distribution; however, a licensing conflict makes it necessary that libidn be installed separately.

A.5.1. Download Libidn Installation Files

Download the file libidn-0.n.n.tar.gz from the GNU Libidn Page page, where "n.n" is the latest version of Libidn. At the time of writing, Libidn libidn-0.5.0 is the most current version, and is used in the examples below.

A.5.2. Extract Libidn Files

Change to the directory where you downloaded the file above and then extract the Libidn files by running the command:

      tar -zxvf libidn-0.5.0.tar.gz

A.5.3. Build Libidn

Change to the libidn-0.5.0 directory just created:

      cd libidn-0.5.0

Configure Libidn for your system. The --prefix=/usr option will cause the libraries to be installed under /usr/lib, making them easier for other applications to find:

      ./configure --prefix=/usr

Build Libidn on your system:

      make

A.5.4. Install Libidn

Switch to the super-user:

      su

Install Libidn on your system:

      make install

Libidn installation is now complete — unless the make install output shows errors. If you receive errors, refer to documentation on the Libidn site.

Back

Up

Next

© 2003 Will Kamishlian and Robert Norris
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
  Valid HTML 4.01! Valid CSS! Creative Commons License