*UPS Product Installation for fontconfig v2 4 2 using GCC 4 7 1¶
Prep the /uboone/ directory structure for the new package:
- su products
- cd /uboone
- mkdir -p fontconfig/v2_4_2/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 $HOME
- mkdir -p /ups/products/install/GCC_4_7_1 (if you don't have this directory created already)
- cd /ups/products/install/GCC_4_7_1
- mkdir fontconfig
- cd fontconfig
- tar -zxvf fontconfig-2.4.2.tar.gz
- cd fontconfig-2.4.2
- setup expat v2_0_1 -q GCC_4_7_1
(also sets up lower level products including gcc_4_7_1)
- ./configure --prefix=/uboone/fontconfig/v2_4_2/Linux64bit+2.6-2.12-GCC_4_7_1 --with-freetype-config=$FREETYPE_DIR/bin/freetype-config --with-expat=$EXPAT_DIR/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/fontconfig/v2_4_2
- mkdir ups
- cd ups
- (create fontconfig.table):
more fontconfig.table
File = table Product = fontconfig # ----------------------------------------------- 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 ) 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/fontconfig/v2_4_2/Linux64bit+2.6-2.12-GCC_4_7_1 -M /uboone/fontconfig/v2_4_2/ups -m fontconfig.table fontconfig v2_4_2