Root 5.25/02 on Kubuntu 9.10

Dear all,

I tried to install from source root on Kubuntu 9.10 using gcc 4.4.1 and I get the following problem when I tried to start it:

  No protocol Specified
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   5.25/02 29 September 2009   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

ROOT 5.25/02 (trunk@30530, Sep 29 2009, 15:28:19 on linux)

CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TCanvas
Error: Symbol TCanvas is not defined in current scope  (tmpfile):1:
Error in <TCint::AutoLoadCallback>: failure loading dependent library libHist.so for class TCanvas
Error in <TCint::AutoLoadCallback>: failure loading dependent library libGraf.so for class TCanvas
Error in <TCint::AutoLoadCallback>: failure loading library libGpad.so for class TCanvas
*** Interpreter error recovered ***
*** Interpreter error recovered ***
root [1]

I compiled with:

export ROOTSYS=/usr/share/root
./configure --enable-qt
make 
make install
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH

I didn’t get any problem during the building process.
Is that correlated to http://root.cern.ch/phpBB2/viewtopic.php?t=9390?
Thank you very much.
Cheers.

Hi,

your installation is broken: either configure with --prefix or don’t run make install. I would put the sources of ROOT to /usr/share/root and simply run ./configure --enable-qt ; make -j4. Before doing that you have to clean your current installation, for that run “make distclean”.

Cheers, Axel.

Oh, yes, sorry Axel.
Now it works, thank you.
Cheers.