1f982db4aSGavin AtkinsonINSTALLATION INTRODUCTION 2f982db4aSGavin Atkinson------------------------- 3f982db4aSGavin Atkinson 4*cc361f65SGavin AtkinsonThis file describes how to compile and install tnftp on your system. 5f982db4aSGavin Atkinson 6f982db4aSGavin Atkinson ============================================ 7f982db4aSGavin Atkinson = = 8f982db4aSGavin Atkinson = NOTE: You will need an ANSI C compiler. = 9f982db4aSGavin Atkinson = = 10f982db4aSGavin Atkinson ============================================ 11f982db4aSGavin Atkinson 12f982db4aSGavin Atkinson 13*cc361f65SGavin AtkinsonFor most systems, execute the following to compile and install tnftp: 14f982db4aSGavin Atkinson ./configure 15f982db4aSGavin Atkinson make 16f982db4aSGavin Atkinson make install 17f982db4aSGavin Atkinson 18*cc361f65SGavin AtkinsonA preformatted manual page (src/ftp.cat1) is also installed. 19*cc361f65SGavin AtkinsonIf you wish to install the source (src/ftp.1), ensure that your system 20*cc361f65SGavin Atkinsonhas up-to-date mandoc macros, such as those that are shipped with groff. 21f982db4aSGavin Atkinson 22f982db4aSGavin Atkinson 23f982db4aSGavin AtkinsonCONFIGURATION OPTIONS 24f982db4aSGavin Atkinson--------------------- 25f982db4aSGavin Atkinson 26*cc361f65SGavin Atkinsontnftp is configured using an `autoconf' generated `configure' 27f982db4aSGavin Atkinsonscript. `configure' supports the following options: 28f982db4aSGavin Atkinson 29f982db4aSGavin Atkinson* The standard `autoconf configure' options, including: 30f982db4aSGavin Atkinson --prefix=PREFIX install architecture-independent files in PREFIX 31f982db4aSGavin Atkinson [/usr/local] 32f982db4aSGavin Atkinson --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 33f982db4aSGavin Atkinson [same as prefix] 34f982db4aSGavin Atkinson --srcdir=DIR find the sources in DIR [configure dir or ..] 35f982db4aSGavin Atkinson BSD or GNU make may be required for this to work. 36f982db4aSGavin Atkinson 37f982db4aSGavin Atkinson* Specific options: 38f982db4aSGavin Atkinson --enable-editcomplete Turn on command line editing and completion. 39*cc361f65SGavin Atkinson (default: enabled) 40*cc361f65SGavin Atkinson --enable-ipv6 Enable IPv6 support (if your OS supports it). 41*cc361f65SGavin Atkinson (default: enabled) 42*cc361f65SGavin Atkinson --disable-largefile omit support for large files 43*cc361f65SGavin Atkinson --with-socks enable support for (Dante) SOCKS5 proxy 44f982db4aSGavin Atkinson 45f982db4aSGavin AtkinsonThe following environment variables can be set to override various 46f982db4aSGavin Atkinsoncompiler related settings. 47f982db4aSGavin Atkinson CC=compiler specify name of the C compiler (default: gcc or cc) 48f982db4aSGavin Atkinson CFLAGS=flags specify flags to C compiler (default: -O -g or just -O) 49f982db4aSGavin Atkinson LDFLAGS=flags specify flags to linker (default: none) 50f982db4aSGavin Atkinson 51f982db4aSGavin AtkinsonThis can be achieved with: 52f982db4aSGavin Atkinson env CC="compiler" CFLAGS="flags" LDFLAGS="flags" ./configure 53f982db4aSGavin Atkinson 54f982db4aSGavin Atkinson 55f982db4aSGavin Atkinson ============================================ 56f982db4aSGavin Atkinson = = 57f982db4aSGavin Atkinson = NOTE: You will need an ANSI C compiler. = 58f982db4aSGavin Atkinson = = 59f982db4aSGavin Atkinson ============================================ 60f982db4aSGavin Atkinson 61