Project

General

Profile

*UPS Product Installation for intltool v0 35 5 using GCC 4 7 1

Prepare the /uboone/ups directory structure for the new package

  • su products
  • cd /uboone/ups
  • mkdir -p intltool/v0_35_5/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.

As you (you can do it on the second xterm window):

  • cd $HOME
  • mkdir -p /ups/products/install/GCC_4_7_1 (if you do not have it already)
  • cd /ups/products/install/GCC_4_7_1
  • mkdir intltools
  • cd intltools
  • tar -zxvf intltool-0.35.5.tar.gz
  • cd intltool-0.35.5
  • setup pkgconfig v0_23 -q GCC_4_7_1
    (also sets up gcc 4_7_1)
  • ./configure --prefix=/uboone/ups/intltool/v0_35_5/Linux64bit+2.6-2.12-GCC_4_7_1
  • make >& make.log &
  • su products
  • make install

Return to the ups directory to complete the installation.

  • cd /uboone/ups/intltool/v0_35_5
  • mkdir ups
  • cd ups
  • (create pkgconfig.table):
[rmehdi@uboonedaq-evb ~]$ more /uboone/ups/intltool/v0_35_5/ups/intltool.table 
File    = table
Product = intltool

# -----------------------------------------------
Group:

  Flavor        = ANY
  Qualifiers    = "" 

  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()
    pathPrepend(PATH, ${UPS_PROD_DIR}/bin)

    exeActionRequired(ExtraSetup)

End:
  • ups declare -f Linux64bit+2.6-2.12 -q GCC_4_7_1 -r /uboone/ups/intltool/v0_35_5/Linux64bit+2.6-2.12-GCC_4_7_1 -M /uboone/ups/intltool/v0_35_5/ups -m intltool.table intltool v0_35_5