Required software: http://www.slac.stanford.edu/BFROOT/www/Computing/Environment/Tools/RequiredSoft/ ROOT: http://www.slac.stanford.edu/BFROOT/www/Computing/Offline/ROOT/RootDoc.html ACE: http://www.cs.wustl.edu/~schmidt/ACE.html cd $BFROOT mkdir packagePerl
which perl /usr/bin/perl vi /afs/hep.man.ac.uk/g/babar/bin/srtbinlist change the first line from /usr/local/bin/perl to /usr/bin/perlgcc++
Download: ftp://ftp.mirrorservice.org/sites/sources.redhat.com/pub/gcc/releases/gcc-2.95.3 Este e o procedimento para instalacao da versao 2.95.3. O software e dependente desta especifica versao de compilador. cd $BFROOT/package mkdir trab cd trab tar -zxvf /nfs/work/babar/gcc-2.95.3.tar.gz cd .. mkdir gcc-2.95.3 cd gcc-2.95.3/ pwd /afs/hep.man.ac.uk/g/babar/package/gcc-2.95.3 /afs/hep.man.ac.uk/g/babar/package/trab/gcc-2.95.3/configure --prefix=/afs/hep.man.ac.uk/g/babar/package/gcc-2.95.3 Configuring for a i686-pc-linux-gnu host. Created "Makefile" in /afs/hep.man.ac.uk/g/babar/package/trab using "mt-frag" Configuring libiberty... creating cache ../config.cache ... Created `ch/Makefile'. Merged x-linux. Merged t-linux and i386/t-crtstuff and t-install-cpp. Created `objc/Makefile'. creating libintl.h Configuring etc... loading cache ../config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c creating ./config.status creating Makefile make bootstrap ... fi; \ fi; \ done; \ fi make[3]: Leaving directory `/afs/hep.man.ac.uk/g/babar/package/trab/i686-pc-linux-gnu/libobjc' make[2]: Leaving directory `/afs/hep.man.ac.uk/g/babar/package/trab/i686-pc-linux-gnu/libobjc' make[1]: Leaving directory `/afs/hep.man.ac.uk/g/babar/package/trab' make install ... fi; \ done; \ fi make[2]: Leaving directory `/afs/hep.man.ac.uk/g/babar/package/trab/i686-pc-linux-gnu/libiberty' make[2]: Entering directory `/afs/hep.man.ac.uk/g/babar/package/trab/i686-pc-linux-gnu/libiberty/testsuite' make[2]: Nothing to be done for `install'. make[2]: Leaving directory `/afs/hep.man.ac.uk/g/babar/package/trab/i686-pc-linux-gnu/libiberty/testsuite' make[1]: Leaving directory `/afs/hep.man.ac.uk/g/babar/package/trab/i686-pc-linux-gnu/libiberty' Update o arquivo arch_spec.mk+ com os parametros para uso do compilador instalado.Cern Libraries
Download: http://wwwasd.web.cern.ch/wwwasd/cernlib/version.html cd $BFROOT/package mkdir cern cd cern tar -zxvf /nfs/work/babar/cernlib.tar.gz 2002/lib/libkernlib.a 2002/lib/libpacklib.a 2002/lib/libmathlib.a 2002/lib/libphtools.a tar -zxvf /nfs/work/babar/cernbin.tar.gz 2002/bin/ 2002/bin/kuipc 2002/bin/paw 2002/bin/tmpcesh ... 2002/bin/kxterm_shared 2002/bin/paw++_shared 2002/bin/cernlibInstalling RogueWave
Just copy from bfactory/package/RogueWave, because I have not idea about where it comes from. cd /afs/hep.man.ac.uk/g/babar/package/RogueWave/Linux24/rogue/bin ./config Please wait just a moment while I initialize myself... R O G U E W A V E S O F T W A R E, I N C . GENERAL INSTALLATION SCRIPT with thanks to Larry Wall! This installation shell script will examine your system and C++ compiler, ask you a few questions, then exercise your compiler to discover its features and liabilities. You may wish to use the Unix script facility to save a log for later review. ... *********** You can now configure makefiles for one or more subdirectories by running the shell script "./config_make" with the subdirectory as an argument. Examples: ./config_make toolsrc toolexam ./config_make mathsrc End of procedure. ./config_make ../toolsrc ../toolexam It may take a moment to set myself up... OK. ... Removing old copies or links, if any... done. Executing customization shells... done. ./config_make done.Installing Objectivity
http://www.slac.stanford.edu/BFROOT/www/Computing/Offline/Databases/Docs/AdminGuide.html http://wiki.gridpp.ac.uk/wiki/Setting_up_a_BaBar_Objectivity_Server Verificar no diretorio cdrom installUnix.pdf para instrucoes de instalacao. mkdir /afs/hep.man.ac.uk/g/babar/package/objy7.1 chmod 777 /afs/hep.man.ac.uk/g/babar/package/objy7.1 Login cap.hep.man.ac.uk/root: mkdir Obj7.1 cd Obj7.1 tar -xvf ../Objectivity.R7.1.linux86.tar cdrom/ cdrom/TOC cdrom/FTO.tgz ... cdrom/perl5/5.6.0/Exporter/Heavy.pm cdrom/perl5/site_perl/ cdrom/perl5/site_perl/5.6.0/ cdrom/perl5/site_perl/5.6.0/linux86-linux/ ls cdrom Login bfb.tier2.hep.man.ac.uk/jamwer: cd /nfs/work/babar/Obj7.1/cdrom ./install.sh Objectivity (TM) UNIX CD-ROM Installation Script Copyright (c) Objectivity, Inc. 2001. All rights reserved. It is advised that Objectivity be installed by the 'root' user. Is advised that you exit the installation, log in as 'root' or use the 'su' command, and restart the installation process. You may need to contact your system administrator for assistance. Do you wish to abort installing Objectivity(tm)? (y/n) [=y/no install] n Your Objectivity CD-ROM contains the following products: item description (size in kb) ---- ------------------------------------- 1) Objectivity/FTO (1216 kb) 2) Objectivity/C++ (98668 kb) 3) Objectivity/ooAssistant (2524 kb) 4) Objectivity/STL (6396 kb) 5) Objectivity/DRO (372 kb) 6) Objectivity/DDL (4752 kb) 7) Objectivity/ODBC (3324 kb) 8) Objectivity/IPLS (212 kb) 9) Objectivity/ActiveSchemaforJava (576 kb) 10) Objectivity/AS (5860 kb) 11) Objectivity/ApacheWebserver (4432 kb) 12) Objectivity/DB (22652 kb) 13) Objectivity/Java (16820 kb) 14) Objectivity/SQL++ (19968 kb) 15) Objectivity/Smalltalk (7868 kb) Please specify, by item number, a comma-separated list of products that you are LICENSED to install (e.g. 1,2,3). [ There is an Installation Manual in the directory cdrom explaining how to configure Objectivity.=exit/no install]: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 You have selected products which will require 187772 kb in space. Please select a directory to install the software (e.g. /usr/object). [ =exit/no install]: /afs/hep.man.ac.uk/g/babar/package/objy7.1 The directory '/afs/hep.man.ac.uk/g/babar/package/objy7.1' does not exist. Do you wish to create it (y/n)? [ =y]: y Could not create directory /afs/hep.man.ac.uk/g/babar/package/objy7.1 because /afs/hep.man.ac.uk/g/babar/package/objy7.1 does not exist. Please select a valid directory for installation, or to abort installation. /afs/hep.man.ac.uk/g/babar/package/objy7.1 Using 'tar' to install specified Objectivity(tm) components to /afs/hep.man.ac.uk/g/babar/package/objy7.1... ***** Installing FTO... ***** ***** Installing CPP... ***** ***** Installing OOA... ***** ***** Installing STL... ***** ***** Installing DRO... ***** ***** Installing DDL... ***** ***** Installing ODBC... ***** ***** Installing IPLS... ***** ***** Installing JAS... ***** ***** Installing AS... ***** ***** Installing APA... ***** ***** Installing ODB... ***** ***** Installing JAV... ***** ***** Installing SQL... ***** ***** Installing SMT... ***** Executing ooverify. Objectivity (TM) UNIX Installation verification Script Copyright (c) Objectivity, Inc. 2001. All rights reserved. Executing '/afs/hep.man.ac.uk/g/babar/package/objy7.1/linux86/etc/ooverify' for linux86. Beginning verify of component APA. //......./../........./............................./............./.............../......................../............................................................../......../................/............................................................../.............................................../................................./.........../................................/...//.../....../ Beginning verify of component AS. ////.. Beginning verify of component CPP. ////.....................................................//................../...... Beginning verify of component DDL. ///.. Beginning verify of component DRO. ////...... Beginning verify of component FTO. /////........ Beginning verify of component IPLS. ///. Beginning verify of component JAS. /. Beginning verify of component JAV. ////////////////////////////////////////........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Beginning verify of component ODB. ///////.........................................................../....../....................................................................................................... Beginning verify of component ODBC. /..../......///...././/..//////.................. Beginning verify of component OOA. /////............................... Beginning verify of component SMT. /////./..../.. Beginning verify of component SQL. /./.../...........//..///........................................................................................................./.././...../../...../.../..///....///....///.........////.. Beginning verify of component STL. ///.///////////////...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Verifying post-install tasks. Running /afs/hep.man.ac.uk/g/babar/package/objy7.1/linux86/bin/ooconfig to configure DDL... Objectivity/DB (TM) Configuration Utility Copyright (c) Objectivity, Inc. 1989, 2002. All rights reserved. The current ooddl linux86 C++ include path is: /usr/local/include/g++ /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include What is the linux86 C++ include path? ( =current)? /afs/hep.man.ac.uk/g/babar/package/gcc-2.95.3/include The ooddl linux86 C++ predefined preprocessor variables are: i386=1 __i386=1 __i386__=1 i686=1 __i686=1 __i686__=1 linux=1 __linux=1 __linux__=1 pentiumpro=1 __pentiumpro=1 __pentiumpro__=1 unix=1 __unix=1 __unix__=1 __ELF__=1 __EXCEPTIONS=1 __STDC__=1 __STDC_VERSION__=199409L _THREAD_SAFE=1 __HONOR_STD=1 __STL_CLASS_PARTIAL_SPECIALIZATION=1 What are the linux86 C++ predefined variables ( =default)? /afs/hep.man.ac.uk/g/babar/package/objy7.1/linux86/bin/ooddlx updated. Configuring tools for ooAssistant... The automated portion of the installation is COMPLETE. For more information on completing the installation, please refer to the individual product installation instructions in the Installation Guide. Specifically: 1, Install the lockserver on each machine you intend to run it on. 2. Install AMS on each machine you intend to run it on. 3. Configure the correct user settings for the Graphical Tools. Run the demonstration example(s) for Objectivity/C++, Objectivity/Smalltalk, Objectivity/SQL++, and Objectivity/ODBC. Root
Reference: http://root.cern.ch/ Download: http://root.cern.ch/root/Availability.html Environment variables: ROOTSYS,PATH and LD_LIBRARY_PATH. When you run srtpath in a testrelease, ROOTSYS will be automatically set correctly, except in the case where you have a .bbrroot file (where you can specify a custom ROOT version).cd /afs/hep.man.ac.uk/g/babar/package tar -zxvf /nfs/work/babar/root_v4.00.08.Linux.RH7.3.gcc2953.tar.gz ... root/proof/etc/rootnetrc.sample root/proof/utils/ root/proof/utils/pcmd root/proof/utils/pload root/proof/utils/pps root/proof/utils/push root/proof/utils/proof-facility mv root Linux24 mkdir root mkdir root/3.02-07 mv Linux24 root/3.02-07/
Change hepix files.
cd /afs/hep.man.ac.uk/g/babar/etc/hepix/ vi bashrc vi group_siteSpecs.conf.sh exit ssh -l jamwer bfb.tier2 root ******************************************* * * * W E L C O M E to R O O T * * * * Version 4.00/08 9 July 2004 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* FreeType Engine v2.1.3 used to render TrueType fonts. Compiled for linux with thread support. CINT/ROOT C/C++ Interpreter version 5.15.138, May 23 2004 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] .q cd /afs/hep.man.ac.uk/g/babar/dist/releases/12.5.2 srtpath 12.5.2 Linux24 root ******************************************* * * * W E L C O M E to R O O T * * * * Version 4.00/08 9 July 2004 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* FreeType Engine v2.1.3 used to render TrueType fonts. Compiled for linux with thread support. CINT/ROOT C/C++ Interpreter version 5.15.138, May 23 2004 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] .qACE
Reference: /afs/hep.man.ac.uk/g/babar/package/ACE/ACE_wrappers/ACE-INSTALL cd $BFROOT/package mkdir ACE cd ACE tar -zxvf /nfs/work/babar/ACE-5.4+TAO-1.4+CIAO-0.4.tar.gz cd ACE_wrappers/ export ACE_ROOT=/afs/hep.man.ac.uk/g/babar/package/ACE/ACE_wrappers cd $ACE_ROOT/ace cp config-linux.h config.h vi config.h cd $ACE_ROOT/include/makeinclude cp platform_macros-linux.GNU platform_macros.gnu vi platform_macros.GNU export LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib:$LD_LIBRARY_PATH cd $ACE_ROOT make ... g++ -W -Wall -Wpointer-arith -pipe -O3 -g -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/afs/hep.man.ac.uk/g/babar/package/ACE/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I.. -c -fPIC -o .shobj/Kokyu_defs.o Kokyu_defs.cpp g++ -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/afs/hep.man.ac.uk/g/babar/package/ACE/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I.. -shared -Wl,-h -Wl,libKokyu.so.5.4.0 -o libKokyu.so.5.4.0 .shobj/Dispatcher_Impl.o .shobj/Kokyu.o .shobj/Default_Dispatcher_Impl.o .shobj/Dispatcher_Task.o .shobj/Kokyu_defs.o -Wl,-E -L/afs/hep.man.ac.uk/g/babar/package/ACE/ACE_wrappers/ace -L./ -L../ace -lACE -ldl -lpthread -lrt rm -f libKokyu.so ln -s libKokyu.so.5.4.0 libKokyu.so chmod a+rx libKokyu.so.5.4.0 Installing libKokyu.so -> /afs/hep.man.ac.uk/g/babar/package/ACE/ACE_wrappers/ace Installing libKokyu.so.5.4.0 -> /afs/hep.man.ac.uk/g/babar/package/ACE/ACE_wrappers/ace make[3]: Leaving directory `/afs/hep.man.ac.uk/g/babar/package/ACE/ACE_wrappers/Kokyu' make[2]: Leaving directory `/afs/hep.man.ac.uk/g/babar/package/ACE/ACE_wrappers/Kokyu' make[1]: Leaving directory `/afs/hep.man.ac.uk/g/babar/package/ACE/ACE_wrappers'
|
|
|
Feedback to: jamwer@hep.man.ac.uk |