Source instalation problem

Hi,

I have problems installing root from source tree. I followed all the steps from root/README/INSTALL file
1.) I setted up the ROOTSYS variable to my $HOME/root
2.) cd $HOME/root
3.) ./configure linux --prefix=$HOME/root --etcdir=$HOME/root
4.) gmake
then i set up the PATH and LD_LIBRARY_PATH
I have to mention that i don’t have super user privileges on the computer, and the system am using is RHEL with gcc 3.4.6.
After compiling, when i’m trying to run root i get this:

rootx xpm error: XpmOpenFailed
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   5.15/06     24 April 2007   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

Compiled on 9 May 2007 for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.16.19, March 16, 2007
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 ***
root [0] 
 However, if i use a precompiled version there are no problems. I now it must be something simple, but i don't get it now :slight_smile:

       Cheers,
             Ionut

Please build without the --prefix and --etcdir. Just do:

./configure
make

Cheers, Fons.

1 Like