-------------
 On fujiimac
-------------

Rawhide Installation

	glibc	: glibc-2.1.1-6cm (with previous erf, j0, and j1 in libm)
	egcs	: egcs-1.1.2-12c
	binutils: binutils-2.9.1.0.990418-1c
	XFree86	: XFree86-3.3.3.1-49a
	lesstif	: lesstif-current-1999.01.28-1


[0] Preparation

# cd /
# rm cern
# ln -s /home/cernlib cern
# cd /cern
# for i in `ls <somewhere>/src_*.tar.gz`; do tar -zxvf $i; done
# ln -s 99 new
# ln -s 99 pro 
# mkdir -p 99/work
# chown fujiik:jlc 99/work
# chown fujiik:jlc 99
# vi 99/src/config/linux-pmac.cf
.....
	-O2 --> -O2 -fPIC
.....
# vi $CVSCOSRC/mclibs/photos/Imakefile
....
install.include:
....


[1] Build

$ cd /cern/99/work
$ mkdir logs
$ export CVSCOSRC=/cern/99/src
$ $CVSCOSRC/config/imake_boot
$ make tree HAVE_MOTIF='YES' >& logs/tree.log &
$ tail -f logs/tree.log					99/06/22 02:09-02:14
^C

$ cd packlib/kuip/programs/kuipc
$ make
$ make install.bin
$ cd /cern/99/work
$ cp $CVSCOSRC/scripts/cernlib ../bin

$ make HAVE_MOTIF='YES' >& logs/make.log &		99/06/22 02:15-04:20
$ tail -f logs/make.log

$ cd packlib
$ make install.bin HAVE_MOTIF='YES' >& ../logs/packlib.bin.log & 
$ tail -f ../logs/packlib.bin.log			99/06/22 07:42-07:45

$ cd ../pawlib
$ make install.bin HAVE_MOTIF='YES' >& ../logs/pawlib.bin.log &  
$ tail -f ../logs/pawlib.bin.log			99/06/22 07:46-07:47

$ cd ../graflib
$ make install.bin HAVE_MOTIF='YES' >& ../logs/graflib.bin.log & 
$ tail -f ../logs/graflib.bin.log			99/06/22 07:47-07:47

$ cd ../scripts
$ make install.bin HAVE_MOTIF='YES' >& ../logs/scripts.bin.log & 
$ tail -f ../logs/scripts.bin.log			99/06/22 07:48-07:48

$ cd ..
$ make install.include CERN_INCLUDEDIR=/cern/new/include \
			>& logs/install.include.log & 	99/06/22 07:48-07:50
$ tail -f logs/install.include.log

$ su
# rpm -ivh /usr/local/src/patchy/pathcy*-4.15-2a.ppc.rpm
# exit
$ cd patchy
$ make install.bin HAVE_MOTIF='YES' >& ../logs/patchy.bin.log & 
$ tail -f ../logs/patchy.bin.log			99/06/22 07:55-07:57
$ su
# rpm -e patchy-symlinks
# rpm -e patchy
# exit


[2] Tests

$ ../cd packlib
$ make test >& ../logs/packlib.test.log &		99/06/22 08:00-08:04
$ tail -f ../logs/packlib.test.log

	ALL TESTS PASSED!

$ cd ../mathlib
$ make test >& ../logs/mathlib.test.log &		99/06/22 08:19-08:21
$ 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 &		99/06/22 08:33-08:37
$ tail -f ../logs/mclibs.test.log

	ALL TESTS PASSED!
        but remember you remove lepto63 from testlibdir.

$ cd ../phtools
$ make test >& ../logs/phtools.test.log &		99/06/22 08:43-08:43
$ tail -f ../logs/phtools.test.log

	ALL TESTS PASSED!

$ cd ../geant321
$ make test >& ../logs/geant321.test.log &		99/06/22 09:55-10:13
$ tail -f ../logs/geant321.test.log

	ALL TESTS PASSED!


[3] Aftermath

# cd /home/cernlib
# chown -R root:root *
# mkdir 99/tgz
# tar -zcvf 99/tgz/cernlib99-bin.tar.gz 99/bin
# tar -zcvf 99/tgz/cernlib99-lib.tar.gz 99/lib
# tar -zcvf 99/tgz/cernlib99-include.tar.gz 99/include
# tar -zcvf 99/tgz/cernlib99-share.tar.gz 99/share
