Error after install of 5.17/08

As far as I can tell I’ve followed the source install instructions to a “T”.

  1. this is from a fresh untar of 5.17/08 source

  2. ROOTSYS SET:
    $ export | grep ROOTSYS
    declare -x ROOTSYS="/opt/root"

  3. configure
    $ more config.status
    linuxx8664gcc --enable-roofit --prefix=/opt/root/ --disable-mathmore

(I disabled mathmore because of a compile error)

  1. make

  2. ran make install (although I think it’s unnecessary for this installation type)

  3. set envvars:
    jmorris@faye:/opt/root$ export | grep PATH
    declare -x LD_LIBRARY_PATH="/opt/root/lib:“
    declare -x PATH=”/opt/root/bin:…"

  4. when I run root:

$ root
rootx xpm error: XpmOpenFailed


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.17/08 13 December 2007 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

ROOT 5.17/08 (trunk@21355, Jan 10 2008, 20:20:00 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.16.27, Oct 25, 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] .q

What’s going on??

Which set of instruction are you following, this looks like a mix of --prefix and non --prefix instruction. In the --prefix installation you do not need to set ROOTSYS and the location of the installed library is actually (in your example) /opt/root/lib/root AND the gmake install is required!

My guess is that you have the source in /opt/root and with --prefix you should not have the prefix point to where the source is.

Cheers,
Philippe.

Hey Philippe,

You’re right. I must of confused the two install methods and I tried it again without --prefix and it worked fine.

Thanks!