libidn: Downloading and Installing
1
1 1.7 Downloading and Installing
1 ==============================
1
1 The package can be downloaded from several places, including:
1
1 <ftp://alpha.gnu.org/pub/gnu/libidn/>
1
1 The latest version is stored in a file, e.g., ‘libidn-1.34.tar.gz’
1 where the ‘1.34’ value is the highest version number in the directory.
1
1 The package is then extracted, configured and built like many other
1 packages that use Autoconf. For detailed information on configuring and
1 building it, refer to the ‘INSTALL’ file that is part of the
1 distribution archive.
1
1 Here is an example terminal session that download, configure, build
1 and install the package. You will need a few basic tools, such as ‘sh’,
1 ‘make’ and ‘cc’.
1
1 $ wget -q ftp://alpha.gnu.org/pub/gnu/libidn/libidn-1.34.tar.gz
1 $ tar xfz libidn-1.34.tar.gz
1 $ cd libidn-1.34/
1 $ ./configure
1 ...
1 $ make
1 ...
1 $ make install
1 ...
1
1 After that Libidn should be properly installed and ready for use.
1
1 A few ‘configure’ options may be relevant, summarized in the table.
1
1 ‘--enable-java’
1 Build the Java port into a *.JAR file. ⇒Java API, for more
1 information.
1
1 ‘--disable-tld’
1 Disable the TLD module. This would typically only be useful if you
11 are building on a memory restricted platforms. ⇒TLD
Functions, for more information.
1
1 ‘--enable-csharp[=IMPL]’
1 Build the ‘C#’ port into a ‘*.DLL’ file. ⇒C# API, for more
1 information. Here, ‘IMPL’ is ‘pnet’ or ‘mono’, indicating whether
1 the PNET ‘cscc’ compiler or the Mono ‘mcs’ compiler should be used,
1 respectively.
1
1 ‘--disable-valgrind-tests’
1 Disable running the self-checks under Valgrind
1 (<http://valgrind.org/>). Normally Valgrind does not cause
1 problems and can detect some severe memory errors. If you are
1 getting errors from Valgrind that are caused by the compiler or
1 libc (possibly as a result of special optimization flags), you may
1 use this option to disable the use of Valgrind.
1
1 For the complete list, refer to the output from ‘configure --help’.
1
Menu