X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=INSTALL;h=a6c12c0799ed300ab3ffda11b0aa68bcd350d49a;hp=41f338845e41ca71bcd81899d2de8ae6242e45bd;hb=HEAD;hpb=fb8dbc2d9cd7ff5d197654f873ac18aa6ef9c5e3 diff --git a/INSTALL b/INSTALL index 41f33884..a6c12c07 100644 --- a/INSTALL +++ b/INSTALL @@ -1,16 +1,73 @@ Quick Installation ================== -To configure and compile SILC package give the comands: + To configure and compile SILC package give the commands: ./configure - make + make (or gmake) make install -This will install the SILC binaries and configuration files into the + This will install the SILC binaries and configuration files into the /usr/local/silc/ directory. System wide configuration files are installed into the /etc/silc/ directory. +You may need to add the /usr/local/silc path to your PATH environment +variable after the installation. + +Configuration Options +===================== + + You can give various options to the `configure' shell script. You should +give --help command to the `configure' to see all of them. Here is listed +few options that you might want to use. Please refer to the rest of this +file for more generic installation instructions. + +`--with-gmp[=DIR]' + + If you wish to use GMP library for arbitrary precision arithmetic +library instead of using the MPI library included in the package, you can +give the --with-gmp[=DIR] option to the `configure'. The DIR is the upper +path in your system which contains lib/ and include/ for GMP library. + Note that MPI is the prefered arbitrary precision arithmetic library and +GMP can be used as a fall-back if you have problems with the MPI library +included within this package. + +`--with-iconv[=DIR]' + + If your system doesn't provide iconv() function in its native libraries +(usually libc) or if this function is broken (e.g. older Solaris systems), +you may want to use libiconv instead. The DIR is the upper path in your +system which contains lib/ and include/ for libiconv (e.g. /usr/local). + +`--without-pthreads' + + If you do not want to compile the programs with POSIX multi-threads +support you can give --without-pthreads option. In this case all compiled +programs will work in single thread only. + +`--disable-asm' + + If you have trouble compiling the assembler optimized code in the +package or does not want to use them, you can give the --disable-asm +option to the `configure' script. This will assure that assembler +optimized code is not compiled in. + +`--enabled-shared' + + If you wish to compile and install shared libraries then enable this +option. By default all libraries are compiled as static libraries. + +`--enable-debug' + + If you would like to enable the debugging for the compiled programs +you can give this option to the `configure'. + +`--enable-ipv6' + + The `configure' will attempt to check for IPv6 support in your system. +However, if it fails, but you still want to compile in the IPv6 support +you can give --enable-ipv6 option to force the IPv6 support. + Basic Installation ==================