Hi all!
I downloaded ROOT 5.26/00 complete source tree.
Created root.spec by command make redhat. My OS - Scientific Linux SL release 5.3 (Boron)
My spec file’s attached.
After rpmbuild -ba root.spec I got two files:
libroot-static-5.26.00-1.x86_64.rpm
root-system-5.26.00-1.x86_64.rpm
Then I installed it
# rpm -ivh libroot-static-5.26.00-1.x86_64.rpm
Preparing... ########################################### [100%]
1:libroot-static ########################################### [100%]
# rpm -ivh root-system-5.26.00-1.x86_64.rpm
error: Failed dependencies:
root-ttf is needed by root-system-5.26.00-1.x86_64
# rpm -ivh --nodeps root-system-5.26.00-1.x86_64.rpm
Preparing... ########################################### [100%]
1:root-system ########################################### [100%]
# rpm -qa |grep root
libroot-static-5.26.00-1
root-system-5.26.00-1
All installation process execute in directory /opt/root
After instalation I have not command root
I can only execute /opt/root/bin/roota
/opt/root/bin/roota
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 5.26/00 14 December 2009 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
ROOT 5.26/00 (trunk@31878, Jan 20 2010, 15:25:00 on linuxx8664gcc)
CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
Error: cannot open file "iostream" (tmpfile):2:
*** Interpreter error recovered ***
Error: cannot open file "_string" (tmpfile):2:
*** Interpreter error recovered ***
Error: cannot open file "RtypesCint.h" (tmpfile):2:
*** Interpreter error recovered ***
Error: cannot open file "DllImport.h" (tmpfile):2:
*** Interpreter error recovered ***
root [0]
But it works incorrectly.
And I can not find config files for root.
Can somebody helps me?