Project

General

Profile

Ups product installation for ganglia v3 2 0d using GCC 4 8 1

(S. Kasahara 2/12/14)

  • ssh -X novatest01 -l root
  • cd /nova/novaddt/ups/ganglia/v3_2_0d
  • mkdir Linux64bit+2.6-2.5-GCC_4_8_1
  • cd /nova/novaddt/ups
  • chown -R products ganglia
  • chgrp -R novadaq ganglia
  • su products
  • cd /nova/products/install/ganglia
  • cp -r ganglia-3.2.0 ganglia-3.2.0_GCC_4_8_1
  • cd ganglia-3.2.0_GCC_4_8_1
  • source/nova/novaddt/ups/setup
  • setup expat v2_0_1 -q GCC_4_8_1
  • setup confuse v2_7 -q GCC_4_8_1
  • setup apr v1_4_2 -q GCC_4_8_1
  • ./configure --prefix=/nova/novaddt/ups/ganglia/v3_2_0d/Linux64bit+2.6-2.5-GCC_4_8_1 --with-libpcre=no --sysconfdir=/etc/ganglia CPPFLAGS="-I$CONFUSE_DIR/include -I$APR_DIR/include" LDFLAGS="-L$CONFUSE_DIR/lib -L$APR_DIR/lib -L$EXPAT_DIR/lib"
  • make >& make_481.log &
  • (as root, just in case)
  • cp /etc/ganglia/gmetad.conf /etc/ganglia/gmetad.conf.tmp
  • cp /etc/ganglia/gmond.conf /etc/ganglia/gmond.conf.tmp
  • (as products)
  • cd /nova/products/install/ganglia/ganglia-3.2.0_GCC_4_8_1
  • make install
  • cd /nova/novaddt/ups/ganglia/v3_2_0d/Linux64bit+2.6-2.5-GCC_4_8_1
  • ln -s lib64 lib
  • cd /nova/novaddt/ups/ganglia/v3_2_0d/ups
  • (edit ganglia.table to include GCC_4_8_1 version)
  • cd ..
  • ups declare -f Linux64bit+2.6-2.5 -q GCC_4_8_1 -r /nova/novaddt/ups/ganglia/v3_2_0d/Linux64bit+2.6-2.5-GCC_4_8_1 -M /nova/novaddt/ups/ganglia/v3_2_0d/ups -m ganglia.table ganglia v3_2_0d