Compilation and Installation

Compilation and Installation form Source File

In order to compile and install OmniRPC system, type the following in the base direcotry of the OmniRPC distribution:

            % ./configure
            % make
            (as root)
            # make install
          

As a result, the OmniRPC software is installed on the default directory ("/usr/local/omrpc"). If your system's make-command is gmake, type gmake instead of make.

If you want to change the install directory, you can specify another install directory.

 
            % ./configure --prefix /path/to/install
          

After installation, add "/path/to/install/bin" to the PATH environmental value.

Compilation and Installation with the Globus Toolkit library

To compile OmniRPC with Globus Toolkit, the globus-makefile-header program, which is attached to Globus Toolkit, is needed. And, OmniRPC requires a library which supports pthread (such as gcc32dbgpthr, gcc32pthr). Type the following to build OmniRPC system with Globus Toolkit library.

            % ./configure --enable-globus
          
At this time, the Globus Toolkit path is set to the value of ${GLOBUS_LOCATION}, and the path to Grid Packaging Toolkit(GPT) is set to the value of ${GPT_LOCATION}.

If you want to specify a path to Globus Toolkit or to GPT, you should type extra options.

             % ./configure --enable-globus --with-globusDir=/path/to/globus --with-gtpDir=/path/to/gpt