Renamed in preparation for moving to RST format.
[freeradius.git] / doc / CYGWIN.rst
1 From: "Philip Blow" <philipb@simplywireless.com.au>
2 To: <freeradius-users@lists.cistron.nl>
3 Date: Wed, 29 Jan 2003 15:23:45 +1100
4
5 Here are some brief notes I but together for compiling FreeRADIUS 0.8.1
6 on Windows XP with EAP/TLS support.
7
8 Configuring FreeRADIUS for EAP under CygWin.
9
10 1.      Installing CygWin
11
12 Install the latest version of CygWin (at time of writing 1.3.19-1) from
13 the web download (http://www.cygwin.com).
14
15 2.      Install the following packages (make as minimum list)
16
17 Package Version
18 _update-info-dir        00126-1
19 ash     20020731-1
20 autoconf        2.54-1
21 autoconf-devel  2.57-1
22 autoconf-stable 2.13-4
23 automake        1.7.1-1
24 automake-devel  1.7.2-1
25 automake-stable 1.4p5-5
26 base-files      1.1-1
27 base-passwd     1.0-1
28 bash    2.05b-8
29 bc      1.06-1
30 binutils        20021117-1
31 byacc   1.9-1
32 bzip2   1.0.2-2
33 crypt   1.0-1
34 cygrunsrv       0.95-1
35 cygutils        1.1.3-1
36 cygwin  1.3.19-1
37 cygwin-doc      1.3-2
38 diff    1.0-1
39 diffutils       2.8.1-1
40 ed      0.2-1
41 file    3.37-1
42 fileutils       4.1-1
43 findutils       4.1.7-4
44 gawk    3.1.1-5
45 gcc     3.2-3
46 gcc-mingw       20020817-5
47 gcc2    2.95.3-10
48 gdb     20021218-1
49 gdbm    1.8.0-4
50 gettext 0.11.5-1
51 grep    2.5-1
52 groff   1.18.1-2
53 gzip    1.3.3-4
54 inetutils       1.3.2-20
55 initscripts     0.9-1
56 less    378-1
57 libbz2_0        1.0.2-1
58 libbz2_1        1.0.2-2
59 libiconv2       1.8-2
60 libintl 0.10.38-3
61 libintl1        0.10.40-1
62 libintl2        0.11.5-1
63 libltdl3        20030103-1
64 libncurses5     5.2-1
65 libncurses6     5.2-8
66 libpng10        1.0.14-2
67 libpng12        1.2.4-2
68 libpopt0        1.6.4-4
69 libreadline4    4.1-2
70 libreadline5    4.3-2
71 libtool 20020202a-1
72 libtool-devel   20021227-1
73 libtool-stable  1.4.2-2
74 libxml2 2.4.23-1
75 login   1.7-1
76 m4      1.4-1
77 make    3.79.1-7
78 man     1.5j-1
79 mingw-runtime   2.3-1
80 mktemp  1.4-1
81 more    2.11o-1
82 nasm    0.98.35-1
83 ncurses 5.2-8
84 newlib-man      20020801
85 openssh 3.5p1-3
86 openssl 0.9.7-1
87 openssl-devel   0.9.7-1
88 openssl096      0.9.6h-1
89 patch   2.5.8-2
90 pcre    3.7-1
91 perl    5.6.1-2
92 readline        4.3-2
93 sed     4.0.5-1
94 sh-utils        2.0.15-3
95 sharutils       4.2.1-2
96 sysvinit        2.84-3
97 tar     1.13.25-1
98 tcltk   20021218-1
99 termcap 20020930-1
100 terminfo        5.2-3
101 texinfo 4.2-4
102 textutils       2.0.21-1
103 tiff    3.5.7-1
104 time    1.7-1
105 unzip   5.50-1
106 vim     6.1-2
107 w32api  2.1-1
108 wget    1.8.2-2
109 which   1.5-1
110 xinetd  2.3.9-1
111 zip     2.3-2
112 zlib    1.1.4-1
113
114 3.      Download the FreeRADIUS source code form
115 http://www.freeradius.org/.
116
117 4.      Expand the FreeRADIUS source file.
118
119 5.      Make the following changes to the source code
120         (the diffs are reversed)
121
122 src/main/Makefile.in
123
124 145,148c145,148
125 <       $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP)
126 radiusd.exe     $(R)$(sbindir)
127 <       $(INSTALL) -m 755 $(INSTALLSTRIP) radwho.exe
128 $(R)$(bindir)
129 <       $(INSTALL) -m 755 $(INSTALLSTRIP) raduse.exe
130 $(R)$(bindir)
131 <       $(INSTALL) -m 755 $(INSTALLSTRIP) radzap.exe
132 $(R)$(bindir)
133 ---
134 >       $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP)
135 radiusd $(R)$(sbindir)
136 >       $(INSTALL) -m 755 $(INSTALLSTRIP) radwho
137 $(R)$(bindir)
138 >       $(INSTALL) -m 755 $(INSTALLSTRIP) raduse
139 $(R)$(bindir)
140 >       $(INSTALL) -m 755 $(INSTALLSTRIP) radzap
141 $(R)$(bindir)
142 150,151c150,151
143 <       $(INSTALL) -m 755    radclient.exe              $(R)$(bindir)
144 <       $(INSTALL) -m 755    radrelay.exe               $(R)$(bindir)
145 ---
146 >       $(INSTALL) -m 755    radclient          $(R)$(bindir)
147 >       $(INSTALL) -m 755    radrelay           $(R)$(bindir)
148
149 src/modules/rlm_dbm/Makefile.in
150
151 22,23c22,23
152 <       $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_parser.exe
153 $(R)$(bindir)
154 <       $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_cat.exe
155 $(R)$(bindir)
156 ---
157 >       $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_parser $(R)$(bindir)
158 >       $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_cat    $(R)$(bindir)
159
160 src/modules/rlm_mschap/Makefile
161
162 20c20
163 <       $(INSTALL) -m 755 $(INSTALLSTRIP) smbencrypt.exe $(R)$(bindir)
164 ---
165 >       $(INSTALL) -m 755 $(INSTALLSTRIP) smbencrypt $(R)$(bindir)
166
167 6.      Run configure with the following command line
168
169 ./configure -without-snmp -disable-shared -enable-static
170
171 7.      Execute make and then make install
172
173
174 Philip Blow
175 Senior Technical Manager
176 Simply Wireless
177 philipb@simplywireless.com.au