Next: , Previous: Commercial Support, Up: Introduction

1.7 Downloading and Installing

The package can be downloaded from several places, including:

The latest version is stored in a file, e.g., ‘libidn-1.27.tar.gz’ where the ‘1.27’ value is the highest version number in the directory.

The package is then extracted, configured and built like many other packages that use Autoconf. For detailed information on configuring and building it, refer to the INSTALL file that is part of the distribution archive.

Here is an example terminal session that download, configure, build and install the package. You will need a few basic tools, such as ‘sh’, ‘make’ and ‘cc’.

     $ wget -q
     $ tar xfz libidn-1.27.tar.gz
     $ cd libidn-1.27/
     $ ./configure
     $ make
     $ make install

After that Libidn should be properly installed and ready for use.

A few configure options may be relevant, summarized in the table.

Build the Java port into a *.JAR file. See Java API, for more information.
Disable the TLD module. This would typically only be useful if you are building on a memory restricted platforms. See TLD Functions, for more information.
Build the C# port into a *.DLL file. See C# API, for more information. Here, IMPL is pnet or mono, indicating whether the PNET cscc compiler or the Mono mcs compiler should be used, respectively.
Disable running the self-checks under Valgrind ( Normally Valgrind does not cause problems and can detect some severe memory errors. If you are getting errors from Valgrind that are caused by the compiler or libc (possibly as a result of special optimization flags), you may use this option to disable the use of Valgrind.

For the complete list, refer to the output from configure --help.