From OPeNDAP Documentation
Revision as of 01:50, 1 May 2012 by Ndp (talk | contribs) (Initial configuration)

<< back to HowTo Guides

1 How to configure SUSE for the production of RPM binaries

This describes how to set up a vanilla SUSE computer so that we can build RPM binaries for the Hyrax data server. This was taken from notes describing how I configured a machine with a fresh install of SUSE 12.1to build Hyrax. If you're installing this on a virtual host using VMware, see the section at the end of this document for some tips on making that VM run smoothly.

This assumes that the SUSE operating system install included the software development packages

2 SUSE versions

These instructions have been amended to cover:

  • SUSE-12.1 (64 bit)

3 Initial configuration

Set up general build stuff that you need:

  • zypper install java-1_6_0-openjdk
  • zypper install java-1_6_0-openjdk-devel
  • zypper install ant
  • zypper install subversion
  • zypper install gcc-c++
  • zypper install flex
  • zypper install bison
  • zypper install curl-devel
  • zypper install libxml2-devel
  • zypper install libjpeg-devel
  • zypper install libicu-devel
  • zypper install libcfitsio-devel
  • zypper install libcppunit-devel

3.1 Data type dependencies: NetCDF, HDF4, HDF5

  • zypper install libnetcdf4 libnetcdf-devel"

3.2 RPM Construction Tools

  • zypper install rpm-devel
  • zypper install devel_rpm_build This FAILED - even though zipper search found the package

3.3 Autotools

  • download the latest versions of autoconf, automake and libtool
  • ./configure, make, make install

4 VMware configuration tips

It's best if you enable a shared directory so that you can pass stuff back and forth between the host OS and the Guest OS (i.e., the Virtual machine). That will only work if you have the VMware tools installed in/on the guest.

  • Install VMware-tools. This process varies, but it's pretty easy for all platforms. On VMware Fusion, look under the Virtual Machine menu for the item that says Install VMware Tools. This will download lump of code and, for CentOS, mount it on '/media/VMware Tools' (yes, there's a space in the directory name). Copy the *.tar.gz file to some place like your home directory, unpack it and read the INSTALL file. For an initial installation, the typical process is to run
  • Under the configuration/options menu (the little wrench thing in Fusion), choose Sharing. Make a folder with an obvious name (e.g., vmware) and turn sharing on. Now, anything you put in there when on either the OS will be available to the other OS. On linux, this directory is located at /mnt/hgfs/<<name>>.

5 problems not addressed

  • There no JUnit for the OLFS build
  • There's not graphviz so the doc targets for libdap and bes will fail; I tried adding graphviz but that did not fix the problem.