The L-Space Web: Developers

Cygwin - installation


Go to the cygwin site http://www.cygwin.com.

Download the installer (setup.exe)

Whilst still on-line, run setup.exe

You will now be able to choose which parts of cygwin you require. The Cygwin site suggests that, if you have the space, download everything. However you only need to select the following to run 'make'.

bash-2.04.1.tar.gz
cygwin-1.1.2.tar.gz
diff.tar.gz
fileutils.tar.gz
findutils.tar.gz
grep.tar.gz
gzip.tar.gz
less.tar.gz
m4.tar.gz
make-3.79-3.tar.gz
patch.tar.gz
sed-3.02-1.tar.gz
shellutils.tar.gz
tar.tar.gz
tcsh.exe
textutils-2.0-1.tar.gz

Note: Newer versions of the above may be available. If in doubt, download the latest versions

Download the above list of components to a temporary sub-directory, disconnect and then run setup.exe again to install them.

Before you run make, ensure that you have downloaded some of the L-Space Web with WinCVS. More details on this can be found here.

You will also need to check, and possibly adjust, the cygwin.bat file in the bin sub-directory under your cygwin directory. Open this file in your text editor. It should contain the following:

@echo off
SET MAKE_MODE=unix
SET PATH=D:\cygwin\bin;D:\cygwin\usr\local\bin;%PATH%
bash

Change the D:\cygwin to the directory containing Cygwin.

Now, create a Windows' shortcut to cygwin.bat and specify the working directory that make will run within.

For example 'D:\WwwRoot\lspace'.

Important: Do not run make on the directory that you use with WinCVS. Copy any files that you have checked out with WinCVS to a separate directory. This latter directory will become your local "working" copy and will eventually contain both .h4 and .html files.
Your WinCVS directory should never contain any .html files.

Although documentation is supplied with Cygwin, you may want to check the online manual pages at http://www.gnu.org/manual/

The manuals we suggest you read are:

m4-1.4
bash
make
cvs
find
grep

You may also find the Cygwin FAQ at http://cygwin.com/faq/ useful


[Up]
This section of L-Space is maintained by The L-Space Librarians

The L-Space Web is a creation of The L-Space Librarians
This mirror site is maintained by Colm Buckley