source: trunk/essentials/net-misc/wget/windows/README

Last change on this file was 3440, checked in by bird, 18 years ago

wget 1.10.2

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