·Home· ·About· ·Development· ·Support/FAQ· ·Services· ·Careers·


O.P.P.

Stable: 0.2.5
Development: 0.3

OPP 0.3 Installation Instructions

This page contains installation instructions for OPP 0.3.

More information about OPP is available by following the links at the top of the page.

Page Index

Requirements
Configure
Build
Install
Use

Requirements

OPP uses the GNU autoconf system to automatically determine the availability of various system capabilities and configure itself appropriately. OPP should be highly portable between UNIX operating systems, but it has only been tested on Linux and Solaris.

OPP 0.3 requires GNU make.

OPP 0.3 currently requires a gawdawful amount of disk space. We're working on it, but be prepared for the OPP libraries to use 100 MB of disk space (with debugging information) on an Intel box. Expect to use over 200 MB to build OPP.

Due to its use of recently added features of the C++ language, OPP 0.3 requires gcc version 2.95.2 or higher. It has been tested with gcc 2.95.2, gcc 2.95.3, gcc 2.96 (* RedHat version) and gcc 3.0.2. Due to bugs in the compiler, OPP will not work with gcc 3.0.0 or gcc 3.0.1. Upgrade to gcc 3.0.2 or higher.

Configure

For most users, no configuration is necessary. The OPP makefile will automatically run configure to determine the proper settings for your system when make is first invoked. This setting should be appropriate for about 90% or more of users.

You can run configure manually prior to running make if you want to choose an install directory for OPP other than the default /usr/local/OPP.

Build

Building OPP is as simple as typing make inside the top level directory.

Once OPP has successfully built, you may want to run the test suite. Running the test suite requires that you invoke make from within the src directory. You can choose to run make test or make stress. In general, make stress runs the same tests as make test, only with more aggressive command line options that cause the test drivers to perform more work. Depending on the speed of your machine, make test can take quite a while to complete. Regardless of the speed of your machine, make stress will take a long time to complete.

Ideally, you won't see any errors from the test suite. However, while OPP is still in development expect to see some. For example, as of today (Sunday, Jan 13 2002) the Number test driver produces both compile warnings and fails to run correctly.

There is currently no option to build shared libraries. Unless someone ambitious submits it first, we'll get around to adding shared library support eventually.

Install

Unless you selected an alternate install location with appropriate permissions, installation will require root privileges. Just run make install at the top level of the OPP directory heirarchy.

Libraries are installed to destdir/lib (default /usr/local/OPP/lib)

OPP includes are installed to destdir/include (default /usr/local/OPP/include)

Use

Add the following lines to your application makefile:

OPPHOME=destdir
include $OPPHOME/share/Makefile.config

Also add linker options to include each OPP package that your application uses.

See the example programs or test drivers included with OPP.


Modified Sun Jan 13 19:37:26 EST 2002

Copyright 2002, Odin Consulting, Inc. This document may be freely redistributed in its entirety so long as this copyright notice remains in place.