OpenMAIA project main page
0.5
This is the technical documentation of the OpenMAIA project.
These pages can be used by developers to build applications of the OpenMAIA suite or applications that uses the OpenMAIA library.
Requirements
The OpenMAIA suite can be compiled under linux or under windows using cygwin.
This section lists libraries required to compile OpenMAIA suite.
wxWidgets
wxWidgets library (http://www.wxwidgets.org) is a GUI crossplatform library used by OpenMAIA suite. OpenMAIA suite uses at least version 2.4.2 of wxWidgets. OpenMAIA needs a special installation of wxWidgets that includes some contrib libraries so we advise to compile the source distribution of the wxWidgets library using these instructions.
-
decompress source tarball into a local dir
$ tar zxvf wxXXXX.tar.gz
-
move into wxWidgets folder
$ cd wxXXXX
-
run configure script
$ ./configure --disable-shared --enable-wave --enable-threads
-
run make
$ make
-
as root run make install
$ su
(insert root password)
# make install
# ldconfig
Compile and install XRC library used to handle XML resource files by wxWidgets applications.
-
move to xrc folder
$ cd contrib/src/xrc
-
run make and make install as root
$ make
$ su
(give root password)
# make install
# ldconfig
libxml2
libxml2 (version 2.6.5 at least) is used by some classes in the OpenMAIA suite to parse configuration and description files.
libxml2 can be installed from your distribution or from source site (http://www.xmlsoft.org) using standard procedure:
-
uncompress, configure and install from root
$ tar zxvf libxml2
$ cd libxml2
$ make
$ su
(give root password)
# make install
# ldconfig
OpenMAIA
To compile the OpenMAIA suite follow this procedure:
-
uncompress source tarrball
$ tar zxvf openmaiaXX.tar.gz
-
run configure scripts
$ ./configure
-
run make and make install as root
$ make
$ su
(give root password)
# make install
autotools
OpenMAIA uses autotools (automake and autoconf) to build configurations scripts.
reconf.sh and bootstrap.sh scripts are used to create configure script and Makefile.in makefiles in source folders.
To use autotools you must install automake (at least version 1.7) and autoconf (at least version 2.59) on your system.