Home PostgreSQL Aubit4gl Install Setup

Installing OpenSSA

Download and install latest version from sourceforge cvs.

Pre-requisite, install PostgreSQL 8.1.x or up and Aubit4gl 1.00.xx or up.

Following are steps to be taken to install on a Fedora Core 4/5/6 platform.

  1. Create a working directory eg. /usr/local/openssa.cvs , and cvs checkout the source code according to sourceforge.net instructions.
    md /usr/local/openssa.cvs
    cd /usr/local/openssa.cvs
    cvs -d:pserver:anonymous@openssa.cvs.sourceforge.net:/cvsroot/openssa \
      login
    cvs -z3 -d:pserver:anonymous@openssa.cvs.sourceforge.net:/cvsroot/openssa \
      co .
    
    OpenSSA will be downloaded into /usr/local/openssa.cvs/openssa, with subdirectories sy, gl, ar, ap, iv, cp, po for the respective modules.

  2. Create OpenSSA sample database. You need the sample database to compile OpenSSA.
    cd /usr/local/openssa.cvs/openssa
    make init
    
    To initialize sample database, execute
    ./DBSINIT
    
    Use "CREATE" option to create company id sample, company name Sample Company.

    Use "FILES" option to go into each package and initialize all files.

  3. Compile OpenSSA
    cd /usr/local/openssa.cvs/openssa
    make
    
    If database schema is changed or a full recompilation is necessary, make cleanall first.
    cd /usr/local/openssa.cvs/openssa
    make cleanall
    make
    
  4. Creating Company Database for ABC Company
    cd /usr/local/openssa.cvs/openssa
    ./DBSINIT
    
    Create company id abc, name ABC Company

  5. Running OpenSSA

    For main menu:

    ./MENU
    
    To bypass login main menu:
    ./MENU abc
    
    To execute any module directly,
    xx/XXMMM companyid
    
    where xx is the package code (gl, sy ...), XXMMM is the module name. companyid is the company name. eg.
    sy/SYCTL abc
    
    to execute system control record maintenance for ABC Company.

  6. To run programs in graphics mode, edit the bold lines in /etc/opt/aubit4gl/aubitrc .
    A4GL_UI=HL_GTK
    A4GL_UI_DETECTED="CONSOLE HL_GTK TUI HL_TUI HL_TUIN"
    
    However, UI should remained as TUI for speed of data entry.