GridSite: Building and Installation

GridSite is currently only supported on Linux, but should be trivially portable to other Unix platforms.

When building from source, two routes are available: building with Make or with RPM.

Building with Make

make 
make install

will build all components and install them all under the default locations of /usr/local/[lib|bin|include|sbin] The default prefix /usr/local is set by the prefix variable in the top level Makefile

Building with RPM

For RedHat Linux and derivatives, building with RPM is recommended. One of the commands

make rpm
make rpm-edg
make rpm-usr

will build the gridsite-lib, mod_gridsite and gridsite-cgi binary RPM in the ./RPMS/i386 subdirectory of the working directory. A SRPM is put into ./SRPMS

The rpm and rpm-edg targets use the default prefix /opt/edg. The target rpm-usr builds with prefix /usr. (If you make RPMs with make rpm-usr on a RedHat 9 system, you can install the resulting gridsite-lib and mod_gridsite RPMs alongside standard RedHat Apache 2.0 without having to modify shared library or Apache module paths.) Nevertheless, however you build them, the resulting RPMs are relocatable to other hierarchies.