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.
- 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.
- 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.
- 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
- Creating Company Database for ABC Company
cd /usr/local/openssa.cvs/openssa
./DBSINIT
Create company id abc, name ABC Company
- 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.
- 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.
|