ConfigureSUSE

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽

<< back to HowTo Guides

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

SUSE versions

These instructions have been amended to cover:

  • SUSE-12.1 (64 bit)

Initial configuration

Set up general build stuff that you need:

  • zypper install java-1_6_0-openjdk java-1_6_0-openjdk-devel
  • zypper install ant subversion gcc-c++ flex 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

Data type dependencies: NetCDF, HDF4, HDF5

  • zypper install libnetcdf4 libnetcdf-devel"


RPM Construction Tools

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


Autotools

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



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 vmware-install.pl.
  • 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>>.

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.