1 INSTALLATION INTRODUCTION
2 -------------------------
4 This file describes how to compile and install lukemftp on your
7 ============================================
9 = NOTE: You will need an ANSI C compiler. =
11 ============================================
14 For most systems, execute the following to compile and install
20 A preformatted manual page (src/ftp.cat1) is also installed. If
21 you wish to install the source (src/ftp.1), ensure that your system
22 has up-to-date mandoc macros. groff ships with this macro suite,
24 ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/tmac/
25 for a more recent version.
31 lukemftp is configured using an `autoconf' generated `configure'
32 script. `configure' supports the following options:
34 * The standard `autoconf configure' options, including:
35 --prefix=PREFIX install architecture-independent files in PREFIX
37 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
39 --srcdir=DIR find the sources in DIR [configure dir or ..]
40 BSD or GNU make may be required for this to work.
43 --enable-editcomplete Turn on command line editing and completion.
44 --disable-editcomplete Turn off command line editing and completion
46 --enable-ipv6 Enable IPv6 support (if your OS supports it)
47 --disable-ipv6 Disable IPv6 support (even if your OS supports it.)
49 --with-socks Compile with SOCKS firewall traversal support.
50 --with-socks5[=PATH] Compile with SOCKS5 firewall traversal support.
51 --with-socks4[=PATH] Compile with SOCKS4 firewall traversal support.
53 The following environment variables can be set to override various
54 compiler related settings.
55 CC=compiler specify name of the C compiler (default: gcc or cc)
56 CFLAGS=flags specify flags to C compiler (default: -O -g or just -O)
57 LDFLAGS=flags specify flags to linker (default: none)
59 This can be achieved with:
60 env CC="compiler" CFLAGS="flags" LDFLAGS="flags" ./configure
63 ============================================
65 = NOTE: You will need an ANSI C compiler. =
67 ============================================
70 PLATFORM SPECIFIC NOTES
71 -----------------------
73 The following platforms & compilers have been tested:
78 - Compiler: xlc -qlanglvl=ansi
79 version: xlC 3.1.4.10 -- C for AIX Compiler
80 version: ibmcxx.cmp 3.6.6.6 -- IBM C and C++ Compilers
83 env CC="xlc" CFLAGS="-qlanglvl=ansi" ./configure
91 version: gcc version 2.95.2 19991024
97 version: DEC C V5.2-036 on Digital UNIX V4.0 (Rev. 564)
98 version: DEC C V5.9-005 on Digital UNIX V4.0 (Rev. 1229)
101 env CC="cc -std" ./configure
108 version: Compaq C V6.1-011 on Digital UNIX V5.0 (Rev. 910)
110 - FreeBSD 3.4 (i386):
111 - FreeBSD 3.5 (i386):
112 - FreeBSD 4.1 (i386):
114 version: gcc version 2.7.2.3
115 version: gcc version 2.95.2 19991024
119 - Compiler: /opt/ansic/bin/cc -Ae
123 env CC="cc -Ae" ./configure
125 To generate code that will run on old architectures you
126 may need to add "+DAportable" to CC.
132 version: MIPSpro Compilers: Version 7.2.1
134 version: gcc version 2.95.2
137 - HP/UX 11.00 64 bit:
138 - Compiler: /opt/ansic/bin/cc -Ae
142 env CC="cc -Ae" ./configure
144 - NetBSD 1.3.3 (i386)
145 Compiler: /usr/bin/cc
146 Compiler: /usr/bin/cc
148 Ignore warnings about ``passing arg 3 of `tputs' from
149 incompatible pointer type''.
151 - RedHat Linux 5.1 (?? i386)
152 - RedHat Linux 5.2 (?? i386)
153 - RedHat Linux 6.0 (Linux 2.2.10 i686)
154 - RedHat Linux 6.1 (Linux 2.2.5-15 i686)
155 - RedHat Linux 6.2 (Linux 2.2.16-3smp i686)
159 - Slackware (Linux 2.0.35 i686)
163 - Solaris 2.6 (sparc)
165 - Compiler: /opt/SUNWspro/bin/cc
166 version: WorkShop Compilers 5.0
175 XXX: clean up to match reality
176 ------------------------------
178 - RedHat Linux 5.0 (i386)
181 - Solaris 2.5 (sparc)
183 Compiler: /opt/SUNWspro/bin/cc
184 version: SC3.0 15 Dec 1993
185 version: WorkShop Compilers 5.0
191 - Solaris 7 (sparc) 64 bit
192 Compiler: /opt/SUNWspro/bin/cc -xarch=v9
193 version: WorkShop Compilers 5.0
196 Compiler: gcc -lresolv
203 /usr/bin/ftp on SuSE Linux 6.4 is this ftp client.
205 May need `gcc -L/usr/lib/termcap' if tgetent() et al aren't found.
209 version: MIPS C Compiler 3.0