Project

General

Profile

Instructions for installing apr v1 4 2 under ups using GCC 4 7 1

  • su products
  • mkdir -p apr/v1_4_2/Linux64bit+2.6-2.12-GCC_4_7_1
  • cd /data/scratch/products/install/GCC_4_7_1
  • mkdir apr
  • cd apr
  • tar -zxvf apr-1.4.2.tar.gz
  • cd apr-1.4.2
  • setup pkgconfig v0_23 -q GCC_4_7_1
    (also sets up gcc 4.7.1)
  • ./configure --prefix=/uboone/apr/v1_4_2/Linux64bit+2.6-2.12-GCC_4_7_1
  • make >& make.log &
  • make install

Return to the ups directory to complete the installation.

  • cd /uboone/apr/v1_4_2
  • mkdir ups
  • cd ups
(create the apr.table)
File    = table
Product = apr
# ------------------------------------------
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 )

Common:

  Action = setup
    setupEnv()
    prodDir()
    prodDir(_LIB, lib)
    prodDir(_INC, include)
    pathPrepend(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/apr/v1_4_2/Linux64bit+2.6-2.12-GCC_4_7_1 -M /uboone/apr/v1_4_2/ups -m apr.table apr v1_4_2