Changeset 26971
- Timestamp:
- 2013-02-28T14:13:33+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/Install.txt
r22766 r26971 4 4 The following instructions assume the top level Greenstone folder is called 5 5 Greenstone (which is the standard name used for Greenstone 2 releases). 6 If you have got Greenstone from SVN, the top level directory will be g sdl.6 If you have got Greenstone from SVN, the top level directory will be greenstone2. 7 7 8 8 The Greenstone Librarian Interface (GLI) code will be in the gli folder inside 9 9 the Greenstone folder. If you are using SVN and you want to use the GLI to 10 10 build collections, you'll need to check it out by running 11 svn checkout http://svn.greenstone.org/ gli/trunkgli11 svn checkout http://svn.greenstone.org/main/trunk/gli 12 12 in the Greenstone folder. 13 13 … … 17 17 where this file lives) and perform the following three steps. 18 18 19 1. ./configure 19 1. ./configure --enable-apache-httpd 20 20 2. make 21 21 3. make install 22 22 23 23 This will install the library.cgi and oaiserver.cgi executables to 24 Greenstone/cgi-bin .24 Greenstone/cgi-bin/linux. 25 25 If you want to run Greenstone from a system 26 26 cgi-bin directory you'll need to move the library executable and 27 gsdlsite.cfg from Greenstone/cgi-bin to your system cgi-bin.27 gsdlsite.cfg from Greenstone/cgi-bin/linux to your system cgi-bin. 28 28 29 29 Note that the Greenstone directory structure is important to the operation … … 33 33 entire Greenstone directory there. 34 34 35 You'll need to install Apache and set it up to serve Greenstone. Then you'll need to edit Greenstone/cgi-bin/gsdlsite.cfg. See 35 Greenstone will install Apache into apache-httpd/linux. You can disable this 36 by running ./configure without the -enable-apache-httpd option. In that case 37 you'll need to set up your own apache to serve Greenstone. See See 36 38 http://wiki.greenstone.org/wiki/index.php/Setting_up_an_Apache_Web_Server_for_Greenstone_2_Walkthrough 37 39 for more details. … … 46 48 it at [email protected] 47 49 48 The major difference between compiling with VC++ 4.2 compared with 49 VC++ 6.0/2005 is that 4.2 must use the STLport standard template library 50 (packaged with Greenstone) while VC++ 6.0/2005 may use its own built in 51 STL implementation. 50 If you have got Greenstone from svn, you'll also need to download some Windows binaries. 51 1. cd to top-level greenstone2 folder. 52 2. cd bin 53 3. svn co http://svn.greenstone.org/main/trunk/binaries/windows/bin windows 52 54 53 Perform the following steps to compile and install Greenstone. Note that 54 some parts of the process described are specific to one or other of the two 55 compilation options mentioned above. These steps are marked as such. 55 There is a batch script you can run to set up and compile Greenstone. 56 For 64 bit machines, run 57 * makegs264.bat 58 For 32 bit machines, run 59 * makegs2.bat 56 60 57 1. Unzip the following zip archives (into the directories in which the58 zip files themselves are contained). 61 For more information about compiling Greenstone, or for manual compling instructions, see 62 http://wiki.greenstone.org/wiki/index.php/Compiling_Greenstone 59 63 60 * Greenstone\common-src\indexers\packages\windows\iconv\iconv.zip 61 * Greenstone\common-src\packages\windows\gdbm\gdbm.zip 62 * Greenstone\common-src\packages\windows\crypt\crypt.zip 63 * Greenstone\common-src\packages\windows\stlport\stlport.zip (VC++ 4.2 only) 64 These scripts will unpack necessary zip files, set up paths etc, then compile Greenstone. 64 65 65 2. To use VC++ command line tools you may need to execute the 66 MSDEV\BIN\VCVARS32.BAT batch file to set up your environment. 67 68 3. cd to the top level Greenstone directory (i.e. the directory where 69 this file lives). 70 71 4. compile the web library (library.cgi) and OAI server (oaiserver.cgi) with 72 "nmake /f win32.mak GSDL_VC4=1" (VC++ 4.2) 73 or 74 "nmake /f win32.mak" (VC++ 6.0/2005) 75 76 5. compile the local library (server.exe) with 77 "nmake /f win32.mak GSDL_VC4=1 LOCAL_LIBRARY=1" (VC++ 4.2) 78 or 79 "nmake /f win32.mak LOCAL_LIBRARY=1" (VC++ 6.0/2005) 80 81 This will install library.cgi and oaiserver.cgi to the Greenstone\cgi-bin 66 This will install library.cgi and oaiserver.cgi to the Greenstone\cgi-bin\windows 82 67 directory and server.exe to the top level Greenstone directory. 83 68
Note:
See TracChangeset
for help on using the changeset viewer.