[1] Compilation Conditions
MacOS X Release 10.0.04[2] Compilation Procedure
standard Mach Kernel (Darwin 1.3.3) w/o SysV semaphore patch
gcc-with-g77-926.3-1a
libdl.dylib: dlcompat-20010123-1a by Christoph Pfisterer
XFree86 4.1.0
freetype-*1.3.1-2a
If you want to use the current CVS tree, do
$ export CVSROOT=:pserver:cvs@root.cern.ch:/user/cvs
$ cvs login
(Logging in to cvs@root.cern.ch)
CVS password: cvs
$ cvs -z3 checkout root
or if you just want to use the production version, do
$ tar -zxvf ../orig/root_v3.01.05.source.tar.gz
then follow the steps below:
$ tar -zxvf ../orig/ttf_1.1.tar.gz
$ su
# mv ttf/fonts /usr/share/fonts/ttf
# pushd /cern/pro/lib
# ln -s libpythia6134.a libPythia.a
# exit
$ cd root
$ export ROOTSYS=`pwd`
$ export DYLD_LIBRARY_PATH=$ROOTSYS/lib
$ export PATH=$ROOTSYS/bin:$PATH
$ patch -p1 -s < <somewhere>/root_v3.01.06-macosx-test.patch
$ patch -p1 -s < <somewhere>/root_v3.01.06-tetris.patch
$ patch -p1 -s < <somewhere>/root_v3.01.04-macosx-aclock.patch
$ ./configure macosx
$ make
According to the directory change for ttf fonts, edit ~/.rootrc as:
#Unix.*.Root.TTFontPath: $(ROOTSYS)/ttf/fonts
Unix.*.Root.TTFontPath: /usr/share/fonts/ttf
A prebuilt binary package of root_v3.01.05 is available
from here.