aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/lukemftp/INSTALL
blob: 97e82b0d46ed5cfb6a54a5abec4efa25d623baf2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
INSTALLATION INTRODUCTION
-------------------------

This file describes how to compile and install lukemftp on your
system.

	============================================
	=					   =
	=  NOTE: You will need an ANSI C compiler. =
	=					   =
	============================================


For most systems, execute the following to compile and install
lukemftp:
	./configure
	make
	make install

A preformatted manual page (src/ftp.cat1) is also installed. If
you wish to install the source (src/ftp.1), ensure that your system
has up-to-date mandoc macros. groff ships with this macro suite,
but it has bugs. Try:
    ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/tmac/
for a more recent version.


CONFIGURATION OPTIONS
---------------------

lukemftp is configured using an `autoconf' generated `configure'
script.  `configure' supports the following options:

* The standard `autoconf configure' options, including:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
                          BSD or GNU make may be required for this to work.

* Specific options:
  --enable-editcomplete   Turn on command line editing and completion.
  --disable-editcomplete  Turn off command line editing and completion
                          [default: enabled].
  --enable-ipv6           Enable IPv6 support (if your OS supports it)
  --disable-ipv6          Disable IPv6 support (even if your OS supports it.) 
                          [default: enabled].
  --with-socks            Compile with SOCKS firewall traversal support.
  --with-socks5[=PATH]    Compile with SOCKS5 firewall traversal support.
  --with-socks4[=PATH]    Compile with SOCKS4 firewall traversal support.

The following environment variables can be set to override various
compiler related settings.
  CC=compiler		specify name of the C compiler (default: gcc or cc)
  CFLAGS=flags		specify flags to C compiler (default: -O -g or just -O)
  LDFLAGS=flags		specify flags to linker (default: none)

This can be achieved with:
	env CC="compiler" CFLAGS="flags" LDFLAGS="flags" ./configure


	============================================
	=					   =
	=  NOTE: You will need an ANSI C compiler. =
	=					   =
	============================================


PLATFORM SPECIFIC NOTES
-----------------------

The following platforms & compilers have been tested:

- AIX 4.1.5:
- AIX 4.2.1:
- AIX 4.3.3:
	- Compiler: xlc -qlanglvl=ansi
	   version: xlC 3.1.4.10 -- C for AIX Compiler
	   version: ibmcxx.cmp 3.6.6.6 -- IBM C and C++ Compilers

	  Configure with:
		env CC="xlc" CFLAGS="-qlanglvl=ansi" ./configure

- BSD/OS 4.0.1 (x86)
- BSD/OS 4.1 (x86)
- BSD/OS 4.1 (sparc)
- BSD/OS 4.2 (x86)
	- Compiler: /bin/cc
	   version: gcc 2.7.2.1
	   version: gcc version 2.95.2 19991024

- Digital UNIX 4.0b
- Digital UNIX 4.0d
- Digital UNIX 4.0f
	- Compiler: cc -std
	   version: DEC C V5.2-036 on Digital UNIX V4.0 (Rev. 564)
	   version: DEC C V5.9-005 on Digital UNIX V4.0 (Rev. 1229)

	  Configure with
		env CC="cc -std" ./configure

	- Compiler: gcc
	   version: 2.95.1

- Digital UNIX 5.0
	- Compiler: cc
	   version: Compaq C V6.1-011 on Digital UNIX V5.0 (Rev. 910)

- FreeBSD 3.4 (i386):
- FreeBSD 3.5 (i386):
- FreeBSD 4.1 (i386):
	- Compiler: cc
	   version: gcc version 2.7.2.3
	   version: gcc version 2.95.2 19991024

- HP/UX 10.20:
- HP/UX 11.00:
	- Compiler: /opt/ansic/bin/cc -Ae
	   version: A.10.32.03

	  Configure with
		env CC="cc -Ae" ./configure

	  To generate code that will run on old architectures you
	  may need to add "+DAportable" to CC.


- IRIX 6.5.4
- IRIX 6.5.8
	Compiler: /bin/cc
	 version: MIPSpro Compilers: Version 7.2.1
	Compiler:
	 version: gcc version 2.95.2

- HP/UX 11.00:
- HP/UX 11.00 64 bit:
	- Compiler: /opt/ansic/bin/cc -Ae
	   version: A.11.01.00

	  Configure with
		env CC="cc -Ae" ./configure

- NetBSD 1.3.3 (i386)
	Compiler: /usr/bin/cc
	Compiler: /usr/bin/cc

	Ignore warnings about ``passing arg 3 of `tputs' from
	incompatible pointer type''.

- RedHat Linux 5.1 (?? i386)
- RedHat Linux 5.2 (?? i386)
- RedHat Linux 6.0 (Linux 2.2.10 i686)
- RedHat Linux 6.1 (Linux 2.2.5-15 i686)
- RedHat Linux 6.2 (Linux 2.2.16-3smp i686)
	- Compiler: cc
	   version: egcs-1.1.2

- Slackware (Linux 2.0.35 i686)
	- Compiler: cc
	   version: 2.7.2.3

- Solaris 2.6 (sparc)
- Solaris 7 (sparc)
	- Compiler: /opt/SUNWspro/bin/cc
	   version: WorkShop Compilers 5.0

	- Compiler: gcc
	   version: egcs-1.1.2

=============
= OLD NOTES =
=============

XXX: clean up to match reality
------------------------------

- RedHat Linux 5.0 (i386)
	Compiler: cc

- Solaris 2.5 (sparc)
- Solaris 7 (x86)
	Compiler: /opt/SUNWspro/bin/cc
	 version: SC3.0 15 Dec 1993
	 version: WorkShop Compilers 5.0
	Compiler: gcc
	 version: egcs-1.1.2
	 version: gcc 2.8.1
	 version: gcc 2.95.1

- Solaris 7 (sparc) 64 bit
	Compiler: /opt/SUNWspro/bin/cc -xarch=v9
	 version: WorkShop Compilers 5.0

- SunOS 4
	Compiler: gcc -lresolv
	 version:

- SuSE Linux
	Compiler: gcc
	 version:

	/usr/bin/ftp on SuSE Linux 6.4 is this ftp client.

	May need `gcc -L/usr/lib/termcap' if tgetent() et al aren't found.

- Ultrix 4.5
	Compiler: cc
	 version: MIPS C Compiler 3.0
	Compiler: gcc
	 version: 2.7.2.2