본문 바로가기

OS X and MacBook

Installation of ROOT on Mac OS X

나의 ROOT 설치 및 설정 과정

우선 사용자 계정 설정에서 로그인 옵션(안에 있는 디렉로리 유틸리티 사용)을 고쳐서 root 권한을 획득한다.
모든 설치 작업은 root 계정을 활용해서 진행한다.

소스 디렉토리 : /usr/src/root
설치 디렉토리 : /usr

$ export ROOTSYS=/usr
$ ./configure --prefix=/usr
$ make; make install
$ export PATH=$ROOTSYS/bin:$PATH
$ export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH

프로그램이 설치된 폴더 일람 :
Installing binaries in /usr/bin
Installing libraries in /usr/lib/root
Installing headers in /usr/include/root
Installing /usr/src/root/main/src/rmain.cxx in /usr/include/root
Installing cint/cint/include cint/cint/lib and cint/cint/stl in /usr/lib/root/cint
Installing icons in /usr/share/root/icons
Installing fonts in /usr/share/root/fonts
Installing misc docs in /usr/share/doc/root
Installing tutorials in /usr/share/doc/root/tutorials
Installing tests in /usr/share/doc/root/test
Installing macros in /usr/share/root/macros
Installing man(1) pages in /usr/share/man/man1
Installing config files in /etc/root
Installing Autoconf macro in /usr/share/aclocal
Installing Emacs Lisp library in /usr/share/emacs/site-lisp
Installing GDML conversion scripts in /usr/lib/root