2000/09/07 Rebuilding CERNLIB2000 with binutils-2.10.0.9-0a ------------- On fujiimac ------------- Rawhide Installation make : make-3.78.1-1a glibc : glibc-2.1.3-15e gcc : gcc-2.95.3-2cm binutils: binutils-2.10.0.9-0a XFree86 : XFree86-3.3.6-8a Motif : openmotif-2.1.30-3_MLI_jdk [0] Preparation # cd / # rm cern # ln -s /home/cernlib cern # cd /cern # for i in `ls /src_*.tar.gz`; do tar -zxvf $i; done # ln -s 2000 new # ln -s 2000 pro # mkdir -p 2000/work # chown fujiik:jlc 2000/work # chown fujiik:jlc 2000 # cd src # patch -p1 -s < /config_pic.patch # patch -p1 -s < /mclibs_lepto63.patch # patch -p1 -s < /mclibs_photos.patch # patch -p1 -s < /packlib_tcpaw.patch # patch -p1 -s < /mclibs_cojets.patch # patch -p1 -s < /mclibs_isajet.patch The last two patches were necessary to avoid name collisions between some functions and some commons. /FINT/ ---> /CJFINT/ /FRAME/ ---> /IJFRAME/ [1] Build $ mkdir logs bin $ cd /cern/2000/work $ export CVSCOSRC=/cern/2000/src $ cp $CVSCOSRC/scripts/cernlib ../bin $ $CVSCOSRC/config/imake_boot $ make tree HAVE_MOTIF='YES' >& ../logs/tree.log & $ tail -f ../logs/tree.log ^C $ cd packlib/kuip/programs/kuipc $ make $ make install.bin $ cd /cern/2000/work $ make HAVE_MOTIF='YES' >& ../logs/make.log & $ tail -f ../logs/make.log $ cd packlib $ make install.bin HAVE_MOTIF='YES' >& ../../logs/packlib.bin.log & $ tail -f ../../logs/packlib.bin.log $ cd ../pawlib $ make install.bin HAVE_MOTIF='YES' >& ../../logs/pawlib.bin.log & $ tail -f ../../logs/pawlib.bin.log $ cd ../graflib $ make install.bin HAVE_MOTIF='YES' >& ../../logs/graflib.bin.log & $ tail -f ../../logs/graflib.bin.log $ cd ../scripts $ make install.bin HAVE_MOTIF='YES' >& ../../logs/scripts.bin.log & $ tail -f ../../logs/scripts.bin.log $ cd .. $ make install.include CERN_INCLUDEDIR=/cern/new/include \ >& ../logs/install.include.log & $ tail -f ../logs/install.include.log $ su # rpm -ivh /usr/local/src/patchy/patchy*-4.15-2a.ppc.rpm # exit $ cd patchy $ make install.bin HAVE_MOTIF='YES' >& ../../logs/patchy.bin.log & $ tail -f ../../logs/patchy.bin.log $ su # rpm -e patchy-symlinks # rpm -e patchy # exit [2] Tests $ cd ../packlib $ make test >& ../../logs/packlib.test.log & $ tail -f ../../logs/packlib.test.log ALL TESTS PASSED! $ cd ../mathlib $ make test >& ../../logs/mathlib.test.log & $ tail -f ../../logs/mathlib.test.log ALL TESTS PASSED! $ cd ../graflib/higz/examples $ make higzex $ ./higzex OK! $ cd ../../../../src/pawlib/paw/demo $ paw all.kumac ... go ... OK! $ cd ../../../../work/mclibs $ make test >& ../../logs/mclibs.test.log & $ tail -f ../../logs/mclibs.test.log ALL TESTS PASSED! $ cd ../phtools $ make test >& ../../logs/phtools.test.log & $ tail -f ../../logs/phtools.test.log ALL TESTS PASSED! $ cd ../geant321 $ make test >& ../../logs/geant321.test.log & $ tail -f ../../logs/geant321.test.log ALL TESTS PASSED! [3] Aftermath # cd /home/cernlib # chown -R root:root * # mkdir 2000/tgz # tar -zcvf 2000/tgz/cernlib2000-omotif-bin.tar.gz 2000/bin # tar -zcvf 2000/tgz/cernlib2000-omotif-lib.tar.gz 2000/lib # tar -zcvf 2000/tgz/cernlib2000-omotif-include.tar.gz 2000/include # tar -zcvf 2000/tgz/cernlib2000-omotif-share.tar.gz 2000/share