179968SobrienINSTALLATION INTRODUCTION 279968Sobrien------------------------- 379968Sobrien 479968SobrienThis file describes how to compile and install lukemftpd on your 579968Sobriensystem. 679968Sobrien 779968Sobrien ============================================ 879968Sobrien = = 979968Sobrien = NOTE: You will need an ANSI C compiler. = 1079968Sobrien = = 1179968Sobrien ============================================ 1279968Sobrien 1379968Sobrien 1479968SobrienFor most systems, execute the following to compile and install 1579968Sobrienlukemftpd: 1679968Sobrien ./configure 1779968Sobrien make 1879968Sobrien make install 1979968Sobrien 2079968SobrienPreformatted manual pages for ftpd(8), ftpd.conf(5), and ftpusers(5) are 2179968Sobrienalso installed. If you wish to install the sources, ensure that your system 2279968Sobrienhas up-to-date mandoc macros. groff ships with this macro suite, 2379968Sobrienbut it has bugs. Try: 2479968Sobrien ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/tmac/ 2579968Sobrienfor a more recent version. 2679968Sobrien 2779968Sobrien 2879968SobrienCONFIGURATION OPTIONS 2979968Sobrien--------------------- 3079968Sobrien 3179968Sobrienlukemftpd is configured using an `autoconf' generated `configure' 3279968Sobrienscript. `configure' supports the following options: 3379968Sobrien 3479968Sobrien* The standard `autoconf configure' options, including: 3579968Sobrien --prefix=PREFIX install architecture-independent files in PREFIX 3679968Sobrien [/usr/local] 3779968Sobrien --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 3879968Sobrien [same as prefix] 3979968Sobrien --srcdir=DIR find the sources in DIR [configure dir or ..] 4079968Sobrien BSD or GNU make may be required for this to work. 4179968Sobrien 4279968Sobrien* Specific options: 4392282Sobrien 4492282Sobrien --enable-ipv6 Enable IPv6 support (if your OS supports it). 4592282Sobrien --disable-ipv6 Disable IPv6 support (even if your OS supports it). 4692282Sobrien [default: enabled] 4792282Sobrien --enable-builtinls Enable built-in /bin/ls. [default: enabled] 4892282Sobrien --disable-builtinls Disable built-in /bin/ls. 4979968Sobrien --with-socks Compile with SOCKS firewall traversal support. 5079968Sobrien --with-socks5[=PATH] Compile with SOCKS5 firewall traversal support. 5179968Sobrien --with-socks4[=PATH] Compile with SOCKS4 firewall traversal support. 5279968Sobrien --with-skey Compile with S/Key authentication support. 5379968Sobrien 5479968SobrienThe following environment variables can be set to override various 5579968Sobriencompiler related settings. 5679968Sobrien CC=compiler specify name of the C compiler (default: gcc or cc) 5779968Sobrien CFLAGS=flags specify flags to C compiler (default: -O -g or just -O) 5879968Sobrien LDFLAGS=flags specify flags to linker (default: none) 5979968Sobrien 6079968SobrienThis can be achieved with: 6179968Sobrien env CC="compiler" CFLAGS="flags" LDFLAGS="flags" ./configure 6279968Sobrien 6379968Sobrien 6479968Sobrien ============================================ 6579968Sobrien = = 6679968Sobrien = NOTE: You will need an ANSI C compiler. = 6779968Sobrien = = 6879968Sobrien ============================================ 6979968Sobrien 7079968Sobrien 7179968SobrienPLATFORM SPECIFIC NOTES 7279968Sobrien----------------------- 7379968Sobrien 7479968SobrienThe following platforms & compilers have been tested: 7579968Sobrien 7679968Sobrien- Irix 6.5 7779968Sobrien - Compiler: /usr/local/bin/gcc 7879968Sobrien version: egcs-1.1.2 7979968Sobrien 8079968Sobrien Configure with: 8179968Sobrien ./configure --disable-builtinls 8279968Sobrien as the in-built ls code doesn't appear to work due to 8379968Sobrien problems in the fts routines. 8479968Sobrien 8579968Sobrien- Linux 2.4 kernel with glibc prior to 2.2 8679968Sobrien Configure with: 8779968Sobrien ./configure --disable-ipv6 8879968Sobrien as glibc before 2.2 doesn't correctly support sin6_scope_id. 8979968Sobrien 9079968Sobrien- NetBSD 1.5 (i386) 9179968Sobrien - Compiler: /usr/bin/cc 9279968Sobrien version: egcs-1.1.2 9379968Sobrien 9479968Sobrien- Solaris 2.6 (sparc) 9579968Sobrien - Compiler: /opt/SUNWspro/bin/cc 9679968Sobrien version: WorkShop Compilers 5.0 9779968Sobrien 9879968Sobrien- Tru64 5.0 9979968Sobrien - Compiler: /bin/cc 10079968Sobrien version: Compaq C V6.1-011 on Digital UNIX V5.0 (Rev. 910) 10179968Sobrien 102