source: trunk/gsdl/Install.txt@ 7938

Last change on this file since 7938 was 7938, checked in by mdewsnip, 20 years ago

Added a note to say that (apparently) Greenstone can also be compiled successfully with Microsoft Visual Studio .NET 2002.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1Note: more up-to-date notes may be available on our website, at
2 http://www.greenstone.org/english/docs/compiling.html
3
4-- Compiling and installing on Unix --
5
6cd to the top level gsdl directory (i.e. the directory where this file
7lives) and perform the following three steps.
8
91. ./configure
102. make
113. make install
12
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
16cgi-bin.
17
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.
23
24-- Compiling on Windows --
25
26Greenstone has been successfully compiled using Microsoft Visual C++
27versions 4.2 and 6.0. We have also heard that Greenstone can be compiled
28with Microsoft Visual Studio .NET 2002, but have not confirmed that
29ourselves. If anyone succeeds in compiling Greenstone with another
30compiler (or another version of VC++) we'd appreciate hearing about
31it at [email protected].
32
33The major difference between compiling with VC++ 4.2 compared with VC++ 6.0
34is that 4.2 must use the STLport standard template library (packaged with
35Greenstone) while VC++ 6.0 may use its own built in STL implementation.
36
37Perform the following steps to compile and install Greenstone. Note that
38some parts of the process described are specific to one or other of the two
39compilation options mentioned above (STLport or non-STLport). These steps
40are marked as such.
41
421. Unzip the following zip archives (into the directories in which the
43 zip files themselves are contained).
44
45 * gsdl\packages\windows\gdbm\gdbm.zip
46 * gsdl\packages\windows\crypt\crypt.zip
47 * gsdl\packages\windows\stlport\stlport.zip (STLport version only)
48
492. To use VC++ command line tools you may need to execute the
50 MSDEV\BIN\VCVARS32.BAT batch file to set up your environment.
51
523. cd to the top level gsdl directory (i.e. the directory where this file
53 lives).
54
554. compile the web library (library.exe) with
56 "nmake /f win32.mak USE_STLPORT=1" (STLport version)
57 or
58 "nmake /f win32.mak" (non-STLport version).
59
605. compile the local library (server.exe) with
61 "nmake /f win32.mak USE_STLPORT=1 LOCAL_LIBRARY=1" (STLport version)
62 or
63 "nmake /f win32.mak LOCAL_LIBRARY=1" (non-STLport version)
64
65This will install library.exe to the gsdl\cgi-bin directory and server.exe
66to the top level gsdl directory.
Note: See TracBrowser for help on using the repository browser.