This manual made for help on OpenSCADA building from sources. In process of accumulation of experience of building for different OS Linux distributions and others platforms generally, this document will be complement for tips and details of building for different environments.
The document also contain information about preset configuration of built system of OpenSCADA, for complete start with using of present, included to sources, demo DB (model "AGLKS").
System OpenSCADA direct building
Build system must be executed from normal system user name. Thus described variants of installing and execution how global and local, to user directory. Get what user login is - "user".
Before building enter as common user and change user login to your, get sources (from ftp/http-server or SVN-repository), select install method (global or local) and follow instruction:
Steps of preparation of the source tree to build:
Make directory for project building:
$ mkdir ~/projects; cd ~/projects
Download sources package. It may be made from two ways:
$ svn co svn://oscada.org/trunk/OpenSCADA
$ cd OpenSCADA
Resolve OpenSCADA dependents for build, on according demands. Exclude dependents in case of inability its by help of option --disable-{ModName} into comman "configure" below, for example --disable-SoundCard.
Generate of build system, when download from the SVN-repository:
$ autoreconf -ivf
Steps of global building:
Configuring building system of OpenSCADA:
$ ./configure CFLAGS="-O2" CXXFLAGS="-O2"
Make OpenSCADA project:
$ make
Install OpenSCADA:
$ su; make install
Copy start script and configuration file of demonstration: