*UPS Product Installation for pkgconfig v0 23 using GCC 4 7 1¶
Prepare the /uboone directory structure for the new package
- su products
- cd /uboone
- mkdir -p pkgconfig/v0_23/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
- cd /ups/products/install/GCC_4_7_1
- mkdir pkgtools
- cd pkgtools
- tar -zxvf pkg-config-0.23.tar.gz
- cd pkg-config-0.23
- setup gcc v4_7_1
- ./configure --prefix=/uboone/pkgconfig/v0_23/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/pkgconfig/v0_23
- mkdir ups
- cd ups
- (create pkgconfig.table):
[rmehdi@uboonedaq-evb ~]$ more /uboone/pkgconfig/v0_23/ups/pkgconfig.table File = table Product = pkgconfig # ----------------------------------------------- Group: Flavor = ANY Qualifiers = "" Flavor = ANY Qualifiers = GCC_4_7_1 Action = ExtraSetup setupRequired( gcc v4_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/pkgconfig/v0_23/Linux64bit+2.6-2.12-GCC_4_7_1 -M /uboone/pkgconfig/v0_23/ups -m pkgconfig.table pkgconfig v0_23