[GFARM LOGO]

How to create binary packages

If there is no binary package for your Linux distribution, you can create binary packages by yourself. If you succeed in creating binary packages, please mail the location of the binary packages to gfarmfs at gmail.com. We will copy them to the web server so that everyone can download.

Preparation

To create binary packages, OpenSSL, OpenLDAP, and PostgreSQL libraries are required.
# rpm -Uvh openssl-devel-X.X.X-X.ARCH.rpm
# rpm -Uvh openldap-devel-X.X.X-X.ARCH.rpm
# rpm -Uvh postgresql-devel-X.X.X-X.ARCH.rpm
To enable GSI, Globus GSSAPI library is also required. When it is not available for your distribution, you can still create binary packages as follows. Note that the source package assumes to install in /usr/gt4 with gcc32 flavor. When it is not appropriate, modify line 5 and line 6 of /usr/src/redhat/SPECS/globus.spec before executing rpmbuild.
# wget http://datafarm.apgrid.org/software/globus/globus-4.0.2-0.src.rpm
# rpm -ivh globus-4.0.2-0.src.rpm
# rpmbuild -bb /usr/src/redhat/SPECS/globus.spec
# cd /usr/src/redhat/RPMS/ARCH
# rpm -Uvh globus-gpt-4.0.2-0.ARCH.rpm globus-gssapi-gsi-gcc32-4.0.2-0.ARCH.rpm

gfarm-gsi package

If you have Globus GSSAPI library, you can create gfarm-gsi binary packages. You need to set GLOBUS_PREFIX and GLOBUS_FLAVOR appropriately before executing rpmbuild.
# rpm -ivh gfarm-X.X.X-X.src.rpm
# GLOBUS_PREFIX=/usr/gt4 GLOBUS_FLAVOR=gcc32 rpmbuild -bb /usr/src/redhat/SPECS/gfarm.spec
Binary packages will be created in /usr/src/redhat/RPM/ARCH/.

gfarm package

If you do not use Globus GSSAPI library, you can create gfarm binary packages. In this case, you cannot use GSI authentication in Gfarm.
# rpm -ivh gfarm-X.X.X-X.src.rpm
# rpmbuild -bb /usr/src/redhat/SPECS/gfarm.spec

Osamu Tatebe
Last modified: Thu Jun 22 13:49:33 JST 2006