Project

General

Profile

Instructions for installing confuse v2 7 under ups using GCC 4 7 1

Configuration file parser library
http://www.nongnu.org/confuse/

Prep the /uboone/ups directory structure for the new package:

  • su products
  • mkdir -p /uboone/confuse/v2_7/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 confuse
  • cd confuse
  • tar -zxvf confuse-2.7.tar.gz
  • cd confuse-2.7
  • setup pkgconfig v0_23 -q GCC_4_7_1
  • setup apr v1_4_2 -q GCC_4_7_1
  • ./configure --prefix=/uboone/confuse/v2_7/Linux64bit+2.6-2.12-GCC_4_7_1 CPPFLAGS=-fPIC
  • make >& make.log &
  • make install

Return to the ups directory to complete the installation.

  • cd /uboone/confuse/v2_7
  • mkdir ups
  • (create the confuse.table)
FILE=TABLE
PRODUCT=confuse

GROUP:

  FLAVOR=ANY
  QUALIFIERS="GCC_4_7_1" 

  Action = ExtraSetup
    setupRequired( gcc v4_7_1 )
    setupRequired( pkgconfig v0_23 -q GCC_4_7_1 )

COMMON:

  ACTION=setup
    prodDir()
    setupEnv()
    envPrepend(LD_LIBRARY_PATH, ${UPS_PROD_DIR}/lib)
    envPrepend(PKG_CONFIG_PATH, ${UPS_PROD_DIR}/lib/pkgconfig)

END:
* ups declare -f Linux64bit+2.6-2.12 -q GCC_4_7_1 -r /uboone/confuse/v2_7/Linux64bit+2.6-2.12-GCC_4_7_1 -M /uboone/confuse/v2_7/ups -m confuse.table confuse v2_7