source: trunk/gsdl/Install.txt@ 11392

Last change on this file since 11392 was 11392, checked in by mdewsnip, 18 years ago

Updated Install.txt to reflect the recent changes to compiling on Windows: now supports Visual C++ 2005, and the new GSDL_VC4 option supercedes the STLPORT option.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
1Note: more up-to-date notes may be available on our website, at
4-- Compiling and installing on Unix --
6cd to the top level gsdl directory (i.e. the directory where this file
7lives) and perform the following three steps.
91. ./configure
102. make
113. make install
13This will install the library executable to gsdl/cgi-bin. If you want to
14run Greenstone from a system cgi-bin directory you'll need to move the
15library executable and gsdlsite.cfg from gsdl/cgi-bin to your system
18Note that the Greenstone directory structure is important to the operation
19of the software. Therefore the --prefix, --bindir etc. options to configure
20make no sense and will have no effect. If you want Greenstone to be
21installed somewhere specific (say /usr/local) you'll need to move the
22entire gsdl directory there.
24-- Compiling on Windows --
26Greenstone has been successfully compiled using Microsoft Visual C++
27versions 4.2, 6.0 and 2005. If anyone succeeds in compiling Greenstone with
28another compiler (or another version of VC++) we'd appreciate hearing about
29it at [email protected].
31The major difference between compiling with VC++ 4.2 compared with VC++ 6.0/2005
32is that 4.2 must use the STLport standard template library (packaged with
33Greenstone) while VC++ 6.0/2005 may use its own built in STL implementation.
35Perform the following steps to compile and install Greenstone. Note that
36some parts of the process described are specific to one or other of the two
37compilation options mentioned above. These steps are marked as such.
391. Unzip the following zip archives (into the directories in which the
40 zip files themselves are contained).
42 * gsdl\packages\windows\gdbm\
43 * gsdl\packages\windows\crypt\
44 * gsdl\packages\windows\stlport\ (VC++ 4.2 only)
462. To use VC++ command line tools you may need to execute the
47 MSDEV\BIN\VCVARS32.BAT batch file to set up your environment.
493. cd to the top level gsdl directory (i.e. the directory where this file
50 lives).
524. compile the web library (library.exe) with
53 "nmake /f win32.mak GSDL_VC4=1" (VC++ 4.2)
54 or
55 "nmake /f win32.mak" (VC++ 6.0/2005)
575. compile the local library (server.exe) with
58 "nmake /f win32.mak GSDL_VC4=1 LOCAL_LIBRARY=1" (VC++ 4.2)
59 or
60 "nmake /f win32.mak LOCAL_LIBRARY=1" (VC++ 6.0/2005)
62This will install library.exe to the gsdl\cgi-bin directory and server.exe
63to the top level gsdl directory.
Note: See TracBrowser for help on using the repository browser.