Project

General

Profile

*UPS Product Installation for libiconv v1 13 1 using GCC 4 7 1

ibiconv is needed for installation of glib to follow.

Prep the /uboone directory structure for the new package:

  • su products
  • mkdir -p /uboone/libiconv/v1_13_1/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
  • cd /ups/products/install/GCC_4_7_1
  • mkdir libiconv
  • cd libiconv
  • tar -zxvf libiconv-1.13.1.tar.gz
  • cd libiconv-1.13.1
  • setup cairo v1_6_4 -q GCC_4_7_1
    (also sets up all lower level products including gcc 4_7_1)
  • ./configure --prefix=/uboone/libiconv/v1_13_1/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 /nova/ups/libiconv/v1_13_1
mkdir ups
cd ups
(create the libiconv.table)
[rmehdi@uboonedaq-evb ups]$ more libiconv.table
File    = table
Product = libiconv

# -----------------------------------------------
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 )

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)

    exeActionRequired(ExtraSetup)

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