]> sjero.net Git - wget/blob - windows/README
[svn] Various fixes by David Fritz.
[wget] / windows / README
1                                                            -*- text -*-
2
3 You can configure the Windows port of Wget by running configure.bat (in
4 the main Wget directory).  You can run it with no arguments to see the
5 list of possible options.  Run it with the option corresponding to the
6 compiler you intend to use to build Wget and follow the (brief)
7 instructions printed on the screen.  The instructions bellow are for
8 building Wget with Microsoft Visual C++ (MSVC); you may need to make
9 appropriate substitutions for your compiler and build environment.
10
11 To build Wget with MSVC run configure.bat (in the main Wget directory)
12 with the argument --msvc, and then run nmake.  At a certain point in time
13 Wget exposed some compiler bugs in MSVC 5.0; MSVC 6.0 SP5 is known to be
14 safe.  However, read the rest of this document before continuing.
15
16 For MSVC the current default is to build Wget with SSL support.  For this
17 to work, you will need to have OpenSSL installed.  First, get OpenSSL
18 (http://www.openssl.org), compile it and install the relevant headers and
19 libraries where your compiler can find them; currently this could mean
20 (presuming default installation directories for MSVC 6.0) copy (from the
21 compiled OpenSSL directory) the whole inc32\openssl directory and its
22 contents to "C:\Program Files\Microsoft Visual Studio\VC98\Include\openssl",
23 and from out32dll (in the OpenSSL directory) the two needed libraries
24 (libeay32.lib and ssleay32.lib) to
25 "C:\Program Files\Microsoft Visual Studio\VC98\lib".  These locations
26 aren't exactly the best but will get you started if you don't know where
27 to place these headers and libraries.  Usually at run-time some OpenSSL
28 libraries (currently ssleay32.dll and libeay32.dll) will need to be
29 available in your environment PATH.
30
31 If you don't want to/can't compile Wget with OpenSSL comment SSL related
32 lines in windows\Makefile.src; then follow the normal instructions
33 (configure.bat and so on).
34
35 If you want to build the help file you will need a copy of makeinfo to
36 convert wget.texi to rtf and html.  I've made a copy available at
37 <URL:ftp://sunsite.dk/projects/wget/makeinfo.zip>.  This copy of
38 makeinfo is from the miktxt 1.10 archive available from ctan.  You also
39 will need perl 5, one possibility is ActivePerl (currently free) from
40 <URL:http://www.activestate.com>; you need to locate the download and
41 install instructions for the current version available (since the
42 packages and installation instructions change from time to time).
43
44 Windows contributors:
45
46 * Darko Budor <dbudor@zesoi.fer.hr> -- the initial work on the Windows
47   port;
48
49 * Tim Charron <tcharron@interlog.com> -- additional cleanup and
50   contribution of the Watcom makefile;
51
52 * John Burden <john@futuresguide.com> -- cleanup of the VC++ makefile
53   to get a clean build with VC++ 5.0 on Windows 95;
54
55 * Douglas E. Wegscheid -- maintains configure.bat and various Windows
56   makefiles.
57
58 * Herold Heiko -- numerous build reports and fixes.
59
60 * Gisle Vanem -- many Windows-related improvements to the source and
61   the build system.