*UPS Product Installation for rrdtool v1 3 8 using GCC 4 7 1¶
- su products
- mkdir -p /uboone/rrdtool/v1_3_8/Linux64bit+2.6-2.12-GCC_4_7_1
Download the package, configure, make, make install. The configure directs the install to the ups dir.
cd /data/scratch/products/install/GCC_4_7_1
- mkdir rrdtool
- cd rrdtool
- tar -zxvf rrdtool-1.3.8.tar.gz
- cd rrdtool-1.3.8
- setup pango v1_21_1 -q GCC_4_7_1
(also sets up all lower products including gcc 4_7_1)
- export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib64/pkgconfig
(to pick up libpng12.pc)
- ./configure --prefix=/uboone/rrdtool/v1_3_8/Linux64bit+2.6-2.12-GCC_4_7_1 LDFLAGS="-L$PANGO_LIB -L$LIBICONV_LIB"
- make >& make.log &
- make install
Return to the ups directory to complete the installation.
- cd /uboone/rrdtool/v1_3_8
- mkdir ups
- cd ups
(create the rrdtool.table)
File = table Product = rrdtool #---------------------------------------------------------- Group: Flavor = ANY Qualifiers = "" Action = ExtraSetup Flavor = ANY Qualifiers = GCC_4_7_1 Action = ExtraSetup setupRequired( gcc v4_7_1 ) setupRequired( pkgconfig v0_23 -q GCC_4_7_1 ) setupRequired( intltool v0_35_5 -q GCC_4_7_1 ) setupRequired( freetype v2_3_5 -q GCC_4_7_1 ) setupRequired( expat v2_0_1 -q GCC_4_7_1 ) setupRequired( fontconfig v2_4_2 -q GCC_4_7_1 ) setupRequired( pixman v0_10_0 -q GCC_4_7_1 ) setupRequired( cairo v1_6_4 -q GCC_4_7_1 ) setupRequired( libiconv v1_13_1 -q GCC_4_7_1 ) setupRequired( glib v2_15_4 -q GCC_4_7_1 ) setupRequired( pango v1_21_1 -q GCC_4_7_1 ) Common: Action = setup setupEnv() prodDir() prodDir(_LIB, lib) prodDir(_INC, include) envPrepend(PATH, ${UPS_PROD_DIR}/bin) envPrepend(LD_LIBRARY_PATH, ${UPS_PROD_DIR}/lib) envPrepend(PKG_CONFIG_PATH, ${UPS_PROD_DIR}/lib/pkgconfig) exeActionRequired(ExtraSetup) End:* ups declare -f Linux64bit+2.6-2.12 -q GCC_4_7_1 -r /uboone/rrdtool/v1_3_8/Linux64bit+2.6-2.12-GCC_4_7_1 -M /uboone/rrdtool/v1_3_8/ups -m rrdtool.table rrdtool v1_3_8