Problems installing root

Hi,

I’m having problems installing root. I do:

ngbusca@apcpaob root.5.14 ]$ ./configure --prefix=pwd --etcdir=pwd

then

ngbusca@apcpaob root.5.14 ]$ make

and finally

ngbusca@apcpaob root.5.14 ]$ make install

Both make and make install finish without error messages. But whn I try to run root, I get:

ngbusca@apcpaob root.5.14 ]$ root -b
Error in TCint::LoadLibraryMap: library map empty, no system.rootmap file
found. ROOT not properly installed (run “make install”).


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.14/00g 9 July 2007 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

Compiled on 2 June 2008 for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.16.16, November 24, 2006
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 “vector” (tmpfile):2:
*** Interpreter error recovered ***
Error: cannot open file “pair” (tmpfile):2:
*** Interpreter error recovered ***
Error: cannot open file “RtypesCint.h” (tmpfile):2:
*** Interpreter error recovered ***
root [0] .q

The root version I’m trying to install is 5.14 and here’s the output of uname:

ngbusca@apcpaob root.5.14 ]$ uname -a
Linux apcpaob.in2p3.fr 2.6.9-34.ELsmp #1 SMP Tue Mar 14 10:51:18 CST 2006 i686 i686 i386 GNU/Linux
ngbusca@apcpaob root.5.14 ]$

Any ideas about what can be going on?

Thanks!

Nicolas

Please just configure using:

./configure

without --prefix as it is only needed if you install in a fixed (system) location. Just set ROOTSYS and LD_LIBRARY_PATH.

Cheers, Fons.

indeed, the installation by setting ROOTSYS worked. I wonder why it wouldn’t work by setting --prefix instead…