Next: , Previous: Commercial Support, Up: Introduction


1.7 Downloading and Installing

The package can be downloaded from several places, including:

http://josefsson.org/libidn/releases/

The latest version is stored in a file, e.g., `gsasl-0.6.7.tar.gz' where the `0.6.7' 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 http://josefsson.org/libidn/releases/libidn-0.6.7.tar.gz
     $ tar xfz libidn-0.6.7.tar.gz
     $ cd libidn-0.6.7/
     $ ./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.

--enable-java
Build the Java port into a *.JAR file. See Java API, for more information.
--disable-tld
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.
--enable-csharp[=IMPL]
Build the C3 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.

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