Changeset 26971


Ignore:
Timestamp:
2013-02-28T14:13:33+13:00 (11 years ago)
Author:
kjdon
Message:

starting to update the windows instructions for compiling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/Install.txt

    r22766 r26971  
    44The following instructions assume the top level Greenstone folder is called
    55Greenstone (which is the standard name used for Greenstone 2 releases).
    6 If you have got Greenstone from SVN, the top level directory will be gsdl.
     6If you have got Greenstone from SVN, the top level directory will be greenstone2.
    77
    88The Greenstone Librarian Interface (GLI) code will be in the gli folder inside
    99the Greenstone folder. If you are using SVN and you want to use the GLI to
    1010build collections, you'll need to check it out by running
    11  svn checkout http://svn.greenstone.org/gli/trunk gli
     11 svn checkout http://svn.greenstone.org/main/trunk/gli
    1212in the Greenstone folder.
    1313
     
    1717where this file lives) and perform the following three steps.
    1818
    19 1. ./configure
     191. ./configure --enable-apache-httpd
    20202. make
    21213. make install
    2222
    2323This will install the library.cgi and oaiserver.cgi executables to
    24 Greenstone/cgi-bin.
     24Greenstone/cgi-bin/linux.
    2525If you want to run Greenstone from a system
    2626cgi-bin directory you'll need to move the library executable and
    27 gsdlsite.cfg from Greenstone/cgi-bin to your system cgi-bin.
     27gsdlsite.cfg from Greenstone/cgi-bin/linux to your system cgi-bin.
    2828
    2929Note that the Greenstone directory structure is important to the operation
     
    3333entire Greenstone directory there.
    3434
    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
     35Greenstone will install Apache into apache-httpd/linux. You can disable this
     36by running ./configure without the -enable-apache-httpd option. In that case
     37you'll need to set up your own apache to serve Greenstone. See   See
    3638http://wiki.greenstone.org/wiki/index.php/Setting_up_an_Apache_Web_Server_for_Greenstone_2_Walkthrough
    3739for more details. 
     
    4648it at [email protected]
    4749
    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.
     50If you have got Greenstone from svn, you'll also need to download some Windows binaries.
     511. cd to top-level greenstone2 folder.
     522. cd bin
     533. svn co http://svn.greenstone.org/main/trunk/binaries/windows/bin windows
    5254
    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.
     55There is a batch script you can run to set up and compile Greenstone.
     56For 64 bit machines, run
     57   * makegs264.bat
     58For 32 bit machines, run
     59   * makegs2.bat
    5660
    57 1. Unzip the following zip archives (into the directories in which the
    58    zip files themselves are contained).
     61For more information about compiling Greenstone, or for manual compling instructions, see
     62http://wiki.greenstone.org/wiki/index.php/Compiling_Greenstone
    5963
    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)
     64These scripts will unpack necessary zip files, set up paths etc, then compile Greenstone.
    6465
    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
     66This will install library.cgi and oaiserver.cgi to the Greenstone\cgi-bin\windows
    8267directory and server.exe to the top level Greenstone directory.
    8368
Note: See TracChangeset for help on using the changeset viewer.